18.12.2009, 19:50
you can make a Timer
e.g: every minute (60*1000 = 60 sec)
and don't forget to put
at the top of your script 
-Vince
e.g: every minute (60*1000 = 60 sec)
Код:
SetTimer("health_regen",60*1000,true);
Код:
public health_regen(playerid) { new Float:health; GetPlayerHealth(playerid,health); if (health < 100) // { SetPlayerHealth(playerid,health+1); } }
Код:
forward health_regen(playerid)

-Vince