11.07.2014, 17:50
Quote:
Maybe show the lines... It would be much easier to say whats wrong!
|
Код:
CMD:resethunt(playerid,params[]) { if(PlayerInfo[playerid][pAdmin] >= 3) { if(AdminDuty[playerid] != 1 && PlayerInfo[playerid][pAdmin] < 5) return SendClientMessage(playerid,COLOR_WHITE, "You're not on-duty as admin. To access your admin commands you must be on-duty. Type /aduty to go on-duty."); HuntedTime = 0; foreach(new i : Player) { if(Hunted[i] != 0) { SetPlayerHealth(i, 0.0); Hunted[i] = 0; } } SendClientMessage(playerid,COLOR_WHITE, "The grim reaper has awaken."); } return true; }