# NETWORK::PARTICIPANT_ID_TO_INT

- **Hash:** `0x57A3BDDAD8E5AA0A`
- **Namespace:** NETWORK
- **Runtime name (Lua/JS):** `ParticipantIdToInt`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/NETWORK/PARTICIPANT_ID_TO_INT

## Signature

```c
int PARTICIPANT_ID_TO_INT();
```

## Returns

`int`

## Description

Return the local Participant ID.

This native is exactly the same as 'PARTICIPANT_ID' native.

## Usage

### Lua

```lua
local retval = ParticipantIdToInt()

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

### JavaScript

```js
const retval = ParticipantIdToInt();

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

### C#

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

*Sources: alloc8or RDR3 NativeDB.*
