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

amx_bankrupt


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Admin Commands        Approver:   Hawk552 (427)
Crusher918
Senior Member
Join Date: Feb 2007
Location: New York
Old 08-04-2007 , 02:20   amx_bankrupt
Reply With Quote #1

amx_bankrupt by Crusher918

Description: If its set to 1, the player's money will become 0 and the user can not receive any money until its set back to 0. This is useful to block campers buying good guns at new rounds. It can also be used for pistol mode were the only pistols they get when they spawn is the only gun. If set to 2 the player's money will just become 0 but allowing them to receive money.

Commands: amx_bankrupt <authid, nick, or #userid> <2|1|0> -- requires ADMIN_SLAY
amx_bankruptmode <2|1|0> -- requires ADMIN_LEVEL_A
Defines:
PHP Code:
//allow immunity 1 - yes 2 - no
#define immune_on 1 
Module(s): cstrike

Version:
1.0
-release
1.1
-added another option for setting bankrupt
1.2
-remove @team and @ALL
-added amx_bankruptmode <2|1|0>
-now checks immunity on cmd amx_bankrupt

Credits:
AssKicR for the admin_ammo's source code
Attached Files
File Type: sma Get Plugin or Get Source (amx_bankrupt.sma - 4625 views - 2.8 KB)
__________________
My Plugins
Newest plugin: semiclip , amx_bankrupt

Last edited by Crusher918; 08-17-2007 at 22:40.
Crusher918 is offline
ali_zkz
Member
Join Date: Jan 2006
Old 08-04-2007 , 02:40   Re: amx_bankrupt
Reply With Quote #2

cool,but alittle unfair hahaha
ali_zkz is offline
BlackMilk
Veteran Member
Join Date: Jun 2007
Old 08-04-2007 , 04:23   Re: amx_bankrupt
Reply With Quote #3

Suggestion, make a cvar to set modes:
amx_bankruptmode 1 - Normal mode with money being set to one.
amx_bankruptmode 2 - Assets not removed but frozen so they can't be used. (optionally still letting money flow in here)

I'm just thinking if this is compatible with other plugins such as parachute, money transfer, bank deposit etc. (last two named are AMX plugins I'm using)

But in any case I'll DL, brilliant punishment IMO xD

EDIT: Suggestion made for circumstances, the normal mode would really be a punishment and second mode would be more the preventive type in eg. the situation of a camper not being able to buy a good gun or something - but you don't wanna go as far as taking away all his money.
__________________
Mod:
User:
BlackMilk is offline
Crusher918
Senior Member
Join Date: Feb 2007
Location: New York
Old 08-04-2007 , 10:53   Re: amx_bankrupt
Reply With Quote #4

Quote:
Originally Posted by BlackMilk View Post
I'm just thinking if this is compatible with other plugins such as parachute, money transfer, bank deposit etc. (last two named are AMX plugins I'm using)

But in any case I'll DL, brilliant punishment IMO xD

EDIT: Suggestion made for circumstances, the normal mode would really be a punishment and second mode would be more the preventive type in eg. the situation of a camper not being able to buy a good gun or something - but you don't wanna go as far as taking away all his money.
as far as i know the other plugins checks ur money b4 taking actions so it will block them.

update 1.1 added option 2 which makes their money $0 but allowing them to receive money
__________________
My Plugins
Newest plugin: semiclip , amx_bankrupt
Crusher918 is offline
Crusher918
Senior Member
Join Date: Feb 2007
Location: New York
Old 08-17-2007 , 22:38   Re: amx_bankrupt
Reply With Quote #5

update 1.2 added new cmd and now checks immunity on cmd amx_bankrupt
__________________
My Plugins
Newest plugin: semiclip , amx_bankrupt
Crusher918 is offline
BlackMilk
Veteran Member
Join Date: Jun 2007
Old 08-18-2007 , 15:52   Re: amx_bankrupt
Reply With Quote #6

Not removing money but freezing a player's finances is cool too!
__________________
Mod:
User:
BlackMilk is offline
Crusher918
Senior Member
Join Date: Feb 2007
Location: New York
Old 08-18-2007 , 16:20   Re: amx_bankrupt
Reply With Quote #7

Il think about doing that if sum1 else requested it.
__________________
My Plugins
Newest plugin: semiclip , amx_bankrupt
Crusher918 is offline
spiderbites
Senior Member
Join Date: Nov 2007
Old 03-26-2008 , 01:51   Re: amx_bankrupt
Reply With Quote #8

Yes. i'd also like to request for freezing money feature
spiderbites is offline
code767
BANNED
Join Date: Aug 2008
Old 08-27-2008 , 19:08   Re: amx_bankrupt
Reply With Quote #9

not working with me !! but i did evrything fine .. but not working ... any suggestions ??
code767 is offline
steeva
New Member
Join Date: Oct 2010
Old 10-23-2010 , 13:30   Bankruptcy Information
Reply With Quote #10

hi this steeva i m saying heloo to all of you.hey if you wont informatiomatin about Bankruptcy Information .please visit this link
==================================
Bankruptcy Information
steeva 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 07:57.


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