# PED::_GET_METAPED_OUTFIT_BY_INDEX

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

## Signature

```c
Any _GET_METAPED_OUTFIT_BY_INDEX(Entity entity, Any p1);
```

## Parameters

- `entity` (`Entity`)
- `p1` (`Any`)

## Returns

`Any`

## Description

*Source: alloc8or RDR3 NativeDB*

Returns p1 value for 0x8E84119A23C16623

*Source: VORPCORE RDR3natives*

Returns p1 value for 0x8E84119A23C16623,  get index outfit using GET_NUM_META_PED_OUTFITS

## Usage

### Lua

```lua
local retval = GetMetapedOutfitByIndex(entity, p1)

-- always available, by hash
local retval = Citizen.InvokeNative(0x62FDF4E678E40CC6, entity, p1, Citizen.ResultAsInteger())
```

### JavaScript

```js
const retval = GetMetapedOutfitByIndex(entity, p1);

// by hash
const retval = Citizen.invokeNative('0x62FDF4E678E40CC6', entity, p1, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
```

### C#

```csharp
int retval = Function.Call<int>((Hash)0x62FDF4E678E40CC6, entity, p1);
```

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

*Sources: alloc8or RDR3 NativeDB, VORPCORE RDR3natives.*
