GET_MAX_NUM_NETWORK_VEHICLES
Always returns 40
Hash
0x0AFCE529F69B21FFRuntime name
GetMaxNumNetworkVehiclesNamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x0AFCE529F69B21FFSignature
int GET_MAX_NUM_NETWORK_VEHICLES();Returns int
Description
Always returns 40
Usage
local retval = GetMaxNumNetworkVehicles()
-- always works, by hash
local retval = Citizen.InvokeNative(0x0AFCE529F69B21FF, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetMaxNumNetworkVehicles();
// by hash
const retval = Citizen.invokeNative('0x0AFCE529F69B21FF', Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x0AFCE529F69B21FF);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.