Stats
#4

Wired... It works but when i do /stats in-game it shows up with on Credits, I can not see where i've gone wrong
pawn Код:
CMD:stats(playerid, params[])
{
    new sstr[300], sstr1[1000];
    format(sstr, sizeof(sstr), "Money %d", GetPlayerCash(playerid));
    strcat(sstr1, sstr);
    format(sstr, sizeof(sstr), "Kills %d", pInfo[playerid][Kills]);
    strcat(sstr1, sstr);
    format(sstr, sizeof(sstr), "Deaths %d", 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;
}
Reply


Messages In This Thread
Stats - by LeXuZ - 05.12.2014, 19:28
Re: Stats - by CutX - 05.12.2014, 19:37
Re: Stats - by LeXuZ - 05.12.2014, 19:53
Re: Stats - by LeXuZ - 05.12.2014, 19:57
Re: Stats - by JaKe Elite - 05.12.2014, 20:03
Re: Stats - by LeXuZ - 05.12.2014, 22:51
Re: Stats - by LeXuZ - 06.12.2014, 09:14
Re : Stats - by StreetRP - 06.12.2014, 09:20
Re: Stats - by LeXuZ - 06.12.2014, 09:32
Re: Stats - by AnthonyTimmers - 06.12.2014, 10:50

Forum Jump:


Users browsing this thread: 10 Guest(s)