The Lab
PED native

_DOES_META_PED_SUBOUTFIT_EXIST_FOR_PED_MODEL

returns BOOL3 paramsbuild 1207

Returns true if the sub-outfit suboutfit of outfit exists for the ped model model.

Signature

C
BOOL _DOES_META_PED_SUBOUTFIT_EXIST_FOR_PED_MODEL(Hash outfit, Hash suboutfit, Hash model); // 0x4FF3C2B4E6A196C1 b1207

Parameters

#NameType
1outfitHash
2suboutfitHash
3modelHash

Facts

Facts about _DOES_META_PED_SUBOUTFIT_EXIST_FOR_PED_MODEL
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.

Lua
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
  -- ...
end
JavaScript
const 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) {
  // ...
}
C#
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
);
All PED natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.