setScriptGfxDrawBehindPausemenu
SET_SCRIPT_GFX_DRAW_BEHIND_PAUSEMENU0xC6372ECD45D73BCDThe GTA V native SET_SCRIPT_GFX_DRAW_BEHIND_PAUSEMENU of the GRAPHICS namespace, as LS:MP client scripts call it: the global function setScriptGfxDrawBehindPausemenu, in JavaScript and in Lua.
setScriptGfxDrawBehindPausemenu(toggle: boolean): voidsetScriptGfxDrawBehindPausemenu(toggle: boolean)Usage
JavaScript
setScriptGfxDrawBehindPausemenu(toggle);Lua
setScriptGfxDrawBehindPausemenu(toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
toggle | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Sets a flag defining whether or not script draw commands should continue being drawn behind the pause menu. This is usually used for TV channels and other draw commands that are used with a world render target.
Reference
- Namespace
- Graphics GRAPHICS
- In the game
void SET_SCRIPT_GFX_DRAW_BEHIND_PAUSEMENU(BOOL toggle)- Hash
0xC6372ECD45D73BCD