I got a request from someone to make it so BK was cheaper and could do a few more things, so i went to work on the source. The result of it is this Brass Knuckles 2.0
Original Plugin by Cheap_Suit
I only edited a few things and added some more functionality to it.
You can find the original here: http://forums.allied...ead.php?t=23859
New Features:
CVARs for costautomatic show up of BK if knife is out
Server-wide message to say a user bought BK
Help messages
More /buybk commands (make not case sensitive)
Ability to make BK default, instead of knife
Color! Who doesn't love color?
NOTE: now requires AMX mod X version 1.8 and above.
***************
CVARs
***************
bk_printall 1 // <0|1> toggle printing the purchase of BK server wide
bk_cost 2500 // <-1-16000> sets the cost of BK (-1 to make them permanent -replace knife)
***************
MODULES
***************
amxmodx
cstrike
fakemeta
engine
colorchat (an include file by ConnorMcLeod)
***************
THANKS!
***************
Cheap_Suit: Original plugin
eFrigid: Posting the original plugin & source
Thread: http://forums.allied...ead.php?t=23859
ConnorMcLeod: <colorchat> include file (to print colors in messages)
Source: http://forums.allied...ad.php?t=183388
MarionMan_420 and KGN: giving me a test server and getting me to do this
Liverwiz: That's Me! For adding what i did.
******************
INSTALLATION
******************
Download .sma and .inc and compile on client (unless an admin wants to post the compiled)
put sound files in /sound/bknuckles/ folder
put models in /models/ folder
put your compiled .amxx file into /addons/amxmodx/plugins/ folder
add liver_brass.amxx to the end of your plugins.ini
add CVARs to amx.cfg file (or equivalent)
profit
Attached Files



Wyświetl pełny artykuł