04.05.2014, 10:51
Maybe something like this?
Code:
CMD:stats(playerid,params[]) { new id = playerid; if(!isnull(params)) id = strval(params); format(megastr, sizeof(megastr, "Name: %s /n Score: %i/n Cash: %i/nAdminLevel: %i",PlayerName(id),GetPlayerScore(id),PlayerInfo[id][pCash],PlayerInfo[id][pAdmin]); ShowPlayerDialog(playerid, DIALOG_TEXT, DIALOG_STYLE_MSGBOX, "COL_YELLOW"" Player Stats", megastr, "Close", ""); return 1; }