RedM Natives

SET_SCRIPT_GFX_DRAW_BEHIND_PAUSEMENU

Sets a flag defining whether or not script draw commands should continue being drawn behind the pause menu.

Hash0x906B86E6D7896B9E
Runtime nameSetScriptGfxDrawBehindPausemenu
NamespaceGRAPHICS
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xC6372ECD45D73BCD

Signature

void SET_SCRIPT_GFX_DRAW_BEHIND_PAUSEMENU(BOOL toggle);

Parameters

NameTypeDescription
toggleBOOL—

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

Lua
SetScriptGfxDrawBehindPausemenu(toggle)

-- always works, by hash
Citizen.InvokeNative(0x906B86E6D7896B9E, toggle)
JavaScript and C#
JavaScript
SetScriptGfxDrawBehindPausemenu(toggle);

// by hash
Citizen.invokeNative('0x906B86E6D7896B9E', toggle);
C#
Function.Call((Hash)0x906B86E6D7896B9E, toggle);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.