Health Regen
#1

Код:
for(new i = 0; i < MAX_PLAYERS; i++)
	{
	    if(gTeam[i] == EHUMANO)
		{
			if(PlayerInfo[i][jProfesion] == 4)
			{
			    new Float:PlayerHealth;
			    new Health = GetPlayerHealth(i, PlayerHealth);
			    if(Health < 79)
				{
			    	SetPlayerHealth(i, PlayerHealth+3);
			   	}
Alright so I'm not understanding why it's bugging out hardcore. I was wondering if anyone could re-code this small function in order for it to properly work?
Reply


Messages In This Thread
Health Regen - by Oh - 28.08.2011, 22:31
Re: Health Regen - by LetsOWN[PL] - 29.08.2011, 01:27
Re: Health Regen - by Oh - 05.09.2011, 07:37
Re: Health Regen - by =WoR=Varth - 05.09.2011, 07:42

Forum Jump:


Users browsing this thread: 2 Guest(s)