PedClient

isSynchronizedSceneRunning

IS_SYNCHRONIZED_SCENE_RUNNING0x25D39B935A038A26

The 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.

SignatureJavaScript
isSynchronizedSceneRunning(sceneId: number): boolean
SignatureLua
isSynchronizedSceneRunning(sceneId: integer): boolean

Usage

JavaScript
const result = isSynchronizedSceneRunning(sceneId);
Lua
local result = isSynchronizedSceneRunning(sceneId)

Parameters

ParameterTypeJavaScriptLua
sceneIdintnumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Notes

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

Open in the interactive natives reference