CAN_REGISTER_MISSION_ENTITIES
Returns true if the script can register the given numbers of mission peds, vehicles, objects and pickups.
Signature
BOOL CAN_REGISTER_MISSION_ENTITIES(int ped_amt, int vehicle_amt, int object_amt, int pickup_amt); // 0x69778E7564BADE6D b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped_amt | int |
| 2 | vehicle_amt | int |
| 3 | object_amt | int |
| 4 | pickup_amt | int |
Facts
| Name | CAN_REGISTER_MISSION_ENTITIES |
|---|---|
| Hash | 0x69778E7564BADE6D |
| 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(0x69778E7564BADE6D, -- CAN_REGISTER_MISSION_ENTITIES
0, -- int ped_amt
0, -- int vehicle_amt
0, -- int object_amt
0 -- int pickup_amt
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x69778E7564BADE6D", // CAN_REGISTER_MISSION_ENTITIES
0, // int ped_amt
0, // int vehicle_amt
0, // int object_amt
0, // int pickup_amt
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x69778E7564BADE6D, // CAN_REGISTER_MISSION_ENTITIES
0, // int ped_amt
0, // int vehicle_amt
0, // int object_amt
0 // int pickup_amt
);Related NETWORK natives
- CAN_REGISTER_MISSION_OBJECTS
- CAN_REGISTER_MISSION_PEDS
- CAN_REGISTER_MISSION_PICKUPS
- CAN_REGISTER_MISSION_VEHICLES
- _GET_RESERVED_MISSION_ENTITIES_FOR_THREAD
- GET_RESERVED_MISSION_ENTITIES_IN_AREA
- _GET_NUM_CREATED_MISSION_PICKUPS
- _GET_NUM_RESERVED_MISSION_PICKUPS
- _NETWORK_CAN_ADD_FRIEND
- _NETWORK_CAN_RECEIVE_INVITE_FROM_HANDLE
- _UGC_QUERY_GET_MISSION_DESC_HASH
- GET_NUM_CREATED_MISSION_OBJECTS
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.