RedM Natives

_EQUIP_META_PED_OUTFIT_PRESET

Sets the outfit preset for the ped.

Hash0x77FF8D35EEC6BBC4
Runtime nameEquipMetaPedOutfitPreset
NamespacePED
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _EQUIP_META_PED_OUTFIT_PRESET(Ped ped, int presetId, BOOL p2);

Parameters

NameTypeDescription
pedPed—
presetIdint—
p2BOOL—

Returns void

Description

Sets the outfit preset for the ped. The presetId is an index which determines its preset outfit. p2 is always false in the scripts.
If p2 is true as player, then certain components like facial hair and hair will not be removed.
Old name: _SET_PED_OUTFIT_PRESET

Usage

Lua
EquipMetaPedOutfitPreset(ped, presetId, p2)

-- always works, by hash
Citizen.InvokeNative(0x77FF8D35EEC6BBC4, ped, presetId, p2)
JavaScript and C#
JavaScript
EquipMetaPedOutfitPreset(ped, presetId, p2);

// by hash
Citizen.invokeNative('0x77FF8D35EEC6BBC4', ped, presetId, p2);
C#
Function.Call((Hash)0x77FF8D35EEC6BBC4, ped, presetId, p2);
  • 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

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