RedM Natives

GET_MAX_NUM_NETWORK_PEDS

Always returns 110

Hash0x0C1F7D49C39D2289
Runtime nameGetMaxNumNetworkPeds
NamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x0C1F7D49C39D2289

Signature

int GET_MAX_NUM_NETWORK_PEDS();

Returns int

Description

Always returns 110

Usage

Lua
local retval = GetMaxNumNetworkPeds()

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

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

Sources

alloc8or RDR3 NativeDB

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