ui3dscenePushPreset
UI3DSCENE_PUSH_PRESET0xF1CEA8A4198D8E9AThe GTA V native UI3DSCENE_PUSH_PRESET of the GRAPHICS namespace, as LS:MP client scripts call it: the global function ui3dscenePushPreset, in JavaScript and in Lua.
ui3dscenePushPreset(presetName: string): booleanui3dscenePushPreset(presetName: string): booleanUsage
JavaScript
const result = ui3dscenePushPreset(presetName);Lua
local result = ui3dscenePushPreset(presetName)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
presetName | string | string | string |
Returns
BOOL JavaScript boolean, Lua booleanNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
All presets can be found in common\data\ui\uiscenes.meta
Reference
- Namespace
- Graphics GRAPHICS
- In the game
BOOL UI3DSCENE_PUSH_PRESET(const char* presetName)- Hash
0xF1CEA8A4198D8E9A