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