Raised This Month: $12 Target: $400
 3% 

Kill Money


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay        Approver:   Xanimos (85)
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 09-28-2009 , 15:25   Kill Money
Reply With Quote #1

Kill Money




.: Description :.

This plugin allow to change the amount of money you receive when you kill someone.


.: Cvars :.

  • amx_kill_money < num >
    Amount of money you win when you kill an enemy
    (default: plugin:300 cs:300).
  • amx_kill_money_hs < num >
    Amount of money you win when you kill an enemy with a headshot
    (default: plugin:1337 cs:300).
  • amx_teamkill_money < num >
    Amount of money you loose when you kill a teamate
    (default: plugin:-1337 cs:-3300).
  • amx_killmoney_maxmoney < num >
    Max money a player can have (change it if you have another plugin that handles max money).
    (default: plugin:16000 cs:16000).



.: Modules/Requirements :.

Fakemeta
Cstrike
Amxx 1.8.1.3717 or above


.: ChangeLog :.


Code:
v0.1.1 - 08-07-10
- Added cvar for HS kill reward

v0.1.0 04-19-10
- Rewritten from the scratch
Attached Files
File Type: sma Get Plugin or Get Source (kill_money.sma - 10498 views - 2.5 KB)
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 11-14-2010 at 09:41.
ConnorMcLeod is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 09-28-2009 , 15:27   Re: Frags & Deaths Money
Reply With Quote #2

I'm pretty sure that the money increases as you continue to kill without dying.
Or is that winning consecutive rounds?
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 09-28-2009 , 15:30   Re: Frags & Deaths Money
Reply With Quote #3

Quote:
Originally Posted by Exolent[jNr] View Post
I'm pretty sure that the money increases as you continue to kill without dying.
Or is that winning consecutive rounds?
1. I'm pretty sure you are wrong
2. Dunno, sometimes hard to see because sometimes you defused/planted the bomb, or you can't have more/less than 16000/0 $.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 09-28-2009 , 15:35   Re: Frags & Deaths Money
Reply With Quote #4

Quote:
Originally Posted by ConnorMcLeod View Post
1. I'm pretty sure you are wrong
Priceless. As a side note, I don't think that's true, either.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
KadiR
Unnecessary Member
Join Date: Aug 2008
Location: Zürich / Switzerland
Old 09-28-2009 , 15:59   Re: Frags & Deaths Money
Reply With Quote #5

what about HS Frag Bonus?
KadiR is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 09-28-2009 , 16:25   Re: Frags & Deaths Money
Reply With Quote #6

Well, i could implement hs bonus/malus + weapon specific.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 09-28-2009 , 21:13   Re: Frags & Deaths Money
Reply With Quote #7

I was wrong. I was thinking about winning consecutive rounds.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Old 09-29-2009, 04:12
AlexALX
This message has been deleted by AlexALX.
GmTx
BANNED
Join Date: May 2009
Location: Mountains [BG/Sofia]
Old 09-29-2009 , 04:20   Re: Frags & Deaths Money
Reply With Quote #8

Good job +k
GmTx is offline
Send a message via Skype™ to GmTx
Alucard^
AMXX Moderator: Others
Join Date: Sep 2007
Location: Street
Old 09-29-2009 , 05:16   Re: Frags & Deaths Money
Reply With Quote #9

Quote:
Originally Posted by AlexALX View Post
in my server on linux with dproto this not work...
Well i am not sure but you can try change the number of the offset:

PHP Code:
#define m_iMoney 115 
To 120

@ Connor

Where you found the offset of the money... is there any easy offset searcher? Cuz i tried here:

http://wiki.alliedmods.net/Category:CS_Class_List

But i can't found the 115...
__________________
Approved Plugins - Steam Profile

Public non-terminated projects:
All Admins Menu, HLTV parameters, Subnick,
Second Password (cool style), InfoZone,
Binary C4 plant/defuse, and more...

Private projects:
NoSpec (+menu), NV Surf Management,
PM Adanved System, KZ longjump2, and more...

Last edited by Alucard^; 09-29-2009 at 05:18.
Alucard^ is offline
Send a message via Skype™ to Alucard^
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 09-29-2009 , 05:37   Re: Frags & Deaths Money
Reply With Quote #10

Nice
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
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 03:47.


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