08.08.2015, 17:30
Well if he's connected you will need to use GetPlayerName like this:
Not really sure if this is the basic thing you were asking of... Do you want to print it on your system or tell you in game or...
And if he's not connected, use a callback to get the player's name from the IP from your database etc...
Код:
new playername[MAX_PLAYER_NAME]; GetPlayerName(playerid, playername, sizeof(playername));
And if he's not connected, use a callback to get the player's name from the IP from your database etc...