NetworkClient

getNumReservedMissionObjects

GET_NUM_RESERVED_MISSION_OBJECTS0xAA81B5F10BC43AC2

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

SignatureJavaScript
getNumReservedMissionObjects(p0: boolean, p1: any): number
SignatureLua
getNumReservedMissionObjects(p0: boolean, p1: any): integer

Usage

JavaScript
const result = getNumReservedMissionObjects(p0, p1);
Lua
local result = getNumReservedMissionObjects(p0, p1)

Parameters

ParameterTypeJavaScriptLua
p0BOOLbooleanboolean
p1Anyanyany

Returns

int JavaScript number, Lua integer

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

p0 appears to be for MP

Reference

Namespace
Network NETWORK
In the game
int GET_NUM_RESERVED_MISSION_OBJECTS(BOOL p0, Any p1)
Hash
0xAA81B5F10BC43AC2

Open in the interactive natives reference