_IS_META_PED_OUTFIT_EQUIPPED
Returns true if ped is wearing the outfit outfit.
Signature
BOOL _IS_META_PED_OUTFIT_EQUIPPED(Ped ped, Hash outfit); // 0x98082246107A6ACF b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | outfit | Hash |
Facts
| Name | _IS_META_PED_OUTFIT_EQUIPPED |
|---|---|
| Hash | 0x98082246107A6ACF |
| 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(0x98082246107A6ACF, -- _IS_META_PED_OUTFIT_EQUIPPED
PlayerPedId(), -- Ped ped
GetHashKey("name") -- Hash outfit
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x98082246107A6ACF", // _IS_META_PED_OUTFIT_EQUIPPED
PlayerPedId(), // Ped ped
GetHashKey("name"), // Hash outfit
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x98082246107A6ACF, // _IS_META_PED_OUTFIT_EQUIPPED
API.PlayerPedId(), // Ped ped
(uint)API.GetHashKey("name") // Hash outfit
);Related PED natives
- _IS_META_PED_OUTFIT_REQUEST_VALID
- _IS_META_PED_ASSET_VALID
- _IS_META_PED_FISH
- _IS_META_PED_REQUEST_VALID
- _IS_META_PED_USING_COMPONENT
- _APPLY_PED_META_PED_OUTFIT
- _CREATE_META_PED_OUTFIT_PED
- _DOES_META_PED_OUTFIT_EXIST_FOR_PED_MODEL
- _DOES_META_PED_SUBOUTFIT_EXIST_FOR_PED_MODEL
- _EQUIP_META_PED_OUTFIT
- _EQUIP_META_PED_OUTFIT_EXTRA
- _EQUIP_META_PED_OUTFIT_PRESET
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.