27.12.2013, 19:10
pawn Код:
public OnPlayerConnect(playerid) {
SetTimerEx("CaradeHack", 5000, true, "f", playerid);
return true;
}
forward CaradeHack(playerid);
public CaradeHack(playerid) {
new Float:health;
GetPlayerHealth(playerid,health);
if(health > 150.0) {
SetPlayerHealth(playerid, 100);
Kick(playerid);
return 1;
}
return 1;
}