AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   amx_bankrupt (https://forums.alliedmods.net/showthread.php?t=58875)

Crusher918 08-04-2007 02:20

amx_bankrupt
 
1 Attachment(s)
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

ali_zkz 08-04-2007 02:40

Re: amx_bankrupt
 
cool,but alittle unfair hahaha

BlackMilk 08-04-2007 04:23

Re: amx_bankrupt
 
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.

Crusher918 08-04-2007 10:53

Re: amx_bankrupt
 
Quote:

Originally Posted by BlackMilk (Post 512322)
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

Crusher918 08-17-2007 22:38

Re: amx_bankrupt
 
update 1.2 added new cmd and now checks immunity on cmd amx_bankrupt

BlackMilk 08-18-2007 15:52

Re: amx_bankrupt
 
Not removing money but freezing a player's finances is cool too! :mrgreen:

Crusher918 08-18-2007 16:20

Re: amx_bankrupt
 
Il think about doing that if sum1 else requested it.

spiderbites 03-26-2008 01:51

Re: amx_bankrupt
 
Yes. i'd also like to request for freezing money feature :)

code767 08-27-2008 19:08

Re: amx_bankrupt
 
not working with me !! but i did evrything fine .. but not working ... any suggestions ??

steeva 10-23-2010 13:30

Bankruptcy Information
 
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


All times are GMT -4. The time now is 23:58.

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