element.isSyncer

From GTA Connected
Jump to navigation Jump to search

Property Client Only icon-iii.png icon-vc.png icon-sa.png icon-iv.png Online and Offline Read-Only

Available since Client 1.0.0
bool element.isSyncer
The element.isSyncer property is used to 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.

Usage

The element.isSyncer property is used via OOP, on types:

Shared Blip
Client Building
Client Civilian
Shared Element
Shared Entity
Client Marker
Client Object
Client Ped
Shared Physical
Client Player
Shared Transformable
Shared Vehicle

element Object Userdata type in Lua and Squirrel, or Object type in JS.
isSyncer Property Properties use the dot "." operator in JS, Lua, and Squirrel.

Value

bool A boolean representing whether or not the client is the syncer for the element.
readonly This property cannot be changed.

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

icon-iii.png icon-vc.png icon-sa.png icon-iv.png destroyElement
icon-iii.png icon-vc.png icon-sa.png icon-iv.png getElementFromId
icon-iii.png icon-vc.png icon-sa.png icon-iv.png getElementFromName
icon-iii.png icon-vc.png icon-sa.png icon-iv.png getElementsByType

icon-iii.png icon-vc.png icon-sa.png icon-iv.png element.children
icon-iii.png icon-vc.png icon-sa.png icon-iv.png element.dimension
icon-iii.png icon-vc.png icon-sa.png icon-iv.png element.getData
icon-iii.png icon-vc.png icon-sa.png icon-iv.png element.id
icon-iii.png icon-vc.png icon-sa.png icon-iv.png element.isLocal
icon-iii.png icon-vc.png icon-sa.png icon-iv.png element.isOwner
icon-iii.png icon-vc.png icon-sa.png icon-iv.png element.isSyncer
icon-iii.png icon-vc.png icon-sa.png icon-iv.png element.isType
icon-iii.png icon-vc.png icon-sa.png icon-iv.png element.name
icon-iii.png icon-vc.png icon-sa.png icon-iv.png element.onAllDimensions
icon-iii.png icon-vc.png icon-sa.png icon-iv.png element.owner
icon-iii.png icon-vc.png icon-sa.png icon-iv.png element.parent
icon-iii.png icon-vc.png icon-sa.png icon-iv.png element.removeAllData
icon-iii.png icon-vc.png icon-sa.png icon-iv.png element.removeData
icon-iii.png icon-vc.png icon-sa.png icon-iv.png element.resource
icon-iii.png icon-vc.png icon-sa.png icon-iv.png element.setData
icon-iii.png icon-vc.png icon-sa.png icon-iv.png element.setSyncer
icon-iii.png icon-vc.png icon-sa.png icon-iv.png element.syncer
icon-iii.png icon-vc.png icon-sa.png icon-iv.png element.type