NetworkClient

networkAttachSynchronisedSceneToEntity

NETWORK_ATTACH_SYNCHRONISED_SCENE_TO_ENTITY0x478DCBD2A98B705A

The GTA V native NETWORK_ATTACH_SYNCHRONISED_SCENE_TO_ENTITY of the NETWORK namespace, as LS:MP client scripts call it: the global function networkAttachSynchronisedSceneToEntity, in JavaScript and in Lua.

SignatureJavaScript
networkAttachSynchronisedSceneToEntity(
  netScene: number,
  entity: Entity,
  bone: number
): void
SignatureLua
networkAttachSynchronisedSceneToEntity(
  netScene: integer,
  entity: Entity,
  bone: integer
)

Usage

JavaScript
networkAttachSynchronisedSceneToEntity(netScene, entity, bone);
Lua
networkAttachSynchronisedSceneToEntity(netScene, entity, bone)

Parameters

ParameterTypeJavaScriptLua
netSceneintnumberinteger
entityEntitynumberinteger
boneintnumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Network NETWORK
In the game
void NETWORK_ATTACH_SYNCHRONISED_SCENE_TO_ENTITY(int netScene, Entity entity, int bone)
Hash
0x478DCBD2A98B705A

Open in the interactive natives reference