View Single Post
Plugin Info:     Modification:          Category:         
swapped
BANNED
Join Date: Mar 2014
Location: OrpheuRegisterHook
Old 04-16-2014 , 10:16   Glow Health [ v1.2 ]
Reply With Quote #1

GLOW HEALTH
[ v1.2, last updated: 18 apr 2014 ]

[IMG]http://img196.**************/img196/4317/about1q.jpg[/IMG]Description:

Based on this idea i made a new plugin.

This plugin is give a specific glow on a specific health.

If you have 100 health ( or more than 70 ) your glow will be green [this mean you are healthy]
If you have 70 health ( or more than 28 ) you will have Yellow [this mean you are sick]
Else you will have red [this mean you are at the point of death]


NOTE : This is only for cs 1.6 furien/surf/classic mod ! ( Also i recomand to let the default cvar value )


[IMG]http://img20.**************/img20/2184/settings3.png[/IMG]Cvars:
  • gh_bot_show
    • 1 - Bots have glow
      0 - Bots dont have
      Default : 1

    gh_admins
    • 0 - Admins have glow
      1 - Admins dont have
      Default : 0

    gh_team
    • 1 - Only terorist have glow
      2 - Only CT`s have glow
      3 - Only Spectators have glow
      4 - All teams have glow
      Default : 4

    gh_red << 25 >>

    gh_green << 100 >>

    gh_yellow << 75 >>

[IMG]http://img38.**************/img38/4548/changelog1.png[/IMG]Credits:
[IMG]http://img30.**************/img30/5649/lang2.jpg[/IMG]Media:
[IMG]http://img20.**************/img20/2184/settings3.png[/IMG]ChangeLog:
Quote:
v1.2
  • Code rewrited ( +indention )
  • Repair an error ( tag mismach ) ( thanks to Spawner30 )

v1.1
  • Code rewrited ( used a global variabile for check player health )
  • Added cvar gh_team
  • Added cvar gh_admins
v1.0
  • First launch
Attached Files
File Type: sma Get Plugin or Get Source (GlowHealth.sma - 935 views - 2.7 KB)

Last edited by swapped; 04-18-2014 at 08:19. Reason: topic stile
swapped is offline