25.06.2015, 10:35
The include won't work.
It won't detect anything!!
You set a timer without passing playerid
You have done it everywhere!!
Moreover, even if you correct it will ban innocents if they use a vending machine.
It won't detect anything!!
You set a timer without passing playerid
Код:
SetTimer("USACHealthCheckKick", 500, true);
Код:
forward USACHealthCheckKick(playerid); public USACHealthCheckKick(playerid) { GetPlayerHealth(playerid, USACPlayerHealth); if(USACPlayerHealth >= 100) { Kick(playerid); } return 1; }
Moreover, even if you correct it will ban innocents if they use a vending machine.