RedM Natives

_APPLY_TEXTURE_ON_PED

Hash0x0B46E25761519058
Runtime nameApplyTextureOnPed
NamespacePED
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _APPLY_TEXTURE_ON_PED(Ped ped, Hash componentHash, int textureId);

Parameters

NameTypeDescription
pedPed—
componentHashHash—
textureIdint—

Returns void

Usage

Lua
ApplyTextureOnPed(ped, componentHash, textureId)

-- always works, by hash
Citizen.InvokeNative(0x0B46E25761519058, ped, componentHash, textureId)
JavaScript and C#
JavaScript
ApplyTextureOnPed(ped, componentHash, textureId);

// by hash
Citizen.invokeNative('0x0B46E25761519058', ped, componentHash, textureId);
C#
Function.Call((Hash)0x0B46E25761519058, ped, componentHash, textureId);
  • Hash parameters: the named function also accepts a string and hashes it for you; Citizen.InvokeNative needs the number — pass joaat("name") or a backtick literal like `name`.
  • 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.