# NETWORK::NETWORK_GET_NUM_PARTICIPANTS

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

## Signature

```c
int NETWORK_GET_NUM_PARTICIPANTS();
```

## Returns

`int`

## Usage

### Lua

```lua
local retval = NetworkGetNumParticipants()

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

### JavaScript

```js
const retval = NetworkGetNumParticipants();

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

### C#

```csharp
int retval = Function.Call<int>((Hash)0x18D0456E86604654);
```

*Sources: alloc8or RDR3 NativeDB.*
