RedM Natives

_REQUEST_META_PED_OUTFIT

Returns requestId, to be used with 0x74F512E29CB717E2

Hash0x13154A76CE0CF9AB
Runtime nameRequestMetaPedOutfit
NamespacePED
SideClient
NameCommunity guess
Docs
Since build1207

Signature

int _REQUEST_META_PED_OUTFIT(Hash model, Hash outfit);

Parameters

NameTypeDescription
modelHash—
outfitHash—

Returns int

Description

https://github.com/femga/rdr3_discoveries/blob/master/clothes/metaped_outfits.lua
Returns requestId, to be used with 0x74F512E29CB717E2

Usage

Lua
local retval = RequestMetaPedOutfit(model, outfit)

-- always works, by hash
local retval = Citizen.InvokeNative(0x13154A76CE0CF9AB, model, outfit, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = RequestMetaPedOutfit(model, outfit);

// by hash
const retval = Citizen.invokeNative('0x13154A76CE0CF9AB', model, outfit, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0x13154A76CE0CF9AB, model, outfit);
  • Hash parameters: the named function also accepts a string and hashes it for you; Citizen.InvokeNative needs the number — pass joaat("name") or a backtick literal like `name`.
  • 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

Sources

alloc8or RDR3 NativeDB

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