RedM Natives

GET_NUM_CREATED_MISSION_PEDS

Hash0xCB215C4B56A7FAE7
Runtime nameGetNumCreatedMissionPeds
NamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xCB215C4B56A7FAE7

Signature

int GET_NUM_CREATED_MISSION_PEDS(BOOL p0);

Parameters

NameTypeDescription
p0BOOL—

Returns int

Usage

Lua
local retval = GetNumCreatedMissionPeds(p0)

-- always works, by hash
local retval = Citizen.InvokeNative(0xCB215C4B56A7FAE7, p0, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = GetNumCreatedMissionPeds(p0);

// by hash
const retval = Citizen.invokeNative('0xCB215C4B56A7FAE7', p0, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0xCB215C4B56A7FAE7, p0);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.