_CLEAR_PED_TEXTURE
Removes every texture layer Old Name: _RESET_PED_TEXTURE_2
Hash
0xB63B9178D0F58D82Runtime name
ClearPedTextureNamespacePED
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _CLEAR_PED_TEXTURE(int textureId);Parameters
| Name | Type | Description |
|---|---|---|
textureId | int | — |
Returns void
Description
Removes every texture layer
Old Name: _RESET_PED_TEXTURE_2
Usage
ClearPedTexture(textureId)
-- always works, by hash
Citizen.InvokeNative(0xB63B9178D0F58D82, textureId)JavaScript and C#
ClearPedTexture(textureId);
// by hash
Citizen.invokeNative('0xB63B9178D0F58D82', textureId);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
InvokeNativewith the hash — it always works.
See also
_UPDATE_PED_TEXTUREShould be called at least once for any new texture override._RESET_PED_TEXTURERemoves every texture layer but the base layer Clearing texture's data: setting params to default values, but keep overlays.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.