NetworkClient

canRegisterMissionPeds

CAN_REGISTER_MISSION_PEDS0xBCBF4FEF9FA5D781

The GTA V native CAN_REGISTER_MISSION_PEDS of the NETWORK namespace, as LS:MP client scripts call it: the global function canRegisterMissionPeds, in JavaScript and in Lua.

SignatureJavaScript
canRegisterMissionPeds(amount: number): boolean
SignatureLua
canRegisterMissionPeds(amount: integer): boolean

Usage

JavaScript
const result = canRegisterMissionPeds(amount);
Lua
local result = canRegisterMissionPeds(amount)

Parameters

ParameterTypeJavaScriptLua
amountintnumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Network NETWORK
In the game
BOOL CAN_REGISTER_MISSION_PEDS(int amount)
Hash
0xBCBF4FEF9FA5D781

Open in the interactive natives reference