# CFX::GET_NUM_PLAYER_INDICES

- **Hash:** `0x63D13184`
- **Namespace:** CFX
- **Runtime name (Lua/JS):** `GetNumPlayerIndices`
- **Side:** server (Cfx runtime native)
- **Name status:** official
- **Documentation:** named only
- **URL:** https://natives.borderlinerp.com/natives/CFX/GET_NUM_PLAYER_INDICES

## Signature

```c
int GET_NUM_PLAYER_INDICES();
```

## Returns

`int`

## Usage

### Lua

```lua
local retval = GetNumPlayerIndices()

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

### JavaScript

```js
const retval = GetNumPlayerIndices();

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

### C#

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

*Sources: Cfx.re native reference.*
