# PLAYER::GET_TARGET_CHARACTER_NAME_FOR_LOCAL_PLAYER

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

## Signature

```c
Hash GET_TARGET_CHARACTER_NAME_FOR_LOCAL_PLAYER(Ped ped);
```

## Parameters

- `ped` (`Ped`)

## Returns

`Hash`

## Usage

### Lua

```lua
local retval = GetTargetCharacterNameForLocalPlayer(ped)

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

### JavaScript

```js
const retval = GetTargetCharacterNameForLocalPlayer(ped);

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

### C#

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

*Sources: alloc8or RDR3 NativeDB.*
