Raised This Month: $32 Target: $400
 8% 

Damage Money


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   General Purpose        Approver:   Brad (55)
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 04-22-2006 , 21:11   Damage Money
Reply With Quote #1

  • This plugin gets rid of the old CS system of $300 for killing a person. Instead now, you get $X for every damage that you do to the player (set by CVAR) and $X for killing the player (set by CVAR). You can also choose if they get a bonus for the kill and for every headshot.

CVARs:
  • money_per_damage - $ per each damage dealt to a target (Default: 3)
  • money_kill_bonus - Bonus $ you get for killing the target (Default: 100)
    • This plugin automatically takes away the $300 you get for killing a player and gives them whatever this CVAR is set to.
  • money_hs_bonus - Bonus $ for every HS you make (Default: 50)
  • money_after_death - 1=Money after enemy dies | 0=instant (Default: 1)
Attached Files
File Type: sma Get Plugin or Get Source (GHW_Damage_Money.sma - 11547 views - 2.3 KB)

Last edited by GHW_Chronic; 08-04-2008 at 16:42.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Emp`
AMX Mod X Plugin Approver
Join Date: Aug 2005
Location: Decapod 10
Old 04-22-2006 , 21:55  
Reply With Quote #2

nicely done, i made a simple version of this for my server couple months ago. browsed through the code, nicely done
Emp` is offline
Send a message via AIM to Emp` Send a message via MSN to Emp` Send a message via Yahoo to Emp` Send a message via Skype™ to Emp`
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 04-22-2006 , 22:13  
Reply With Quote #3

Interesting concept.
__________________
Brad is offline
X-Tender
New Member
Join Date: May 2006
Old 06-18-2006 , 12:20  
Reply With Quote #4

Hmmm,, the idea por the plugin is great.
But it behaved a little bit strange on my server, we have there CS:CZ and dirring th playing my money grows and suddenly .. dirring the same round .. i lost about 1000$ or more .. o_O ...
X-Tender is offline
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 07-08-2006 , 10:55   Re: Damage Money
Reply With Quote #5

Quote:
Originally Posted by X-Tender
Hmmm,, the idea por the plugin is great.
But it behaved a little bit strange on my server, we have there CS:CZ and dirring th playing my money grows and suddenly .. dirring the same round .. i lost about 1000$ or more .. o_O ...
Absolutely no reason that this should have happened.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Bonesmuggler
Member
Join Date: Sep 2005
Old 09-03-2006 , 19:51   Re: Damage Money
Reply With Quote #6

I just downloaded the amxx for this plugin but I get bad load when i install it. I have the CStrike module on, So I tried to download the sma file to compile it myself and I got these 5 errors:

gwh_damage_money.sma(66) : error 017: undefined symbol "get_pcvar_num"

gwh_damage_money.sma(77) : error 017: undefined symbol "get_pcvar_num"

gwh_damage_money.sma(87) : warning 204: symbol is assigned a value that is neveer used: "mhb"

gwh_damage_money.sma(87) : warning 204: symbol is assigned a value that is neveer used: "mkb"

gwh_damage_money.sma(87) : warning 204: symbol is assigned a value that is neveer used: "mod"

gwh_damage_money.sma(87) : warning 204: symbol is assigned a value that is neveer used: "mpd"

Now the amxmodx I'm running on my server is v1.60. Is this plugin not compatable with that version?

Thanks
Bones
Bonesmuggler is offline
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 09-03-2006 , 20:50   Re: Damage Money
Reply With Quote #7

1.7+
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Old 09-14-2006, 19:27
Bonesmuggler
This message has been deleted by Bonesmuggler.
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 09-14-2006 , 19:40   Re: Damage Money
Reply With Quote #8

why would u post that into this topic? that belongs in the help forum.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Maurice
Senior Member
Join Date: Nov 2006
Location: Netherlands
Old 11-09-2006 , 20:40   Re: Damage Money
Reply With Quote #9

Hmm, when i read what this plugin had supposed to do i thought WOW this is just what i need but after testing it on several servers it seems the plugin is kinda buggy. When i kill enemys my money degrees in value! and when the terrors won i got as CT + $8000?!?

I'm using amxx V1.76a and hope the plug will be fixed one day because its a briljant idea...
Maurice is offline
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 11-09-2006 , 23:40   Re: Damage Money
Reply With Quote #10

please rephrase that into english.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:51.


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