Raised This Month: $99 Target: $400
 24% 

HitZone HP On Kill ( 19/06/2014 )


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff       
Blizzard_87
AlliedModders Donor
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 - 1287 views - 4.5 KB)
__________________

Last edited by Blizzard_87; 04-25-2015 at 12:58.
Blizzard_87 is offline
Old 06-19-2014, 09:29
Blizzard_87
This message has been deleted by Blizzard_87.
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 06-19-2014 , 09:31   Re: HitZone HP On Kill ( 19/06/2014 )
Reply With Quote #2

Good job as usual.
__________________
Kia is offline
Blizzard_87
AlliedModders Donor
Join Date: Oct 2012
Old 06-19-2014 , 09:32   Re: HitZone HP On Kill ( 19/06/2014 )
Reply With Quote #3

Quote:
Originally Posted by Kia View Post
Good job as usual.
thanks
__________________
Blizzard_87 is offline
bat
Veteran Member
Join Date: Jul 2012
Old 06-19-2014 , 18:51   Re: HitZone HP On Kill ( 19/06/2014 )
Reply With Quote #4

Very very good idea i like it
bat is offline
Send a message via Skype™ to bat
ArabicMan
Veteran Member
Join Date: Feb 2014
Location: مصر
Old 06-19-2014 , 19:09   Re: HitZone HP On Kill ( 19/06/2014 )
Reply With Quote #5

Good job.
ArabicMan is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 01-14-2016 , 15:08   Re: HitZone HP On Kill ( 19/06/2014 )
Reply With Quote #6

Unapproved per author request.
__________________
HamletEagle is offline
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 15:39.


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