NetworkClient

getNumCreatedMissionPeds

GET_NUM_CREATED_MISSION_PEDS0xCB215C4B56A7FAE7

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

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
p0BOOLbooleanboolean

Returns

int JavaScript number, Lua integer

Reference

Namespace
Network NETWORK
In the game
int GET_NUM_CREATED_MISSION_PEDS(BOOL p0)
Hash
0xCB215C4B56A7FAE7

Open in the interactive natives reference