AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   Kill Bonus (https://forums.alliedmods.net/showthread.php?t=29196)

Kensai 05-31-2006 16:46

Kill Bonus
 
3 Attachment(s)
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

bmann_420 05-31-2006 17:09

SO its kinda like HS repay except its kill repay. :D Not too shabby :D
(I downloaded the 1st one! :up: )

Kensai 05-31-2006 17:14

W00t!

bmann_420 05-31-2006 17:15

SUch a quick poster you are. :D

Kensai 05-31-2006 17:16

Of course.

ThomasNguyen 05-31-2006 18:03

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. :D good job.

Martin1 06-04-2006 08:28

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

Hawk552 06-04-2006 08:41

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 }

Kensai 06-04-2006 13:36

Lol oops. Thanks for pointing that out.

SubStream 06-30-2006 21:14

Re: Kill Bonus
 
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!


All times are GMT -4. The time now is 12:55.

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