NetworkClient

getNumReservedMissionVehicles

GET_NUM_RESERVED_MISSION_VEHICLES0xCF3A965906452031

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

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

Usage

JavaScript
const result = getNumReservedMissionVehicles(p0, p1);
Lua
local result = getNumReservedMissionVehicles(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_VEHICLES(BOOL p0, Any p1)
Hash
0xCF3A965906452031

Open in the interactive natives reference