RedM Natives

GET_NUM_RESERVED_MISSION_PEDS

p0 appears to be for MP

Hash0x1F13D5AE5CB17E17
Runtime nameGetNumReservedMissionPeds
NamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x1F13D5AE5CB17E17

Signature

int GET_NUM_RESERVED_MISSION_PEDS(BOOL p0);

Parameters

NameTypeDescription
p0BOOL—

Returns int

Description

p0 appears to be for MP

Usage

Lua
local retval = GetNumReservedMissionPeds(p0)

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

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

Sources

alloc8or RDR3 NativeDB

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