RedM Natives

_RESET_PED_TEXTURE

Removes every texture layer but the base layer Clearing texture's data: setting params to default values, but keep overlays.

Hash0x8472A1789478F82F
Runtime nameResetPedTexture
NamespacePED
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _RESET_PED_TEXTURE(int textureId);

Parameters

NameTypeDescription
textureIdint—

Returns void

Description

Removes every texture layer but the base layer
Clearing texture's data: setting params to default values, but keep overlays.

Usage

Lua
ResetPedTexture(textureId)

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

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