_EQUIP_META_PED_OUTFIT_PRESET
Sets the outfit preset for the ped.
Hash
0x77FF8D35EEC6BBC4Runtime name
EquipMetaPedOutfitPresetNamespacePED
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _EQUIP_META_PED_OUTFIT_PRESET(Ped ped, int presetId, BOOL p2);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
presetId | int | — |
p2 | BOOL | — |
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
EquipMetaPedOutfitPreset(ped, presetId, p2)
-- always works, by hash
Citizen.InvokeNative(0x77FF8D35EEC6BBC4, ped, presetId, p2)JavaScript and C#
EquipMetaPedOutfitPreset(ped, presetId, p2);
// by hash
Citizen.invokeNative('0x77FF8D35EEC6BBC4', ped, presetId, p2);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
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.