/stats not working
#5

Quote:
Originally Posted by Rimeau
Посмотреть сообщение
If you want to use colors, try this: {RRGGBB}, without the ""!
It works with "" too.

pawn Код:
if (strcmp("/stats", cmdtext, true, 6) == 0) // It's 6, not 10.
{
    // new string[ 128 ];
    // Incase you don't have it!
    format(string, sizeof(string), ""COL_GREEN"Kills: [%d]"COL_YELLOW" | "COL_RED"Deaths: [%d] "COL_YELLOW"| Ratio: [%0.2f] | "COL_GREEN"Money: [$ %d]"COL_YELLOW" | Adminlevel: [%d] | "COL_BLUE"VIP level: [%d]", pInfo[playerid][Kills], pInfo[playerid][Deaths], pInfo[playerid][Kills]/pInfo[playerid][Deaths],GetPlayerMoney(playerid), pInfo[playerid][Admin], pInfo[playerid][VIP]);
    SendClientMessage(playerid, red, string);

    return 1;
}
Reply


Messages In This Thread
/stats not working - by geerdinho8 - 20.01.2012, 14:39
AW: /stats not working - by Rimeau - 20.01.2012, 14:44
Re: /stats not working - by iZN - 20.01.2012, 14:50
Re: /stats not working - by Bogdan1992 - 20.01.2012, 14:53
Re: AW: /stats not working - by Konstantinos - 20.01.2012, 15:09
Re: /stats not working - by Bogdan1992 - 20.01.2012, 15:12
Re: /stats not working - by Konstantinos - 20.01.2012, 15:17
Re: /stats not working - by Guest9328472398472 - 20.01.2012, 15:43
Re: /stats not working - by Bogdan1992 - 20.01.2012, 15:49
Re: /stats not working - by Konstantinos - 20.01.2012, 15:52

Forum Jump:


Users browsing this thread: 1 Guest(s)