_FORMAT_PLAYER_NAME_STRING
Returns a formatted version of the player name string suitable for display.
Signature
const char* _FORMAT_PLAYER_NAME_STRING(const char* string); // 0x5B6193813E03E4E9 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | string | const char* |
Facts
| Name | _FORMAT_PLAYER_NAME_STRING |
|---|---|
| Hash | 0x5B6193813E03E4E9 |
| Namespace | |
| Returns | const char* |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0x5B6193813E03E4E9, -- _FORMAT_PLAYER_NAME_STRING
"text", -- const char* string
Citizen.ResultAsString()
)
print(result)const result = Citizen.invokeNative("0x5B6193813E03E4E9", // _FORMAT_PLAYER_NAME_STRING
"text", // const char* string
Citizen.resultAsString()
);
console.log(result)string result = Function.Call<string>((Hash)0x5B6193813E03E4E9, // _FORMAT_PLAYER_NAME_STRING
"text" // const char* string
);Related PLAYER natives
- _GET_HAS_PLAYER_DISCOVERED_CHARACTER_NAME_SP
- _MODIFY_PLAYER_DISCOVERED_CHARACTER_NAME_MP_SET_UNDISCOVERED
- _SET_PLAYER_HAS_DISCOVERED_CHARACTER_NAME_MP
- _SET_PLAYER_HAS_DISCOVERED_CHARACTER_NAME_SP
- GET_HAS_PLAYER_DISCOVERED_CHARACTER_NAME_MP
- GET_PLAYER_NAME
- GET_TARGET_CHARACTER_NAME_FOR_LOCAL_PLAYER
- GET_TARGET_CHARACTER_NAME_SCRIPT_OVERRIDE_RAW_STRING
- _ADD_AMBIENT_PLAYER_INTERACTIVE_FOCUS_PRESET
- _ADD_AMBIENT_PLAYER_INTERACTIVE_FOCUS_PRESET_AT_COORDS
- _ADD_PLAYER_AS_FOLLOW_TARGET
- _CLEAR_PED_EAGLE_EYE_TRAILS_FOR_PLAYER
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.