~fixed~
#2

Код:
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;
}
u have used that float before , change it , use it like i've show you
Reply


Messages In This Thread
~fixed~ - by Blackazur - 01.03.2014, 18:01
Re: Health - by SDLMMM - 01.03.2014, 18:07
Re: Health - by DeStunter - 01.03.2014, 18:08
Re: ~fixed~ - by TLN - 01.03.2014, 18:17
AW: ~fixed~ - by Blackazur - 01.03.2014, 18:18
Re: ~fixed~ - by SDLMMM - 01.03.2014, 18:37

Forum Jump:


Users browsing this thread: 1 Guest(s)