The Lab
PED native

_SET_TEXTURE_LAYER_TEXTURE_MAP

returns void5 paramsbuild 1207

Replaces the albedo, normal and material maps of the layer layerId in textureId.

Signature

C
void _SET_TEXTURE_LAYER_TEXTURE_MAP(int textureId, int layerId, Hash albedoHash, Hash normalHash, Hash materialHash); // 0x253A63B5BADBC398 b1207

Parameters

#NameType
1textureIdint
2layerIdint
3albedoHashHash
4normalHashHash
5materialHashHash

Facts

Facts about _SET_TEXTURE_LAYER_TEXTURE_MAP
Name
_SET_TEXTURE_LAYER_TEXTURE_MAP
Hash
0x253A63B5BADBC398
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(0x253A63B5BADBC398, -- _SET_TEXTURE_LAYER_TEXTURE_MAP
  0, -- int textureId
  0, -- int layerId
  GetHashKey("name"), -- Hash albedoHash
  GetHashKey("name"), -- Hash normalHash
  GetHashKey("name") -- Hash materialHash
)
JavaScript
Citizen.invokeNative("0x253A63B5BADBC398", // _SET_TEXTURE_LAYER_TEXTURE_MAP
  0, // int textureId
  0, // int layerId
  GetHashKey("name"), // Hash albedoHash
  GetHashKey("name"), // Hash normalHash
  GetHashKey("name") // Hash materialHash
);
C#
Function.Call((Hash)0x253A63B5BADBC398, // _SET_TEXTURE_LAYER_TEXTURE_MAP
  0, // int textureId
  0, // int layerId
  (uint)API.GetHashKey("name"), // Hash albedoHash
  (uint)API.GetHashKey("name"), // Hash normalHash
  (uint)API.GetHashKey("name") // Hash materialHash
);
All PED natives

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