Raised This Month: $209 Target: $400
 52% 

Health Display by Exolent


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   General Purpose        Approver:   GHW_Chronic (70)
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 04-16-2007 , 22:16   Health Display by Exolent
Reply With Quote #1

Health Display
Version 11.1
by Exolent

Introduction:
  • This plugin displays a players true health whenever it is changed.
  • This was mainly designed for kz and surf servers in Counter-Strike 1.6 where players use "health givers."
  • Since the HUD health loops after 255, players do not know their true health, unless this plugin is running.

Client Commands:
  • say /health
    - Displays player's current health

Cvars:
  • health_on <0|1>
    • 0=PLUGIN IS OFF
    • 1=PLUGIN IS ON
  • health_time <time>
    - time in seconds that the player's health is displayed
  • health_color <0|1|2>
    - type of color to be displayed for the text
    • 0=WHITE
    • 1=CUSTOM (health_custom cvar)
    • 2=RANDOM
  • health_custom <RRR GGG BBB>
    - RGB format for custom color for text being displayed
    • RRR=RED COLOR CODE
    • GGG=GREEN COLOR CODE
    • BBB=BLUE COLOR CODE
  • health_effects <0|1|2>
    - effects for the text being displayed
    • 0=NO EFFECTS
    • 1=FLICKERING TEXT
    • 2=TEXT PRINTS OUT
  • health_always <0|1>
    - should your current health always be shown
    • 0=ONLY SHOW HEALTH WHEN CHANGED
    • 1=ALWAYS SHOW HEALTH

Screenshots:
  • Screenshot 1
    - Health of 58687 with yellow custom color and no effects.
  • Screenshot 2
    - Health of 50072 with yellow custom color and flickering effect.
Attached Files
File Type: sma Get Plugin or Get Source (health_display.sma - 5984 views - 3.1 KB)
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!

Last edited by Exolent[jNr]; 10-09-2008 at 16:41. Reason: updated to v11.1
Exolent[jNr] is offline
vvg125
AMX Mod X Beta Tester
Join Date: Dec 2006
Location: Queens (Douglaston), New
Old 04-16-2007 , 22:25   Re: Health Shower
Reply With Quote #2

You don't need to upload the .amxx file. I'll be trying this on my 24/7 surf server shortly.
__________________
vvg125 is offline
Send a message via AIM to vvg125 Send a message via MSN to vvg125 Send a message via Yahoo to vvg125
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 04-16-2007 , 23:14   Re: Health Shower
Reply With Quote #3

i found a bug that im fixing atm.
its showing the "[AMXX] Type blah blah..." too many times
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-16-2007 , 23:45   Re: Health Shower
Reply With Quote #4

Also, you should use pcvars.
__________________
Arkshine is offline
regalis
Veteran Member
Join Date: Jan 2007
Old 04-17-2007 , 07:34   Re: Health Shower
Reply With Quote #5

Good and unique idea!
Very usefull for kz-maps

greetz regalis
__________________
regalis is offline
Dark Kingdom
BANNED
Join Date: Apr 2007
Location: VT
Old 04-17-2007 , 08:02   Re: Health Shower
Reply With Quote #6

Good job.
Dark Kingdom is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 04-17-2007 , 08:37   Re: Health Shower
Reply With Quote #7

@arkshine: as u can tell, this is my first plugin, so i know nothing to little about pcvars. not sure what they are or how they work.

also, log_amx will be added in next version.
thx to all.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
godlike
Senior Member
Join Date: Apr 2005
Old 04-17-2007 , 13:18   Re: Health Shower
Reply With Quote #8

sounds cool but can you add a screenshot plz ?
__________________
Read the rules before posting something stupid: click here

Any questions about amxx PM me
godlike is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 04-17-2007 , 16:28   Re: Health Shower
Reply With Quote #9

no problem.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
datwinkle
BANNED
Join Date: May 2006
Location: Virginia
Old 04-17-2007 , 17:47   Re: Health Shower
Reply With Quote #10

where the sma?
datwinkle is offline
Send a message via AIM to datwinkle
Reply


Thread Tools
Display Modes

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 11:49.


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