element.setSyncer

From GTA Connected
Jump to navigation Jump to search

Method Server Only All Games Online and Offline

Server 1.0.0

void element.setSyncer(int clientId, [ bool forced = false ])

Description

The element.setSyncer method is used to set the syncer client for the element.

Parameters

Type Name Presence Default Value Description
int clientId required n/a The client ID to set as the syncer for the element.
bool forced optional false Whether to override an existing internally-chosen syncer.

Returns

Success Returns

Type Description
void This method doesn't return any values on success.

Failure Returns

Type Value
void n/a

Types

This method can be used on types: Blip Building Civilian Element Entity Marker Object Ped Physical Player Transformable Vehicle.

Notes

There aren't any notes for this method.

Examples

There aren't any examples for this method.

Compatibility

There isn't any compatibility information for this method.

Related

Server Related

createElement
destroyElement
getElementFromId
getElementFromName
getElementsByType

element.children
element.dimension
element.getData
element.id
element.isType
element.name
element.onAllDimensions
element.parent
element.removeAllData
element.removeData
element.resource
element.setData
element.setSyncer
element.syncer
element.type