/stats command
#3

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;
}
Reply


Messages In This Thread
/stats command - by zohartrejx - 04.05.2014, 10:41
Re: /stats command - by PrivatioBoni - 04.05.2014, 10:49
Re: /stats command - by Ghazal - 04.05.2014, 10:51
Re: /stats command - by zohartrejx - 04.05.2014, 12:04

Forum Jump:


Users browsing this thread: 1 Guest(s)