# PED::_SET_PED_PROMPT_NAME_FROM_GXT_ENTRY

- **Hash:** `0xFCA8FB9E15FA80D3`
- **Namespace:** PED
- **Runtime name (Lua/JS):** `SetPedPromptNameFromGxtEntry`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/PED/_SET_PED_PROMPT_NAME_FROM_GXT_ENTRY

## Signature

```c
void _SET_PED_PROMPT_NAME_FROM_GXT_ENTRY(Ped ped, Hash gxtEntryHash);
```

## Parameters

- `ped` (`Ped`)
- `gxtEntryHash` (`Hash`)

## Returns

`void`

## Usage

### Lua

```lua
SetPedPromptNameFromGxtEntry(ped, gxtEntryHash)

-- always available, by hash
Citizen.InvokeNative(0xFCA8FB9E15FA80D3, ped, gxtEntryHash)
```

### JavaScript

```js
SetPedPromptNameFromGxtEntry(ped, gxtEntryHash);

// by hash
Citizen.invokeNative('0xFCA8FB9E15FA80D3', ped, gxtEntryHash);
```

### C#

```csharp
Function.Call((Hash)0xFCA8FB9E15FA80D3, ped, gxtEntryHash);
```

- Hash parameters: the named function also accepts a string and hashes it for you; `Citizen.InvokeNative` needs the number — pass `joaat("name")` or a backtick literal like `` `name` ``.
- The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works.

*Sources: alloc8or RDR3 NativeDB.*
