isSynchronizedSceneRunning
IS_SYNCHRONIZED_SCENE_RUNNING0x25D39B935A038A26The GTA V native IS_SYNCHRONIZED_SCENE_RUNNING of the PED namespace, as LS:MP client scripts call it: the global function isSynchronizedSceneRunning, in JavaScript and in Lua.
isSynchronizedSceneRunning(sceneId: number): booleanisSynchronizedSceneRunning(sceneId: integer): booleanUsage
JavaScript
const result = isSynchronizedSceneRunning(sceneId);Lua
local result = isSynchronizedSceneRunning(sceneId)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
sceneId | int | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Returns true if a synchronized scene is running
Reference
- Namespace
- Ped PED
- In the game
BOOL IS_SYNCHRONIZED_SCENE_RUNNING(int sceneId)- Hash
0x25D39B935A038A26