Textdraw troubles
#4

Код:
forward energytimer();
public energytimer()
{
	for(new i; i<MAX_PLAYERS; i++)
	{
		GetPlayerHealth(i,energy[i]);
		if(energy[i]>=5)
		{
			SetPlayerHealth(i,energy[i]-5);
			TextDrawShowForPlayer(i,noenergy[0]);
			TextDrawShowForPlayer(i,noenergy[1]);
		}
		else
		{
			TogglePlayerControllable(i,0);
			TextDrawShowForPlayer(i,noenergy[1]);
		}
	}
	return 1;
}
this shows up both textdraws. the upper is slightly too long, but it works.
Reply


Messages In This Thread
Textdraw troubles - by bartje01 - 07.01.2011, 12:17
Re: Textdraw troubles - by bartje01 - 07.01.2011, 13:05
Re: Textdraw troubles - by bartje01 - 07.01.2011, 17:54
Re: Textdraw troubles - by Babul - 07.01.2011, 19:37
Re: Textdraw troubles - by bartje01 - 07.01.2011, 20:27
Re: Textdraw troubles - by Kitten - 07.01.2011, 20:31
Re: Textdraw troubles - by bartje01 - 07.01.2011, 20:34
Re: Textdraw troubles - by Kitten - 07.01.2011, 20:36
Re: Textdraw troubles - by bartje01 - 07.01.2011, 20:36
Re: Textdraw troubles - by Kitten - 07.01.2011, 20:40

Forum Jump:


Users browsing this thread: 2 Guest(s)