# PED::_UPDATE_PED_TEXTURE

- **Hash:** `0x92DAABA2C1C10B0E`
- **Namespace:** PED
- **Runtime name (Lua/JS):** `UpdatePedTexture`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/PED/_UPDATE_PED_TEXTURE

## Signature

```c
void _UPDATE_PED_TEXTURE(int textureId);
```

## Parameters

- `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

### Lua

```lua
UpdatePedTexture(textureId)

-- always available, by hash
Citizen.InvokeNative(0x92DAABA2C1C10B0E, textureId)
```

### JavaScript

```js
UpdatePedTexture(textureId);

// by hash
Citizen.invokeNative('0x92DAABA2C1C10B0E', textureId);
```

### C#

```csharp
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 `InvokeNative` with the hash — it always works.

## See also

- [PED::_RESET_PED_TEXTURE](https://natives.borderlinerp.com/natives/PED/_RESET_PED_TEXTURE.md) — Removes every texture layer but the base layer Clearing texture's data: setting params to default values, but keep overlays.
- [PED::_CLEAR_PED_TEXTURE](https://natives.borderlinerp.com/natives/PED/_CLEAR_PED_TEXTURE.md) — Removes every texture layer Old Name: _RESET_PED_TEXTURE_2

*Sources: alloc8or RDR3 NativeDB.*
