01.03.2014, 18:01
~fixed~
forward Regeneration(); public Regeneration() { for(new playerid = 0; playerid < MAX_PLAYERS; playerid++) { if(team[playerid] == TEAM_ZOMBIE) { new Float:PHealth; GetPlayerHealth(playerid, PHealth); if(PHealth < 100) { SetPlayerHealth(playerid, GetPlayerHealth(playerid, PHealth)+2); } } } return 1; }