13.10.2011, 19:14
pawn Code:
CMD:stats(playerid,params[])
{
new password = PlayerInfo[playerid][pPass];
new money = PlayerInfo[playerid][pCash];
new deaths = PlayerInfo[playerid][pDeaths];
new kills = PlayerInfo[playerid][pKills];
new score = PlayerInfo[playerid][pScore];
new admin = PlayerInfo[playerid][pAdmin];
new vip = PlayerInfo[playerid][pVIP];
new killpoints = PlayerInfo[playerid][pKillPoints];
new string[500];
format(string,sizeof(string),"Password: %s | Money: %d | Deaths: %d | Kills: %d | Score: %d | Admin: %d | VIP: %d | Killpoints: %d",password,money,deaths,kills,score,admin,vip,killpoints);
SendClientMessage(playerid,COLOR_WHITE,string);
return 1;
}