# PLAYER::_FORMAT_PLAYER_NAME_STRING

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

## Signature

```c
const char* _FORMAT_PLAYER_NAME_STRING(const char* string);
```

## Parameters

- `string` (`const char*`)

## Returns

`const char*`

## Usage

### Lua

```lua
local retval = FormatPlayerNameString(string)

-- always available, by hash
local retval = Citizen.InvokeNative(0x5B6193813E03E4E9, string, Citizen.ResultAsString())
```

### JavaScript

```js
const retval = FormatPlayerNameString(string);

// by hash
const retval = Citizen.invokeNative('0x5B6193813E03E4E9', string, Citizen.returnResultAnyway(), Citizen.resultAsString());
```

### C#

```csharp
string retval = Function.Call<string>((Hash)0x5B6193813E03E4E9, string);
```

- 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.*
