_DOES_META_PED_OUTFIT_EXIST_FOR_PED_MODEL
Returns true if the outfit outfit exists for the ped model model.
Signature
BOOL _DOES_META_PED_OUTFIT_EXIST_FOR_PED_MODEL(Hash outfit, Hash model); // 0xC0E880B7A441164D b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | outfit | Hash |
| 2 | model | Hash |
Facts
| Name | _DOES_META_PED_OUTFIT_EXIST_FOR_PED_MODEL |
|---|---|
| Hash | 0xC0E880B7A441164D |
| 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(0xC0E880B7A441164D, -- _DOES_META_PED_OUTFIT_EXIST_FOR_PED_MODEL
GetHashKey("name"), -- Hash outfit
GetHashKey("a_c_horse_arabian_white") -- Hash model
)
if result then
-- ...
endconst result = Citizen.invokeNative("0xC0E880B7A441164D", // _DOES_META_PED_OUTFIT_EXIST_FOR_PED_MODEL
GetHashKey("name"), // Hash outfit
GetHashKey("a_c_horse_arabian_white"), // Hash model
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0xC0E880B7A441164D, // _DOES_META_PED_OUTFIT_EXIST_FOR_PED_MODEL
(uint)API.GetHashKey("name"), // Hash outfit
(uint)API.GetHashKey("a_c_horse_arabian_white") // Hash model
);Related PED natives
- _DOES_META_PED_SUBOUTFIT_EXIST_FOR_PED_MODEL
- _APPLY_PED_META_PED_OUTFIT
- _CREATE_META_PED_OUTFIT_PED
- _CLEAR_PED_DESIRED_LOCO_FOR_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
- _REFRESH_CARRIED_PED_FOR_PED
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.