Raised This Month: $51 Target: $400
 12% 

Health Bar --> Full Updated <-- ( 3.0 )


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
bboygrun
CHOMP
Join Date: May 2010
Location: France
Old 12-20-2011 , 13:13   Health Bar --> Full Updated <-- ( 3.0 )
Reply With Quote #1

PLUGIN : Health Bar


: | Description | :

This plugin displays the player's health with a sprite which is above him.
You can see a video which show how it is : http://www.youtube.com/watch?v=CMQXeEwVteY

: | Cvars | :


~~> health_ShowMode ( Default : 1 )
[ You can set this cvar to | 0 - 1 - 2 | ]

0 : Don't show health bars
1 : Terrorists can see terrorists players health bar and CTs can see CTs players health bar
2 : Everybody can see health bars

~~> health_BotSupport ( Default : 1 )
[ You can set this cvar to | 0 - 1 | ]

0 : Don't show bots' health bars
1 : Show bots' health bars

~~> health_ShowToSpectators ( Default : 1 )
[ You can set this cvar to | 0 - 1 | ]

0 : Spectators can't see health bars
1 : Spectators see health bars

: | Credits | :

ConnorMcLeod : For a lot of optimizations.

Players can write /hb on the chat to enable/disable the health bars for them.

I hope you will enjoy this plugin .
Attached Files
File Type: zip sprites.zip (11.8 KB, 3620 views)
File Type: sma Get Plugin or Get Source (health_bar.sma - 5186 views - 5.3 KB)
__________________

Last edited by bboygrun; 02-17-2012 at 19:06.
bboygrun is offline
pacheco
Senior Member
Join Date: Jul 2011
Old 12-20-2011 , 13:19   Re: Health Bar
Reply With Quote #2

Nice! Good plugin
__________________



pacheco is offline
m0skVi4a
Senior Member
Join Date: May 2011
Location: Rousse, Bulgaria
Old 12-20-2011 , 13:27   Re: Health Bar
Reply With Quote #3

Nice!
m0skVi4a is offline
Send a message via Skype™ to m0skVi4a
bboygrun
CHOMP
Join Date: May 2010
Location: France
Old 12-20-2011 , 13:43   Re: Health Bar
Reply With Quote #4

EDIT : Everything should be fixed now.
__________________

Last edited by bboygrun; 12-20-2011 at 13:58.
bboygrun is offline
pewex
Senior Member
Join Date: Dec 2010
Location: AlliedMods
Old 12-20-2011 , 14:17   Re: Health Bar
Reply With Quote #5

Very Nice !
pewex is offline
pewex
Senior Member
Join Date: Dec 2010
Location: AlliedMods
Old 12-20-2011 , 14:50   Re: Health Bar
Reply With Quote #6

hhmm, zombie servers do not work, does not work, move blocks - zombies 4000 hp does not show the green belt...
pewex is offline
bboygrun
CHOMP
Join Date: May 2010
Location: France
Old 12-20-2011 , 14:54   Re: Health Bar
Reply With Quote #7

Did you set the cvar health_CheckValue to 1 ?
__________________
bboygrun is offline
TheArmagedon
Senior Member
Join Date: Sep 2010
Location: Unknown Source
Old 12-20-2011 , 15:03   Re: Health Bar
Reply With Quote #8

You can add some features, example:
if health is 15- then health bar is red.
if health is 30- then health bar is blue.
if health is 30-100 then health bar is green.
TheArmagedon is offline
bboygrun
CHOMP
Join Date: May 2010
Location: France
Old 12-20-2011 , 15:05   Re: Health Bar
Reply With Quote #9

It took a lot of time to do this sprite , but i will do others sprites with your features and anothers features later.

EDIT :
Quote:
Originally Posted by pewex View Post
hhmm, zombie servers do not work, does not work, move blocks - zombies 4000 hp does not show the green belt...
I tested it and it works for me.
__________________

Last edited by bboygrun; 12-20-2011 at 15:05.
bboygrun is offline
pewex
Senior Member
Join Date: Dec 2010
Location: AlliedMods
Old 12-20-2011 , 15:15   Re: Health Bar
Reply With Quote #10

Quote:
Did you set the cvar health_CheckValue to 1 ?
yes, screen problem http://img4.**************/img4/4307/srecrr.png

Last edited by pewex; 12-20-2011 at 15:17.
pewex is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:08.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode