RedM Natives

_CLEAR_PED_TEXTURE

Removes every texture layer Old Name: _RESET_PED_TEXTURE_2

Hash0xB63B9178D0F58D82
Runtime nameClearPedTexture
NamespacePED
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _CLEAR_PED_TEXTURE(int textureId);

Parameters

NameTypeDescription
textureIdint—

Returns void

Description

Removes every texture layer
Old Name: _RESET_PED_TEXTURE_2

Usage

Lua
ClearPedTexture(textureId)

-- always works, by hash
Citizen.InvokeNative(0xB63B9178D0F58D82, textureId)
JavaScript and C#
JavaScript
ClearPedTexture(textureId);

// by hash
Citizen.invokeNative('0xB63B9178D0F58D82', textureId);
C#
Function.Call((Hash)0xB63B9178D0F58D82, textureId);
  • 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.

See also

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.