SA-MP Forums Archive
[FilterScript] [FS] Colored health bar - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] [FS] Colored health bar (/showthread.php?tid=66547)



[FS] Colored health bar - Backwardsman97 - 22.02.2009

Colored health bar



It is a simple textdraw that over-lays the health bar. There are two versions: blue and green. It works in increments of ten. So if you have 90 or above health, it is full. 80 or above, it has a chunk missing. I might could add some more colors if requested. Please report any bugs and enjoy.

Green

Pastebin

Blue

Pastebin

Maybe in an update, I will make the armor like this too.


Re: [FS] Colored health bar - oOChazyBoyOo - 22.02.2009

lol nice


Re: [FS] Colored health bar - JaYmE - 22.02.2009

Very nice, backwardsman97


Re: [FS] Colored health bar - Weirdosport - 22.02.2009

You could make it so the colour of the textdraw is defined at the top (assuming it isn't) and then the players can introduce any colour they want themselves (assuming they can compile it).

You could even provide a list of pre-defined colours so they can swap whenever they want =)


Re: [FS] Colored health bar - x-cutter - 22.02.2009

Quote:
Originally Posted by JaYmE
Very nice, backwardsman97
yep, indeed.

Might use it


Re: [FS] Colored health bar - Backwardsman97 - 22.02.2009

Glad you like it. I would include something like that, but the background color and the main color, are two different things. So if you just changed them both to the same thing, it wouldn't look right.


Re: [FS] Colored health bar - pumpkin - 23.02.2009

Quote:
Originally Posted by Weirdosport
You could make it so the colour of the textdraw is defined at the top (assuming it isn't) and then the players can introduce any colour they want themselves (assuming they can compile it).

You could even provide a list of pre-defined colours so they can swap whenever they want =)
He cant.. it is converted from MTa ....

am i right?


Re: [FS] Colored health bar - boylett - 23.02.2009

Quote:
Originally Posted by pumpkin
Quote:
Originally Posted by Weirdosport
You could make it so the colour of the textdraw is defined at the top (assuming it isn't) and then the players can introduce any colour they want themselves (assuming they can compile it).

You could even provide a list of pre-defined colours so they can swap whenever they want =)
He cant.. it is converted from MTa ....

am i right?
No :P

Quote:
Originally Posted by Weirdosport
You could make it so the colour of the textdraw is defined at the top (assuming it isn't) and then the players can introduce any colour they want themselves (assuming they can compile it).

You could even provide a list of pre-defined colours so they can swap whenever they want =)
I downloaded the blue one, in that you can just search for 0x0000ff33 and change it to anything you want.


Re: [FS] Colored health bar - Synkro93 - 23.02.2009

better make it, like if health is:
100% and around it - GREEN
75% and around it - YELLOW
50% and around it - ORANGE
25% and below - RED
that would be cool


Re: [FS] Colored health bar - Nimphious - 23.02.2009

I like the blue, reminds me of mta :P