IsElementSyncer: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
__NOTOC__
__NOTOC__
{{Client function}}
{{Client function}}
This function checks whether an [[element]] is a syncer or not. Accepted elements are [[ped]]'s and [[vehicle]]'s.
This function checks whether an [[element]] is synced by the local player or not. Accepted elements are [[ped]]'s and [[vehicle]]'s.


==Syntax==
==Syntax==
Line 12: Line 12:


===Returns===
===Returns===
Returns ''true'' if the passed element is a syncer, ''false'' otherwise.
Returns ''true'' if the passed element is synced by the local player, ''false'' otherwise.


==Example==
==Example==

Revision as of 22:17, 1 September 2009

This function checks whether an element is synced by the local player or not. Accepted elements are ped's and vehicle's.

Syntax

bool isElementSyncer ( element theElement )

Required Arguments

Returns

Returns true if the passed element is synced by the local player, false otherwise.

Example

Click to collapse [-]
Client
-- TODO

See Also