SA-MP Forums Archive
[FilterScript] [FS] Colored Health Bar (v.4 ?) - 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 (v.4 ?) (/showthread.php?tid=153255)

Pages: 1 2 3


[FS] Colored Health Bar (v.4 ?) - OKStyle - 08.06.2010

I saw works of Baked-Banana aka backwardsman97, but I was interested in a comment:
Quote:
Originally Posted by ☮ DJDeegu ☮
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
And today i'm did it. Bar updates every 5 HPs.

Screens of bar:


Link:
http://solidfiles.com/d/951f8/


Re: Colored Health Bar (v.4 ?) - MisterTickle - 08.06.2010

I likey, I likey. I'm going to be using it, Cheers.

Looks better than just red.


Re: [FS] Colored Health Bar (v.4 ?) - DJDhan - 08.06.2010

Very nice FS OKStyle.


Re: [FS] Colored Health Bar (v.4 ?) - [LDT]LuxurY - 08.06.2010

nice one


Re: [FS] Colored Health Bar (v.4 ?) - siwarak - 08.06.2010

Very Nice


Re: [FS] Colored Health Bar (v.4 ?) - BloodDevil - 08.06.2010

OKStyle very nice=) good job boy)


Re: [FS] Colored Health Bar (v.4 ?) - Hip-hop - 08.06.2010

Nice ! but OnPlayerUpdate .... xD


Re: [FS] Colored Health Bar (v.4 ?) - ~Ricky~ - 08.06.2010

pretty nice


Re: [FS] Colored Health Bar (v.4 ?) - Jackster - 08.06.2010

Brilll I was looking for something like this !!!


Re: [FS] Colored Health Bar (v.4 ?) - Shadow_ - 08.06.2010

Seeing as you went on Baked-Bananas script and posted your thread...

This one is so much better Updates when any health is taken off... like the Normal Health bar


Re: [FS] Colored Health Bar (v.4 ?) - MrEnd - 08.06.2010

Me like :M
I gone use this


Re: [FS] Colored Health Bar (v.4 ?) - Backwardsman97 - 08.06.2010

The only problem is that all you created at the top is this.

pawn Код:
new Text:HealthBar[19];
So the textdraw would only work with 1 player in the server.


Re: [FS] Colored Health Bar (v.4 ?) - rbN. - 08.06.2010

cool.

heres mirror:

http://pastebin.com/XpdDMAb4

^^. dunno why i posted :>


Re: [FS] Colored Health Bar (v.4 ?) - RyDeR` - 08.06.2010

Why u create a lot of textdraws ? What you have to do is create only 2 textdraws for all players and use TextDrawBoxColor.


Re: [FS] Colored Health Bar (v.4 ?) - Tr1viUm - 08.06.2010

I do agree OnPlayerUpdate is a bit overkill.

Quote:
Originally Posted by Baked-Banana
The only problem is that all you created at the top is this.

pawn Код:
new Text:HealthBar[19];
So the textdraw would only work with 1 player in the server.
And you're completely wrong! The textdraws are not changing so he doesn't have to create them for every player. You're confused with textdraws that frequently change. (For example: speedometer)

Quote:
Originally Posted by » RyDeR «
Why u create a lot of textdraws ? What you have to do is create only 2 textdraws for all players and use TextDrawBoxColor.
Let me do some maths. Assuming it has to compatible with 500 players then two textdraws for every player will be 1000 textdraws!


Re: [FS] Colored Health Bar (v.4 ?) - OKStyle - 08.06.2010

Quote:
Originally Posted by Hip-hop
Nice ! but OnPlayerUpdate .... xD
What is wrong to use internal timer?

Quote:
Originally Posted by » RyDeR «
Why u create a lot of textdraws ? What you have to do is create only 2 textdraws for all players and use TextDrawBoxColor.
I have 1 black background, background of health, and line of health... I'm used "_", cause another symbols don't worked on pseudo-license games, like localisations by 1C for Russia... And, for a certain amount of healh i'm used personal textdraw. So I decided to have the problem of personalized TD.

Quote:
Originally Posted by Baked-Banana
So the textdraw would only work with 1 player in the server.
No. I'm just show the desired TD at the right time.


Re: [FS] Colored Health Bar (v.4 ?) - mattym - 08.06.2010

Awesome!


Re: [FS] Colored Health Bar (v.4 ?) - RyDeR` - 08.06.2010

Quote:
Originally Posted by OKStyle
I have 1 black background, background of health, and line of health... I'm used "_", cause another symbols don't worked on pseudo-license games, like localisations by 1C for Russia... And, for a certain amount of healh i'm used personal textdraw. So I decided to have the problem of personalized TD.
Deleted. nvm.


Re: [FS] Colored Health Bar (v.4 ?) - [NY]Jets - 08.06.2010

wow love it thx


Re: [FS] Colored Health Bar (v.4 ?) - Backwardsman97 - 09.06.2010

Quote:
Originally Posted by [MOB
Tr1viUm ]
I do agree OnPlayerUpdate is a bit overkill.

Quote:
Originally Posted by Baked-Banana
The only problem is that all you created at the top is this.

pawn Код:
new Text:HealthBar[19];
So the textdraw would only work with 1 player in the server.
And you're completely wrong! The textdraws are not changing so he doesn't have to create them for every player. You're confused with textdraws that frequently change. (For example: speedometer)
Lol. I see how he did it now. Well he said it was based off of mine. I just figured he tried to do it the same way.