20.02.2010, 15:05
Alternate of Playername(playerid);
Usage example:
format(string, sizeof(string), "%s has blowed up", PlayerName[playerid]);
pawn Код:
new PlayerName[MAX_PLAYERS][MAX_PLAYER_NAME]; //To upper
GetPlayerName(playerid, PlayerName[playerid], MAX_PLAYER_NAME); //to OnPlayerConnect
format(string, sizeof(string), "%s has blowed up", PlayerName[playerid]);