26.07.2012, 13:17
Try like this;
pawn Код:
forward Infected(playerid);
public Infected(playerid)
{
new Float:health; GetPlayerHealth(playerid,health);
SetPlayerHealth(playerid,health-2);
SetTimerEx("Infected",1000,0,"i",playerid); // -2 hp per second
return 1;
}