RedM Natives

_CREATE_SWATCH_TEXTURE_DICT

Hash0x3D084D5568FB4028
Runtime nameCreateSwatchTextureDict
NamespaceGRAPHICS
SideClient
NameCommunity guess
Docs
Since build1207

Signature

BOOL _CREATE_SWATCH_TEXTURE_DICT(int slots);

Parameters

NameTypeDescription
slotsint—

Returns BOOL

Usage

Lua
local retval = CreateSwatchTextureDict(slots)

-- always works, by hash
local retval = Citizen.InvokeNative(0x3D084D5568FB4028, slots, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = CreateSwatchTextureDict(slots);

// by hash
const retval = Citizen.invokeNative('0x3D084D5568FB4028', slots, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x3D084D5568FB4028, slots);
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

See also

Sources

alloc8or RDR3 NativeDB

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