Thursday, March 6, 2014

Knife It Up v2.0

I have noticed that players are crazy about killing any enemy player with a knife. Knife It Up is a plugin for AMX Mod X. This plugins allows to print a custom message to everyone (HUD) which tells them who was knifed by whom. It can also optionally give that player extra frags and/or additional health depending on the cvar values. HUD Messages are in random colors and the text message color can be customized from the language file by using !g for green, !t for team-color and !n for normal color.

Edit (24-12-2013 10:10 PM) : Added mp3 version of this plugin with 1 additional cvar. Default sound file also attached. You can change the cvar to whatever mp3 file you want.
INSTALLATION
  • Copy knifeitup.amxx or knifeitup_sound.amxx to addons/amxmodx/plugins folder.
  • Edit addons/amxmodx/configs/plugins.ini and add knifeitup.amxx orknifeitup_sound.amxx in it on a new line.
  • Restart the server or change the map for changes to take effect.
  • The language file addons/amxmodx/data/lang/knifeitup.txt is automatically created the first time you run this plugin on your server.
  • Edit the lang file according to your needs.


CVARS
  • amx_knifeitup_health - Number of health to give the killer in case of a knife kill. Keep 0 to disable this feature.
     
  • amx_knifeitup_frags - Number of frags to give the killer in case of a knife kill. Keep 0 to disable this feature.
     
  • amx_knifeitup_mp3 "sound/knifeitup.mp3" - Location of the mp3 file to be played when knifed. (Works only for knifeitup_sound.amxx). Keep blank to disable.


DOWNLOAD

Servers Using This Plugin

NoteIf you get any problems with this plugin or find out any bugs in it, please use this page to report them back to me so that I can fix them.

No comments:

Post a Comment