NetworkClient

networkAddSynchronisedSceneCamera

NETWORK_ADD_SYNCHRONISED_SCENE_CAMERA0xCF8BD3B0BD6D42D7

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

SignatureJavaScript
networkAddSynchronisedSceneCamera(
  netScene: number,
  animDict: string,
  animName: string
): void
SignatureLua
networkAddSynchronisedSceneCamera(
  netScene: integer,
  animDict: string,
  animName: string
)

Usage

JavaScript
networkAddSynchronisedSceneCamera(netScene, animDict, animName);
Lua
networkAddSynchronisedSceneCamera(netScene, animDict, animName)

Parameters

ParameterTypeJavaScriptLua
netSceneintnumberinteger
animDictstringstringstring
animNamestringstringstring

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Network NETWORK
In the game
void NETWORK_ADD_SYNCHRONISED_SCENE_CAMERA(int netScene, const char* animDict, const char* animName)
Hash
0xCF8BD3B0BD6D42D7

Open in the interactive natives reference