attachSynchronizedSceneToEntity
ATTACH_SYNCHRONIZED_SCENE_TO_ENTITY0x272E4723B56A3B96The GTA V native ATTACH_SYNCHRONIZED_SCENE_TO_ENTITY of the PED namespace, as LS:MP client scripts call it: the global function attachSynchronizedSceneToEntity, in JavaScript and in Lua.
attachSynchronizedSceneToEntity(
sceneID: number,
entity: Entity,
boneIndex: number
): voidattachSynchronizedSceneToEntity(
sceneID: integer,
entity: Entity,
boneIndex: integer
)Usage
JavaScript
attachSynchronizedSceneToEntity(sceneID, entity, boneIndex);Lua
attachSynchronizedSceneToEntity(sceneID, entity, boneIndex)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
sceneID | int | number | integer |
entity | Entity | number | integer |
boneIndex | int | number | integer |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Ped PED
- In the game
void ATTACH_SYNCHRONIZED_SCENE_TO_ENTITY(int sceneID, Entity entity, int boneIndex)- Hash
0x272E4723B56A3B96