_APPLY_PED_META_PED_OUTFIT
Applies the meta ped outfit loaded under requestId to ped, returning true on success.
Signature
BOOL _APPLY_PED_META_PED_OUTFIT(int requestId, Ped ped, BOOL p2, BOOL p3); // 0x74F512E29CB717E2 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | requestId | int |
| 2 | ped | Ped |
| 3 | p2 | BOOL |
| 4 | p3 | BOOL |
Facts
| Name | _APPLY_PED_META_PED_OUTFIT |
|---|---|
| Hash | 0x74F512E29CB717E2 |
| Namespace | |
| Returns | BOOL |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0x74F512E29CB717E2, -- _APPLY_PED_META_PED_OUTFIT
0, -- int requestId
PlayerPedId(), -- Ped ped
false, -- BOOL p2
false -- BOOL p3
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x74F512E29CB717E2", // _APPLY_PED_META_PED_OUTFIT
0, // int requestId
PlayerPedId(), // Ped ped
false, // BOOL p2
false, // BOOL p3
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x74F512E29CB717E2, // _APPLY_PED_META_PED_OUTFIT
0, // int requestId
API.PlayerPedId(), // Ped ped
false, // BOOL p2
false // BOOL p3
);Related PED natives
- _CREATE_META_PED_OUTFIT_PED
- _DOES_META_PED_OUTFIT_EXIST_FOR_PED_MODEL
- _APPLY_PED_DAMAGE_PACK_TO_BONE
- _DOES_META_PED_SUBOUTFIT_EXIST_FOR_PED_MODEL
- _EQUIP_META_PED_OUTFIT
- _EQUIP_META_PED_OUTFIT_EXTRA
- _EQUIP_META_PED_OUTFIT_PRESET
- _GET_PED_META_OUTFIT_HASH
- _HAS_META_PED_OUTFIT_LOADED
- _IS_META_PED_OUTFIT_EQUIPPED
- _IS_META_PED_OUTFIT_REQUEST_VALID
- _RELEASE_META_PED_OUTFIT_REQUEST
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.