_GET_NUM_RESERVED_AMBIENT_PEDS_DESIRED
Returns the number of ambient peds that have been requested for reservation.
Signature
int _GET_NUM_RESERVED_AMBIENT_PEDS_DESIRED(); // 0x62DE46F061CAA468 b1207Parameters
This native takes no parameters.
Facts
| Name | _GET_NUM_RESERVED_AMBIENT_PEDS_DESIRED |
|---|---|
| Hash | 0x62DE46F061CAA468 |
| Namespace | |
| Returns | int |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0x62DE46F061CAA468, -- _GET_NUM_RESERVED_AMBIENT_PEDS_DESIRED
Citizen.ResultAsInteger()
)
print(result)const result = Citizen.invokeNative("0x62DE46F061CAA468", // _GET_NUM_RESERVED_AMBIENT_PEDS_DESIRED
Citizen.resultAsInteger()
);
console.log(result)int result = Function.Call<int>((Hash)0x62DE46F061CAA468); // _GET_NUM_RESERVED_AMBIENT_PEDS_DESIREDRelated PED natives
- _GET_NUM_RESERVED_AMBIENT_PEDS_READY
- _GET_NUM_RESERVED_HEALTH
- _GET_NUM_RESERVED_STAMINA
- _GET_NUM_COMPONENT_CATEGORIES_IN_PED
- _GET_NUM_COMPONENTS_IN_PED
- _GET_NUM_FREE_SLOTS_IN_PED_POOL
- _GET_PEDS_IN_COMBAT_WITH_TARGET
- _GET_SHOP_ITEM_NUM_WEARABLE_STATES
- _RESERVE_AMBIENT_PEDS
- _RESERVE_AMBIENT_PEDS_TOTAL
- _UNRESERVE_AMBIENT_PEDS
- GET_NUM_META_PED_OUTFITS
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.