08.08.2012, 12:46
You've switched cash and score, maybe this was the problem,
try this
try this
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, cash, score);
ShowPlayerDialog(playerid,DIALOG_STATS,DIALOG_STYLE_MSGBOX,string1,string2,"Close","");
return 1;
}