GetElementSyncer: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
__NOTOC__
__NOTOC__
{{Server function}}
{{Server function}}
This function gets the syncer of an element.
This function gets the syncer of an element. The syncer is the player who is in control of the element.  


==Syntax==
==Syntax==
Line 9: Line 9:


===Required Arguments===
===Required Arguments===
* '''theElement''': The [[element]] to check.
* '''theElement''': The [[element]] to get the syncer of.
 


===Returns===
===Returns===
Returns the [[element]] that is the syncer of ''theElement'' or ''false'' if no syncer is found.
Returns the [[element]] that is the syncer of ''theElement'' or ''false'' if the element is not being synced.


==Example==
==Example==
Line 21: Line 20:
</syntaxhighlight>
</syntaxhighlight>
</section>
</section>


==See Also==
==See Also==
{{Client element functions}}
{{Client element functions}}
[[Category:Needs Example]]
[[Category:Needs Example]]

Revision as of 14:46, 5 March 2009

This function gets the syncer of an element. The syncer is the player who is in control of the element.

Syntax

element getElementSyncer ( element theElement )

Required Arguments

  • theElement: The element to get the syncer of.

Returns

Returns the element that is the syncer of theElement or false if the element is not being synced.

Example

Click to collapse [-]
Server
-- TODO

See Also