# NETWORK::NETWORK_GET_PARTICIPANT_INDEX

- **Hash:** `0x1B84DF6AF2A46938`
- **Namespace:** NETWORK
- **Runtime name (Lua/JS):** `NetworkGetParticipantIndex`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/NETWORK/NETWORK_GET_PARTICIPANT_INDEX

## Signature

```c
int NETWORK_GET_PARTICIPANT_INDEX(int index);
```

## Parameters

- `index` (`int`)

## Returns

`int`

## Usage

### Lua

```lua
local retval = NetworkGetParticipantIndex(index)

-- always available, by hash
local retval = Citizen.InvokeNative(0x1B84DF6AF2A46938, index, Citizen.ResultAsInteger())
```

### JavaScript

```js
const retval = NetworkGetParticipantIndex(index);

// by hash
const retval = Citizen.invokeNative('0x1B84DF6AF2A46938', index, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
```

### C#

```csharp
int retval = Function.Call<int>((Hash)0x1B84DF6AF2A46938, index);
```

*Sources: alloc8or RDR3 NativeDB.*
