PedClient

setSynchronizedScenePhase

SET_SYNCHRONIZED_SCENE_PHASE0x734292F4F0ABF6D0

The GTA V native SET_SYNCHRONIZED_SCENE_PHASE of the PED namespace, as LS:MP client scripts call it: the global function setSynchronizedScenePhase, in JavaScript and in Lua.

SignatureJavaScript
setSynchronizedScenePhase(sceneID: number, phase: number): void
SignatureLua
setSynchronizedScenePhase(sceneID: integer, phase: number)

Usage

JavaScript
setSynchronizedScenePhase(sceneID, phase);
Lua
setSynchronizedScenePhase(sceneID, phase)

Parameters

ParameterTypeJavaScriptLua
sceneIDintnumberinteger
phasefloatnumbernumber

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Ped PED
In the game
void SET_SYNCHRONIZED_SCENE_PHASE(int sceneID, float phase)
Hash
0x734292F4F0ABF6D0

Open in the interactive natives reference