NETWORK_GET_PARTICIPANT_INDEX
Hash
0x1B84DF6AF2A46938Runtime name
NetworkGetParticipantIndexNamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x1B84DF6AF2A46938Signature
int NETWORK_GET_PARTICIPANT_INDEX(int index);Parameters
| Name | Type | Description |
|---|---|---|
index | int | — |
Returns int
Usage
local retval = NetworkGetParticipantIndex(index)
-- always works, by hash
local retval = Citizen.InvokeNative(0x1B84DF6AF2A46938, index, Citizen.ResultAsInteger())JavaScript and C#
const retval = NetworkGetParticipantIndex(index);
// by hash
const retval = Citizen.invokeNative('0x1B84DF6AF2A46938', index, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x1B84DF6AF2A46938, index);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.