RedM Natives

SET_SCRIPT_GFX_DRAW_ORDER

Sets the draw order for script draw commands.

Hash0xCFCC78391C8B3814
Runtime nameSetScriptGfxDrawOrder
NamespaceGRAPHICS
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x61BB1D9B3A95D802

Signature

void SET_SCRIPT_GFX_DRAW_ORDER(int drawOrder);

Parameters

NameTypeDescription
drawOrderint—

Returns void

Description

Sets the draw order for script draw commands.

Usage

Lua
SetScriptGfxDrawOrder(drawOrder)

-- always works, by hash
Citizen.InvokeNative(0xCFCC78391C8B3814, drawOrder)
JavaScript and C#
JavaScript
SetScriptGfxDrawOrder(drawOrder);

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

Sources

alloc8or RDR3 NativeDB

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