# PLAYER::GET_PLAYER_PED

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

## Signature

```c
Ped GET_PLAYER_PED(Player player);
```

## Parameters

- `player` (`Player`)

## Returns

`Ped`

## Usage

### Lua

```lua
local retval = GetPlayerPed(player)

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

### JavaScript

```js
const retval = GetPlayerPed(player);

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

### C#

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

*Sources: alloc8or RDR3 NativeDB.*
