AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   SmCash (https://forums.alliedmods.net/showthread.php?t=57011)

ferret 06-26-2007 10:06

SmCash
 
2 Attachment(s)
SmCash
Version 1.2

By: ferret!

Description

Allows an admin to set a player, team, or everyone's money. The admin must have the CUSTOM1 admin flag.

Installation
  1. Place the smcash.smx file inside of the addons/sourcemod/plugins/ folder.
  2. Place the plugins.smcash.txt file inside of the addons/sourcemod/translations/ folder.
Commands
  • sm_cash <target> <amount>
    • Target can be all, t or ct, a player name, or a userid.
Changelog
  • Version 1.2 (June 29th)
    • Conform to submission standards
    • Add sm_smcash_version cvar
Bugs, Requests, Translations, or Other Issues


Please use my project area on the Allied Modders Bug Tracker to report any issues or make requests. Your login for the bug tracker is the same as your forum login. Set the category to this plugin's name.

benkoren 06-26-2007 10:16

Re: [PLUGIN] sm_cash
 
Very hand plugin. Thanks for all your work, Ferret.

krod 06-26-2007 10:18

Re: [PLUGIN] sm_cash
 
Great!

^BuGs^ 06-26-2007 10:23

Re: [PLUGIN] sm_cash
 
Was going to do this. :) You should only do this on sv_cheats 1 though.

benkoren 06-26-2007 10:25

Re: [PLUGIN] sm_cash
 
Can the target be T or CT as well? It would be nice to have this for before there is a plugin for giving the losing team some extra cash automatically.

ferret 06-26-2007 10:25

Re: [PLUGIN] sm_cash
 
Quote:

Originally Posted by ^BuGs^ (Post 494913)
Was going to do this. :) You should only do this on sv_cheats 1 though.

I thought about that, but decided to use a custom flag instead of the cheats flag. A server owner might want to give this command to an admin, but NOT give that admin ability to change sv_cheats, which opens up a huge number of weird cvars for the players.

^BuGs^ 06-26-2007 10:27

Re: [PLUGIN] sm_cash
 
Got ya. High Admin flag :D

I suggest just making a "Cheat" plugin that puts them all together. I was going to do that once Restrict Item and Bounty were up to par and finished with the major items and bugs.

Also, you don't need the .txt... it is assumed now. :)

ferret 06-26-2007 10:31

Re: [PLUGIN] sm_cash
 
Quote:

Originally Posted by benkoren (Post 494914)
Can the target be T or CT as well? It would be nice to have this for before there is a plugin for giving the losing team some extra cash automatically.

Done. Also, you do know that the longer a team loses, the more money they get each round? That's default CS behavior.

ferret 06-26-2007 10:33

Re: [PLUGIN] sm_cash
 
Quote:

Originally Posted by ^BuGs^ (Post 494919)
Also, you don't need the .txt... it is assumed now. :)

Eh, no harm. basecommands.sp has the .txt

ferret 06-26-2007 10:35

Re: [PLUGIN] sm_cash
 
oh btw, I wrote this while bored at work :P Could someone, uh.. test it :P I am 99.999999% certain it works though.


All times are GMT -4. The time now is 14:55.

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