GET_PLAYER_NAME
Hash
0x7124FD9AC0E01BA0Runtime name
GetPlayerNameNamespacePLAYER
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x6D0DE6A7B5DA71F8Signature
const char* GET_PLAYER_NAME(Player player);Parameters
| Name | Type | Description |
|---|---|---|
player | Player | — |
Returns const char*
Usage
local retval = GetPlayerName(player)
-- always works, by hash
local retval = Citizen.InvokeNative(0x7124FD9AC0E01BA0, player, Citizen.ResultAsString())JavaScript and C#
const retval = GetPlayerName(player);
// by hash
const retval = Citizen.invokeNative('0x7124FD9AC0E01BA0', player, Citizen.returnResultAnyway(), Citizen.resultAsString());string retval = Function.Call<string>((Hash)0x7124FD9AC0E01BA0, player);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.