PedClient

detachSynchronizedScene

DETACH_SYNCHRONIZED_SCENE0x6D38F1F04CBB37EA

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

SignatureJavaScript
detachSynchronizedScene(sceneID: number): void
SignatureLua
detachSynchronizedScene(sceneID: integer)

Usage

JavaScript
detachSynchronizedScene(sceneID);
Lua
detachSynchronizedScene(sceneID)

Parameters

ParameterTypeJavaScriptLua
sceneIDintnumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Ped PED
In the game
void DETACH_SYNCHRONIZED_SCENE(int sceneID)
Hash
0x6D38F1F04CBB37EA

Open in the interactive natives reference