26.01.2011, 12:54
For example:
pawn Код:
new Name[MAX_PLAYER_NAME];
GetPlayerName(playerid, Name, sizeof(Name)); // getting the player's name so we can show it later in the dialog
new string[128];
format(string,sizeof(string),"%s(%d)'s stats:\nLevel: %d\nKills: %d\nDeaths: %d",Name,playerid,level,kills,deaths);
ShowPlayerDialog(playerid,5555,0,"Stats",string,"OK","");