20.06.2015, 11:29
Quote:
Код:
SetTimer("USACHealthCheckBan", 500, true); Replace your USACHealthCheckBan() function with this, hope it worked. Код:
forward USACHealthCheckBan(); public USACHealthCheckBan() { new Float:USACPlayerHealth; for(new i = 0; i <= GetPlayerPoolSize(); i++) { GetPlayerHealth(i, USACPlayerHealth); if(USACPlayerHealth >= 100) { Ban(i); } } return 1; } |