getNumCreatedMissionPeds
GET_NUM_CREATED_MISSION_PEDS0xCB215C4B56A7FAE7The 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.
getNumCreatedMissionPeds(p0: boolean): numbergetNumCreatedMissionPeds(p0: boolean): integerUsage
JavaScript
const result = getNumCreatedMissionPeds(p0);Lua
local result = getNumCreatedMissionPeds(p0)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
p0 | BOOL | boolean | boolean |
Returns
int JavaScript number, Lua integerReference
- Namespace
- Network NETWORK
- In the game
int GET_NUM_CREATED_MISSION_PEDS(BOOL p0)- Hash
0xCB215C4B56A7FAE7