View Single Post
Plugin Info:     Modification:          Category:         
Blizzard_87
Veteran Member
Join Date: Oct 2012
Old 06-19-2014 , 09:26   HitZone HP On Kill ( 19/06/2014 )
Reply With Quote #1

HitZone HP On Kill
v0.0.1
By Blizzard_87

ThreadStart

With This Plugin You Can Set The Amount Of Health Points A Player Gets Per Kill Depending On Which HitZone Caused The Death.

This Plugin Supports RPG Mods i.e ( Zombie Plague ), By Setting amx_health_mode to "1", it checks players health on spawn to get the max hp for use with the calculation of hp reward.

Reward HP is calculated, i.e: if a player has 73HP then kills victim and receives the hitzone reward of 40HP and the max hp is set to 100HP, the player will only recieve 27HP instead of the 40, as to not go over the max hp requirement.
HitZone HP Rewards:
  • amx_health_hitzone "10 10 10 10 10 10 10 10"
HitZone Cvar Legend: Generic Head Chest Stomach LeftArm RightArm LeftLeg RightLeg
Health Max Mode:
  • amx_health_mode "0"
  • 0 - Uses Default amx_health_max Cvar
  • 1 - Checks Players Health On Spawn ( For Use With RPG Mods )
Max Health:
  • amx_health_max "100"
Maximum Health When amx_health_mode Is Set To "0"
Blizzard_87 - Original Idea/Coder
CHANGE LOG

ThreadEnd
.
Attached Files
File Type: sma Get Plugin or Get Source (HzHp_On_Kill.sma - 2045 views - 4.5 KB)
__________________

Last edited by Blizzard_87; 04-25-2015 at 12:58.
Blizzard_87 is offline