element.isSyncer: Difference between revisions
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ | {{ScriptItem2 | ||
| | |name = isSyncer | ||
|side = client | |||
|type = property | |type = property | ||
|class = Element | |class = Element | ||
| | |games = iii vc sa iv | ||
|desc = check whether the local client is syncing this element. Synchronizing an element controls synchronization of the element, whilst owning an element controls existence of the element | |||
|return = bool a boolean representing whether or not the client is the syncer for the element | |||
|note = This cannot be changed client-side. To change the syncer, use [[element.setSyncer|element.setSyncer]] on a server script. | |||
|readonly = true | |readonly = true | ||
}} | }} |
Latest revision as of 20:37, 19 November 2022
Property
Client Only
Online and Offline
Read-Only
bool element.isSyncer
Value
bool | A boolean representing whether or not the client is the syncer for the element. |
readonly | This property cannot be changed. |
Types
Shared
BlipShared
BuildingShared
ElementShared
EntityShared
MarkerShared
ObjectShared
PedShared
PhysicalShared
PlayerShared
Vehicle
Notes
- This cannot be changed client-side. To change the syncer, use element.setSyncer on a server script.
Examples
There aren't any examples for this property.
Compatibility
There isn't any compatibility information for this property.
Related
Client Related
destroyElement
getElementCount
getElementFromId
getElementFromName
getElements
getElementsByType
element.children
element.clearExistsFor
element.dimension
element.existsFor
element.getData
element.getRotation
element.id
element.isCreatedFor
element.isLocal
element.isOwner
element.isSyncer
element.isType
element.name
element.netFlags
element.parent
element.position
element.removeAllData
element.removeData
element.resource
element.rotation
element.setData
element.setExistsFor
element.setRotation
element.setSyncer
element.streamInDistance
element.streamOutDistance
element.syncer
element.syncerId
element.type