NETWORK_GET_NUM_PARTICIPANTS
Hash
0x18D0456E86604654Runtime name
NetworkGetNumParticipantsNamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x18D0456E86604654Signature
int NETWORK_GET_NUM_PARTICIPANTS();Returns int
Usage
local retval = NetworkGetNumParticipants()
-- always works, by hash
local retval = Citizen.InvokeNative(0x18D0456E86604654, Citizen.ResultAsInteger())JavaScript and C#
const retval = NetworkGetNumParticipants();
// by hash
const retval = Citizen.invokeNative('0x18D0456E86604654', Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x18D0456E86604654);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.