SET_SCRIPT_GFX_DRAW_BEHIND_PAUSEMENU
Sets a flag defining whether or not script draw commands should continue being drawn behind the pause menu.
Hash
0x906B86E6D7896B9ERuntime name
SetScriptGfxDrawBehindPausemenuNamespaceGRAPHICS
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xC6372ECD45D73BCDSignature
void SET_SCRIPT_GFX_DRAW_BEHIND_PAUSEMENU(BOOL toggle);Parameters
| Name | Type | Description |
|---|---|---|
toggle | BOOL | — |
Returns void
Description
Sets a flag defining whether or not script draw commands should continue being drawn behind the pause menu. This is usually used for draw commands that are used with a world render target.
Usage
SetScriptGfxDrawBehindPausemenu(toggle)
-- always works, by hash
Citizen.InvokeNative(0x906B86E6D7896B9E, toggle)JavaScript and C#
SetScriptGfxDrawBehindPausemenu(toggle);
// by hash
Citizen.invokeNative('0x906B86E6D7896B9E', toggle);Function.Call((Hash)0x906B86E6D7896B9E, toggle);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.