Health and Armor Textdraw
#2

Well, personally to create textdraws I find it much easier to use Zamaroht's Textdraw Editor (You can find edited versions of this that allow you to also place sprites - just search the forums). You can create the textdraws how you would like, to show health/armor you can simply hide/show certain textdraws indicating the amount of health a player has (In my case, I used bars although you can show it however you would like).

And yes you can use OnPlayerUpdate, but this is called very frequently and could cause some lag. Your best option would be to create a timer, and check the health via that as you can define how often it is called.

Edit: To add on to the post below, without bumping the topic again, you could use foreach (Which would be more efficient) to loop through the players.
Reply


Messages In This Thread
Health and Armor Textdraw - by ToiletDuck - 27.07.2013, 01:22
Re: Health and Armor Textdraw - by NotIntegrated - 27.07.2013, 02:20
Re: Health and Armor Textdraw - by -Prodigy- - 27.07.2013, 06:19

Forum Jump:


Users browsing this thread: 1 Guest(s)