RedM Natives

_GENERATE_SWATCH_TEXTURE_DIRECTLY

Hash0x646ED1A1D28487DF
Runtime nameGenerateSwatchTextureDirectly
NamespaceGRAPHICS
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _GENERATE_SWATCH_TEXTURE_DIRECTLY(int slot, Any p1);

Parameters

NameTypeDescription
slotint—
p1Any—

Returns void

Description

Example: https://pastebin.com/tTgpER9A

Usage

Lua
GenerateSwatchTextureDirectly(slot, p1)

-- always works, by hash
Citizen.InvokeNative(0x646ED1A1D28487DF, slot, p1)
JavaScript and C#
JavaScript
GenerateSwatchTextureDirectly(slot, p1);

// by hash
Citizen.invokeNative('0x646ED1A1D28487DF', slot, p1);
C#
Function.Call((Hash)0x646ED1A1D28487DF, slot, p1);
  • 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.

Sources

alloc8or RDR3 NativeDB

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