RedM Natives

_GET_METAPED_OUTFIT_BY_INDEX

Returns p1 value for 0x8E84119A23C16623

Hash0x62FDF4E678E40CC6
Runtime nameGetMetapedOutfitByIndex
NamespacePED
SideClient
NameCommunity guess
Docs
Since build1207

Signature

Any _GET_METAPED_OUTFIT_BY_INDEX(Entity entity, Any p1);

Parameters

NameTypeDescription
entityEntity—
p1Any—

Returns Any

Description

VORPCORE RDR3natives

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

Usage

Lua
local retval = GetMetapedOutfitByIndex(entity, p1)

-- always works, by hash
local retval = Citizen.InvokeNative(0x62FDF4E678E40CC6, entity, p1, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = GetMetapedOutfitByIndex(entity, p1);

// by hash
const retval = Citizen.invokeNative('0x62FDF4E678E40CC6', entity, p1, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
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

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.