PedClient

takeOwnershipOfSynchronizedScene

TAKE_OWNERSHIP_OF_SYNCHRONIZED_SCENE0xCD9CC7E200A52A6F

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

SignatureJavaScript
takeOwnershipOfSynchronizedScene(scene: number): void
SignatureLua
takeOwnershipOfSynchronizedScene(scene: integer)

Usage

JavaScript
takeOwnershipOfSynchronizedScene(scene);
Lua
takeOwnershipOfSynchronizedScene(scene)

Parameters

ParameterTypeJavaScriptLua
sceneintnumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Ped PED
In the game
void TAKE_OWNERSHIP_OF_SYNCHRONIZED_SCENE(int scene)
Hash
0xCD9CC7E200A52A6F
Formerly
_DISPOSE_SYNCHRONIZED_SCENE

Open in the interactive natives reference