I added code to add armor on killing a player, i work and modified over the
1st modification by TnTSCS 'cause i need it for my DM server.
sm_kb_version 1.1.
2
CVar to control the plugin are:
sm_kb_enabled 1 = on (default), 0 = off
sm_kb_health_normal Amount of health to add on a kill (default = 20)
sm_kb_health_headshot Amount of health to add on a headshot kill (default = 30)
sm_kb_health_knife Amount of health to add on a knife kill (default = 50)
sm_kb_health_limit The limit of health to reach (default = 100)
sm_kb_armor_normal Amount of armor to add on a kill (default = 10)
sm_kb_armor_headshot Amount of armor to add on a headshot kill (default = 20)
sm_kb_armor_knife Amount of armor to add on a knife kill (default = 30)
sm_kb_armor_limit The limit of armor to reach (default = 100)
And remove the message of how much healt you get on a kill. May be will be needed, because 1000 of healt will not showed in the bottom of the screen.
Edit:- Fixed Error.
- Check if the added health or armor is less than 0, then do nothing.
- Version = 1.1.2
--------------------------------------------------------------------------------------------
MarceCSS - Irq []