NetworkClient

canRegisterMissionObjects

CAN_REGISTER_MISSION_OBJECTS0x800DD4721A8B008B

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

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
amountintnumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Network NETWORK
In the game
BOOL CAN_REGISTER_MISSION_OBJECTS(int amount)
Hash
0x800DD4721A8B008B

Open in the interactive natives reference