stats
#1

This command puts '0' in all places of the numbers in the dialog.

pawn Код:
CMD:stats(playerid,params[])
{
    new kills = pInfo[playerid][Kills],deaths = pInfo[playerid][Deaths],alevel = pInfo[playerid][Adminlevel],vlevel = pInfo[playerid][VIPlevel],score = pInfo[playerid][Scores],cash = pInfo[playerid][Money],string1[124],string2[500];
    format(string1,sizeof(string1),"%s stats",GetName(playerid));
    format(string2,sizeof(string2),"Kills: %d \t\t\t\t\tDeaths: %d\nAdmin level: %d \t\t\tVIP level: %d\nMoney: $%d \t\t\t\tScore: %d",kills,deaths,alevel,vlevel,score,cash);
    ShowPlayerDialog(playerid,DIALOG_STATS,DIALOG_STYLE_MSGBOX,string1,string2,"Close","");
    return 1;
}
Any help please?
Reply


Messages In This Thread
stats - by tyler12 - 08.08.2012, 11:17
Re: stats - by kaiks - 08.08.2012, 12:46
Re: stats - by tyler12 - 08.08.2012, 12:51
Re: stats - by Revo - 08.08.2012, 12:53
Re: stats - by kaiks - 08.08.2012, 12:54
Re: stats - by tyler12 - 08.08.2012, 13:00
Re: stats - by mrsamp - 08.08.2012, 21:47
Re: stats - by tyler12 - 08.08.2012, 22:16
Re: stats - by mrsamp - 08.08.2012, 22:34

Forum Jump:


Users browsing this thread: 3 Guest(s)