08.03.2014, 10:18
Код:
CMD:stats(playerid,params[]) { new coordsstring[128]; format(coordsstring, sizeof(coordsstring),"____________________Stats____________________"); SendClientMessage(playerid, COLOR_GREEN,coordsstring); format(coordsstring, sizeof(coordsstring), "Password:[%d] Money:[%d] Admin:[%d]",PlayerInfo[playerid][pPassword],PlayerInfo[playerid][pMoney],PlayerInfo[playerid][pAdmin]); SendClientMessage(playerid, COLOR_WHITE,coordsstring); format(coordsstring, sizeof(coordsstring), "VIP:[%s] Score:[%d] XP:[%d] Kills:[%d]",PlayerInfo[playerid][pVIP],PlayerInfo[playerid][pScore],PlayerInfo[playerid][pXP],PlayerInfo[playerid][pKills]); SendClientMessage(playerid, COLOR_WHITE,coordsstring); format(coordsstring, sizeof(coordsstring), "Deaths:[%d]",PlayerInfo[playerid][pDeaths]); SendClientMessage(playerid, COLOR_WHITE,coordsstring); SendClientMessage(playerid, COLOR_GREEN, "____________________End of Stats______________________________"); return 1;