GraphicsClient

ui3dsceneMakePushedPresetPersistent

UI3DSCENE_MAKE_PUSHED_PRESET_PERSISTENT0x108BE26959A9D9BB

The GTA V native UI3DSCENE_MAKE_PUSHED_PRESET_PERSISTENT of the GRAPHICS namespace, as LS:MP client scripts call it: the global function ui3dsceneMakePushedPresetPersistent, in JavaScript and in Lua.

SignatureJavaScript
ui3dsceneMakePushedPresetPersistent(toggle: boolean): void
SignatureLua
ui3dsceneMakePushedPresetPersistent(toggle: boolean)

Usage

JavaScript
ui3dsceneMakePushedPresetPersistent(toggle);
Lua
ui3dsceneMakePushedPresetPersistent(toggle)

Parameters

ParameterTypeJavaScriptLua
toggleBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Graphics GRAPHICS
In the game
void UI3DSCENE_MAKE_PUSHED_PRESET_PERSISTENT(BOOL toggle)
Hash
0x108BE26959A9D9BB

Open in the interactive natives reference