NetworkClient

getNumCreatedMissionVehicles

GET_NUM_CREATED_MISSION_VEHICLES0x0CD9AB83489430EA

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

SignatureJavaScript
getNumCreatedMissionVehicles(p0: boolean): number
SignatureLua
getNumCreatedMissionVehicles(p0: boolean): integer

Usage

JavaScript
const result = getNumCreatedMissionVehicles(p0);
Lua
local result = getNumCreatedMissionVehicles(p0)

Parameters

ParameterTypeJavaScriptLua
p0BOOLbooleanboolean

Returns

int JavaScript number, Lua integer

Reference

Namespace
Network NETWORK
In the game
int GET_NUM_CREATED_MISSION_VEHICLES(BOOL p0)
Hash
0x0CD9AB83489430EA

Open in the interactive natives reference