Raised This Month: $12 Target: $400
 3% 

Kill Bonus


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Fun Stuff       
Kensai
Veteran Member
Join Date: Aug 2005
Location: San Diego, California
Old 05-31-2006 , 16:46   Kill Bonus
Reply With Quote #1

Kill Bonus


Description

Everytime a player kills someone they get a bonus of (Default 20 HP) added to their current HP. This is helpful especially for those big servers where its impossible to kill more than several people before dying.

CVARs

amx_kill_bonus <hp> - Defines the amount of hp added to the player every kill. (Default = 20)
amx_kb_limit <hp limit> - Defines the max. hp a player can get. (Default = 100)

Modules

Fun
Attached Files
File Type: sma Get Plugin or Get Source (kill_bonus.sma - 2900 views - 589 Bytes)

Last edited by Kensai; 03-02-2007 at 17:58.
Kensai is offline
Send a message via AIM to Kensai Send a message via MSN to Kensai
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 05-31-2006 , 17:09  
Reply With Quote #2

SO its kinda like HS repay except its kill repay. Not too shabby
(I downloaded the 1st one! )
__________________
bmann_420 is offline
Kensai
Veteran Member
Join Date: Aug 2005
Location: San Diego, California
Old 05-31-2006 , 17:14  
Reply With Quote #3

W00t!
Kensai is offline
Send a message via AIM to Kensai Send a message via MSN to Kensai
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 05-31-2006 , 17:15  
Reply With Quote #4

SUch a quick poster you are.
__________________
bmann_420 is offline
Kensai
Veteran Member
Join Date: Aug 2005
Location: San Diego, California
Old 05-31-2006 , 17:16  
Reply With Quote #5

Of course.
Kensai is offline
Send a message via AIM to Kensai Send a message via MSN to Kensai
ThomasNguyen
Senior Member
Join Date: May 2006
Old 05-31-2006 , 18:03  
Reply With Quote #6

Pretty good idea. I like when plugins like this have some type of "Special" prize. like something not basic such as health. Cool weapons for example. good job.
__________________
ThomasNguyen is offline
Martin1
BANNED
Join Date: May 2006
Old 06-04-2006 , 08:28  
Reply With Quote #7

I like it but it's a one liner.... so basically it's one line.
Perhaps have an option whether to do per kill or per hitbox
Martin1 is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 06-04-2006 , 08:41  
Reply With Quote #8

What I find funny is that this plugin is 376 bytes, yet you didn't even check if the attacker is a real player (kill in console will cause a runtime error)

Code:
public hp_up(id) {     new attacker = read_data(1)         if(!attacker || !is_user_alive(attacker))         return PLUGIN_CONTINUE     set_user_health(attacker, get_user_health(attacker) + get_cvar_num("amx_kill_bonus"))     return PLUGIN_CONTINUE }
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
Kensai
Veteran Member
Join Date: Aug 2005
Location: San Diego, California
Old 06-04-2006 , 13:36  
Reply With Quote #9

Lol oops. Thanks for pointing that out.
Kensai is offline
Send a message via AIM to Kensai Send a message via MSN to Kensai
SubStream
Veteran Member
Join Date: Aug 2005
Location: USA
Old 06-30-2006 , 21:14   Re: Kill Bonus
Reply With Quote #10

Any updates on this plugin??? Sounds useful for big servers where there's massive killing going on... Any plans for anything else or is this the final release?? Good work so far man!
SubStream 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 06:37.


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