08.03.2014, 10:29
Now I've edited your script.
It does show only Kills, deaths, and XP. What do I need to do?
pawn Код:
CMD:stats(playerid,params[])
{
new coordsstring[128];
format(coordsstring, sizeof(coordsstring),"_________________Stats____________________");
SendClientMessage(playerid, -1,coordsstring);
format(coordsstring, sizeof(coordsstring), "Kills: %d • Deaths: %d • XP: %d",PlayerInfo[playerid][pKills],PlayerInfo[playerid][pDeaths],PlayerInfo[playerid][pXP]);
SendClientMessage(playerid, -1,coordsstring);
format(coordsstring, sizeof(coordsstring), "Money: %d • VIP: %d • ADM: %d",PlayerInfo[playerid][pMoney],PlayerInfo[playerid][pVIP],PlayerInfo[playerid][pAdmin]);
SendClientMessage(playerid, -1, "___________________________________________");
return 1;
}