PDA

View Full Version : DoD Melee Bonus (v1.0)


diamond-optic
08-17-2006, 12:11 AM
DoD Melee Bonus
- Version 1.0
- 06.28.2008
- original: FireStorm
- updated: diamond-optic

Information:

- Gain health for melee kills

- Server List: http://www.game-monitor.com/search.php?rulename=dod_meleebonus_stats


CVARs:

dod_meleebonus "1" //Turn On(1)/Off(0)
dod_meleebonus_hp "10" //health to add for each melee kill


Version Info:

- unknown date Version 0.5beta
FireStorm's version

- 08.16.2006 Version 0.6beta
Reposted plugin
Added pcvars
Got rid of extra code
Added is_user_connected check

- 06.28.2008 Version 1.0
Removed beta status
Removed an incorrect (and unneccesary) return
Improved code a little bit
Renamed CVARs
Changed a variable to a static


DOWNLOAD MIRROR: http://www.avamods.com/download.php?view.48

brandon99
11-22-2006, 07:38 PM
Awesome Plugin!

RAOCKFISH
12-02-2006, 06:32 AM
lol can someone give me the example of how to get 40 health per kill is it like this:

// meleebonus_enabled 1
//
// meleebonus_givehealth 40

It basicly works but gives ten health which is probably what its automaticaly set one right?

=|[76AD]|= TatsuSaisei
12-02-2006, 10:04 AM
lol can someone give me the example of how to get 40 health per kill is it like this:

// meleebonus_enabled 1
//
// meleebonus_givehealth 40

It basicly works but gives ten health which is probably what its automaticaly set one right?

as Zor stated in one of your other posts about this similar problem... you must remove the // before any cvar you wish to use... the // are "special" characters that signify a line to be ignored... therefore you are effectively having amxx ignore your custom settings... simply remove the // from any cvar you use...

blobby
05-27-2007, 11:55 AM
Great stuff ive just put this on our server and it works a treat well made !! ++KARMA

HoTsHoT
05-30-2007, 07:39 AM
might be a good idea to have the option to give a nade and/or ammo aswell as health

zak1212
07-25-2007, 08:28 AM
Great plugin

Im no programmer but what would i have to do to the sma to play a wav file along with gaining the bonus

sorry if this is impertanant.!

=FFC=

blobby
08-01-2007, 10:57 AM
dam yeah good idea it would be cool to have a small sound in there but for those who run stats sounds it would be hard because you have humiliation.wav that plays on a melee kill

ssteelster
08-08-2007, 01:30 PM
I can't seem to compile this for 1.60 amxx , There is errors and its for my linux server.

MBosta
08-08-2007, 01:47 PM
1.6? Damn man, get with the program and upgrade to at least 1.75 +

ssteelster
08-08-2007, 01:51 PM
upgrading is a pain, can anyone get the amxx 1.60 to work?

diamond-optic
08-08-2007, 08:52 PM
1.60 is pretty old..

but lucky you.. the only thing that seems to be stopping the compiling is pcvars which werent added till after 1.60, and since its such a small plugin and only needs very minor changes to make it compile under 1.60 i'll be nice enough to make the changes lol.. try the file attached to this post

{DwP} 325th ABN
10-10-2007, 08:44 PM
oh i am so on this one, nice comcept great idea ty

heezay
10-17-2007, 04:29 AM
pretty cool

diamond-optic
07-27-2008, 09:33 PM
updated to version 1.0


- 06.28.2008 Version 1.0
Removed beta status
Removed an incorrect (and unneccesary) return
Improved code a little bit
Renamed CVARs
Changed a variable to a static