The Lab
PED native

_APPLY_TEXTURE_ON_PED

returns void3 paramsbuild 1207

Applies the custom texture textureId to the component componentHash on ped.

Signature

C
void _APPLY_TEXTURE_ON_PED(Ped ped, Hash componentHash, int textureId); // 0x0B46E25761519058 b1207

Parameters

#NameType
1pedPed
2componentHashHash
3textureIdint

Facts

Facts about _APPLY_TEXTURE_ON_PED
Name
_APPLY_TEXTURE_ON_PED
Hash
0x0B46E25761519058
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(0x0B46E25761519058, -- _APPLY_TEXTURE_ON_PED
  PlayerPedId(), -- Ped ped
  GetHashKey("name"), -- Hash componentHash
  0 -- int textureId
)
JavaScript
Citizen.invokeNative("0x0B46E25761519058", // _APPLY_TEXTURE_ON_PED
  PlayerPedId(), // Ped ped
  GetHashKey("name"), // Hash componentHash
  0 // int textureId
);
C#
Function.Call((Hash)0x0B46E25761519058, // _APPLY_TEXTURE_ON_PED
  API.PlayerPedId(), // Ped ped
  (uint)API.GetHashKey("name"), // Hash componentHash
  0 // int textureId
);
All PED natives

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