_IS_PED_MODEL_SUPPRESSED
Returns true if the ped model model is suppressed from ambient spawning.
Signature
BOOL _IS_PED_MODEL_SUPPRESSED(Hash model); // 0xAA9F048DCF69B6DC b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | model | Hash |
Facts
| Name | _IS_PED_MODEL_SUPPRESSED |
|---|---|
| Hash | 0xAA9F048DCF69B6DC |
| 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(0xAA9F048DCF69B6DC, -- _IS_PED_MODEL_SUPPRESSED
GetHashKey("a_c_horse_arabian_white") -- Hash model
)
if result then
-- ...
endconst result = Citizen.invokeNative("0xAA9F048DCF69B6DC", // _IS_PED_MODEL_SUPPRESSED
GetHashKey("a_c_horse_arabian_white"), // Hash model
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0xAA9F048DCF69B6DC, // _IS_PED_MODEL_SUPPRESSED
(uint)API.GetHashKey("a_c_horse_arabian_white") // Hash model
);Related PED natives
- SET_PED_MODEL_IS_SUPPRESSED
- _DOES_META_PED_OUTFIT_EXIST_FOR_PED_MODEL
- _DOES_META_PED_SUBOUTFIT_EXIST_FOR_PED_MODEL
- _GET_IS_PED_IN_DISPUTE_WITH_PED
- _IS_PED_ACTION_DISABLE_FLAG_ENABLED
- _IS_PED_CHILD
- _IS_PED_CLIMBING_LADDER
- _IS_PED_COWERING
- _IS_PED_DOING_SCENARIO_TRANSITION
- _IS_PED_DRAGGING
- _IS_PED_DRUNK
- _IS_PED_GROUP_LEADER
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.