06.12.2014, 09:14
Hmm, done what you said,
but this is what i am getting:
pawn Код:
CMD:stats(playerid, params[])
{
new sstr[300], sstr1[1000];
format(sstr, sizeof(sstr), "Money %d\n", GetPlayerCash(playerid));
strcat(sstr1, sstr);
format(sstr, sizeof(sstr), "Kills %d\n", pInfo[playerid][Kills]);
strcat(sstr1, sstr);
format(sstr, sizeof(sstr), "Deaths %d\n", pInfo[playerid][Deaths]);
strcat(sstr1, sstr);
format(sstr, sizeof(sstr), "Credits %d", pInfo[playerid][Credits]);
strcat(sstr1, sstr);
SPD(playerid, stats, DIALOG_STYLE_MSGBOX, "Stats", sstr , "Close","");
return 1;
}