The Lab
NETWORK native

CAN_REGISTER_MISSION_PEDS

returns BOOL1 parambuild 1207

Returns true if the script can register amount more mission peds.

Signature

C
BOOL CAN_REGISTER_MISSION_PEDS(int amount); // 0xBCBF4FEF9FA5D781 b1207

Parameters

#NameType
1amountint

Facts

Facts about CAN_REGISTER_MISSION_PEDS
Name
CAN_REGISTER_MISSION_PEDS
Hash
0xBCBF4FEF9FA5D781
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(0xBCBF4FEF9FA5D781, -- CAN_REGISTER_MISSION_PEDS
  0 -- int amount
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0xBCBF4FEF9FA5D781", // CAN_REGISTER_MISSION_PEDS
  0, // int amount
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0xBCBF4FEF9FA5D781, // CAN_REGISTER_MISSION_PEDS
  0 // int amount
);
All NETWORK natives

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