_UPDATE_PED_TEXTURE
Should be called at least once for any new texture override.
Hash
0x92DAABA2C1C10B0ERuntime name
UpdatePedTextureNamespacePED
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _UPDATE_PED_TEXTURE(int textureId);Parameters
| Name | Type | Description |
|---|---|---|
textureId | int | — |
Returns void
Description
Should be called at least once for any new texture override.
Otherwise component textures will be just black.
Also needs to be called for updating any ped overlays to apply the changes.
Usage
UpdatePedTexture(textureId)
-- always works, by hash
Citizen.InvokeNative(0x92DAABA2C1C10B0E, textureId)JavaScript and C#
UpdatePedTexture(textureId);
// by hash
Citizen.invokeNative('0x92DAABA2C1C10B0E', textureId);Function.Call((Hash)0x92DAABA2C1C10B0E, 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
_RESET_PED_TEXTURERemoves every texture layer but the base layer Clearing texture's data: setting params to default values, but keep overlays._CLEAR_PED_TEXTURERemoves every texture layer Old Name: _RESET_PED_TEXTURE_2
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.