The Lab
NETWORK native

CAN_REGISTER_MISSION_ENTITIES

returns BOOL4 paramsbuild 1207

Returns true if the script can register the given numbers of mission peds, vehicles, objects and pickups.

Signature

C
BOOL CAN_REGISTER_MISSION_ENTITIES(int ped_amt, int vehicle_amt, int object_amt, int pickup_amt); // 0x69778E7564BADE6D b1207

Parameters

#NameType
1ped_amtint
2vehicle_amtint
3object_amtint
4pickup_amtint

Facts

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

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

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