SA-MP Forums Archive
Health bar style. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Health bar style. (/showthread.php?tid=560768)



Health bar style. - PrinceOfPersia - 30.01.2015

Guys, I am wondering how do I change the health and armor bar styles, I searched on samp wiki but did not find it though.

In example:



Red = Health, White = Armor.


Re: Health bar style. - CalvinC - 30.01.2015

Use textdraws, GetPlayerHealth and GetPlayerArmour, so it'll etc. show the first textdraw (The first circle blob) if the player's health is over 9 HP, and show the next if the HP is over 19 or something like that.