18.06.2009, 14:52
Код:
public AntiHealthHack() for(new i; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i) && Spawned[i] == 1) { GetPlayerHealth(i, health); if(health > 100) { format(str, sizeof(str), "*ToAdmin: AC reported %s(%d) Reason: Health Hack", reporter,playerid, reportedname, reported, params[strlen(tmp)+1]); MessageToAdmins(COLOR_WHITE,str); } } } return 1; }