20.01.2012, 14:39
pawn Код:
if (strcmp("/stats", cmdtext, true, 10) == 0)
{
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;
}