# PLAYER::GET_TARGET_CHARACTER_NAME_SCRIPT_OVERRIDE_HASH

- **Hash:** `0x0335106F3ACABBED`
- **Namespace:** PLAYER
- **Runtime name (Lua/JS):** `GetTargetCharacterNameScriptOverrideHash`
- **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_SCRIPT_OVERRIDE_HASH

## Signature

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

## Parameters

- `ped` (`Ped`)

## Returns

`Hash`

## Usage

### Lua

```lua
local retval = GetTargetCharacterNameScriptOverrideHash(ped)

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

### JavaScript

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

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

### C#

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

*Sources: alloc8or RDR3 NativeDB.*
