setSynchronizedSceneHoldLastFrame
SET_SYNCHRONIZED_SCENE_HOLD_LAST_FRAME0x394B9CD12435C981The GTA V native SET_SYNCHRONIZED_SCENE_HOLD_LAST_FRAME of the PED namespace, as LS:MP client scripts call it: the global function setSynchronizedSceneHoldLastFrame, in JavaScript and in Lua.
setSynchronizedSceneHoldLastFrame(sceneID: number, toggle: boolean): voidsetSynchronizedSceneHoldLastFrame(sceneID: integer, toggle: boolean)Usage
JavaScript
setSynchronizedSceneHoldLastFrame(sceneID, toggle);Lua
setSynchronizedSceneHoldLastFrame(sceneID, toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
sceneID | int | number | integer |
toggle | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Ped PED
- In the game
void SET_SYNCHRONIZED_SCENE_HOLD_LAST_FRAME(int sceneID, BOOL toggle)- Hash
0x394B9CD12435C981- Formerly
_SET_SYNCHRONIZED_SCENE_OCCLUSION_PORTAL