NetworkClient

getNumReservedMissionPeds

GET_NUM_RESERVED_MISSION_PEDS0x1F13D5AE5CB17E17

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

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

Usage

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

Open in the interactive natives reference