Knife Healing by Ven
3 Attachment(s)
ORIGINAL "Knife_Healig" BY VEN
I saw a similar plugin in a server (Genesis server) and I wanted it but I couldnīt find it anywhere, then I found this one in "Suggestions / Requests" that it was barely close to the one i wanted and started to edit the source to finally get this.. DESCRIPTION This pluging has and advantage and a disadvantage, it heals you up to 75 HP, but you have to take out your knife and type /heal. If you change to another weapon you have to switch back to your knife and type /heal again. When you are healing a sound is played and only players within a certain distance will be able to hear it, so you better keep runing, because if you hide somewhere the sound will reveal your position. COMMANDS - say /heal (/curar in spanish) to gain hp - you better bind this command Ex: bind "k" "say /heal" - to bind a key you must do it in your console - say /healhelp - displays a motd window with all the help - multi-language support - amx_knifeheal_addhealth - this cvar changes the amount of hp you will get every 4 secconds - default value "4" - amx_knifeheal_maxhealth - this cvar sets the maximum hp you can get when healing - default value "75" INSTALLATION * Place "Knife_Healing.amxx" into "\cstrike\addons\amxmodx\plugins" * Then put the text file into "\cstrike\addons\amxmodx\data\lang" - This file is needed for the plugin to show text, hud messages and the help motd. * Go to "\cstrike\addons\amxmodx\configs" look for the file "plugins.ini" and add this line (without the quotes) "Knife_Healing.amxx" * Save changes and restart your server. MODULES REQUIRED <fun> Credits go to "Genesis and his server (where I saw it)" "Ramono" for giving the idea "Ven" for making the very first plugin and found some errors "ZeonSoldier" for optimizing code "Hawk552" for optimizing code & helped with the motd "spunko" edited the code, added some stuff Code:
The .txt file goes into amxmodx/data/lang folder. |
Nice idea, I can tell you will get more out of this plugin. +3 Karma.
|
thanx.. i hope you like it..
thanx for the karma too... :D |
Code:
|
useless, thanx for the observation..
*Updated (see the first post) - Now with Multi-language support, Enlgish and Spanish at the moment * I need help with more languages, any help will be apreciate it. Thanx a lot. |
good
interesting.. will try it on my server see how it goes
|
*Updated (see the first post)
CHANGES V 1.0.1!! - Help motd window - multi-language support by the command of: say /healhelp - Print a message every 8 minutes with the help command - Edited the language file (knife_healing.txt) |
Quote:
I have absolutely no idea why did you think that fakemeta is required here. |
Quote:
Quote:
thanx for taking a look at the code.. *Edited :D |
Spunko, easiest way to know what it needs to compile is add the bare minimum and if it doesn't compile, add 1 at a time. If not then, the plugin has errors. :)
|
All times are GMT -4. The time now is 17:04. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.