Raised This Month: $ Target: $400
 0% 

Death Money Loss


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   General Purpose       
BOYSplayCS
BANNED
Join Date: Apr 2008
Location: Gainesville, FL
Old 05-08-2008 , 17:55   Death Money Loss
Reply With Quote #1

Death Money Loss

Description: When a player dies from a fall, bullets, suicide or any kind of death event they will be subtracted money. You can control the amount of money taken by a cvar listed below.



Main Controls:

amx_deathmoney "1" - Allows your to turn the plugin on or off.
Default: 1

amx_deathmoney_amount "500" - Controls how much money is taken when killed.
Default: 500



Modules Needed: Counter-Strike is required and the fun module is also required in order for this plugin to run properly.



Other Notes: I really couldn't think of a better title for the plugin so thats why it's pretty bad. Although, if you can think of something more interesting let me know and I'll change it. This plugin is pretty basic and doesn't really need five million more features added on. I will accept some requests though, so let them come!

Counter-Strike Plugin
Attached Files
File Type: sma Get Plugin or Get Source (deathmoney.sma - 1007 views - 1.1 KB)
BOYSplayCS is offline
BOYSplayCS
BANNED
Join Date: Apr 2008
Location: Gainesville, FL
Old 05-08-2008 , 19:28   Re: Death Money Loss
Reply With Quote #2

NOTE: I would recommend that you keep amx_deathmoney_amount a low number. A safe bet would be not exceeding $2,500.

I would personally keep it from $500 - 875.


BOYSplayCS is offline
Pokemon
Senior Member
Join Date: Mar 2008
Old 05-08-2008 , 21:34   Re: Death Money Loss
Reply With Quote #3

This plugin I think that other do too.
I am looking for the Post.
He do with a model and a other thinks.

If good To your plugin.

EDIT:
Here is it: http://forums.alliedmods.net/showthread.php?t=68834
__________________

Last edited by Pokemon; 05-08-2008 at 21:35. Reason: a link
Pokemon is offline
BOYSplayCS
BANNED
Join Date: Apr 2008
Location: Gainesville, FL
Old 05-09-2008 , 07:26   Re: Death Money Loss
Reply With Quote #4

Oh yeah that has way more features than this one. So I propose this is worthless.
BOYSplayCS is offline
Pokemon
Senior Member
Join Date: Mar 2008
Old 05-09-2008 , 16:13   Re: Death Money Loss
Reply With Quote #5

Ah ok.
__________________
Pokemon is offline
Salamon
Senior Member
Join Date: Dec 2007
Location: P(r)oland
Old 05-09-2008 , 16:36   Re: Death Money Loss
Reply With Quote #6

or remake this plugin to remove all money when player will die, cause im curious what will happen when drop amount is bigger than players money (i didnt look in the code of upper plugin)
__________________
This is 10% luck, 20% skill, 15% concentrated power of will,
5% pleasure, 50% pain and 100% reason to remember my name..
Salamon is offline
Clerlic
Junior Member
Join Date: May 2011
Old 10-24-2012 , 09:16   Re: Death Money Loss
Reply With Quote #7

If I read the code correctly, it should only take the money away if there's more money than it's taking away.
Clerlic is offline
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 00:06.


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