The Lab
PED native

_SET_TEXTURE_LAYER_PALLETE

returns void3 paramsbuild 1207

Sets the color palette paletteHash of the layer layerId in textureId. The misspelling is part of the name.

Signature

C
void _SET_TEXTURE_LAYER_PALLETE(int textureId, int layerId, Hash paletteHash); // 0x1ED8588524AC9BE1 b1207

Parameters

#NameType
1textureIdint
2layerIdint
3paletteHashHash

Facts

Facts about _SET_TEXTURE_LAYER_PALLETE
Name
_SET_TEXTURE_LAYER_PALLETE
Hash
0x1ED8588524AC9BE1
Namespace
Returns
void
Game build
1207

Examples

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

Lua
Citizen.InvokeNative(0x1ED8588524AC9BE1, -- _SET_TEXTURE_LAYER_PALLETE
  0, -- int textureId
  0, -- int layerId
  GetHashKey("name") -- Hash paletteHash
)
JavaScript
Citizen.invokeNative("0x1ED8588524AC9BE1", // _SET_TEXTURE_LAYER_PALLETE
  0, // int textureId
  0, // int layerId
  GetHashKey("name") // Hash paletteHash
);
C#
Function.Call((Hash)0x1ED8588524AC9BE1, // _SET_TEXTURE_LAYER_PALLETE
  0, // int textureId
  0, // int layerId
  (uint)API.GetHashKey("name") // Hash paletteHash
);
All PED natives

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