The Lab
GRAPHICS native

_CREATE_SWATCH_TEXTURE_DICT

returns BOOL1 parambuild 1207

Creates a texture dictionary with slots slots for generated clothing swatches, returning true on success.

Signature

C
BOOL _CREATE_SWATCH_TEXTURE_DICT(int slots); // 0x3D084D5568FB4028 b1207

Parameters

#NameType
1slotsint

Facts

Facts about _CREATE_SWATCH_TEXTURE_DICT
Name
_CREATE_SWATCH_TEXTURE_DICT
Hash
0x3D084D5568FB4028
Namespace
Returns
BOOL
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0x3D084D5568FB4028, -- _CREATE_SWATCH_TEXTURE_DICT
  0 -- int slots
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0x3D084D5568FB4028", // _CREATE_SWATCH_TEXTURE_DICT
  0, // int slots
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x3D084D5568FB4028, // _CREATE_SWATCH_TEXTURE_DICT
  0 // int slots
);
All GRAPHICS natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.