# PED::GET_META_PED_ASSET_GUIDS

- **Hash:** `0xA9C28516A6DC9D56`
- **Namespace:** PED
- **Runtime name (Lua/JS):** `GetMetaPedAssetGuids`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/PED/GET_META_PED_ASSET_GUIDS

## Signature

```c
BOOL GET_META_PED_ASSET_GUIDS(Ped ped, int index, Hash* drawable, Hash* albedo, Hash* normal, Hash* material);
```

## Parameters

- `ped` (`Ped`)
- `index` (`int`)
- `drawable` (`Hash*`)
- `albedo` (`Hash*`)
- `normal` (`Hash*`)
- `material` (`Hash*`)

## Returns

`BOOL`

## Description

This is a way to get what drawables a ped has equipped
Example: you are able to tell if the ped has the drawable PLAYER_ZERO_HAT_017 attached
Note: this works with non shop components, direct .ydd files.

## Usage

### Lua

```lua
local retval, drawable, albedo, normal, material = GetMetaPedAssetGuids(ped, index)

-- always available, by hash
local retval, drawable, albedo, normal, material = Citizen.InvokeNative(0xA9C28516A6DC9D56, ped, index, Citizen.PointerValueInt(), Citizen.PointerValueInt(), Citizen.PointerValueInt(), Citizen.PointerValueInt(), Citizen.ReturnResultAnyway())
```

### JavaScript

```js
const [retval, drawable, albedo, normal, material] = GetMetaPedAssetGuids(ped, index);

// by hash
const [retval, drawable, albedo, normal, material] = Citizen.invokeNative('0xA9C28516A6DC9D56', ped, index, Citizen.pointerValueInt(), Citizen.pointerValueInt(), Citizen.pointerValueInt(), Citizen.pointerValueInt(), Citizen.returnResultAnyway());
```

### C#

```csharp
var drawable = new OutputArgument();
var albedo = new OutputArgument();
var normal = new OutputArgument();
var material = new OutputArgument();
bool retval = Function.Call<bool>((Hash)0xA9C28516A6DC9D56, ped, index, drawable, albedo, normal, material);
// drawable.GetResult<int>()
// albedo.GetResult<int>()
// normal.GetResult<int>()
// material.GetResult<int>()
```

- Pointer (out) arguments are not passed in Lua/JS: their values are returned after the result, in order.

*Sources: alloc8or RDR3 NativeDB.*
