Monthly Target: $400 Donations: $131
 32% 

SmCash


Post New Thread Reply   
 
Thread Tools Display Modes
Author
ferret
SourceMod Developer
Join Date: Dec 2004
Location: Atlanta, GA
Plugin ID:
41
Plugin Version:
1.2
Plugin Category:
Fun Stuff
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
    31 
    Plugin Description:
    Allows an admin to set player's money.
    Old 06-26-2007 , 11:06   SmCash
    Reply With Quote #1

    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.
    Attached Files
    File Type: sp Get Plugin or Get Source (smcash.sp - 11751 views - 3.0 KB)
    File Type: txt plugin.smcash.txt (749 Bytes, 7281 views)
    __________________
    I'm a blast from the past!

    -< www.gamehavoc.com >-

    Last edited by ferret; 07-06-2007 at 09:30.
    ferret is offline
    benkoren
    Junior Member
    Join Date: Jun 2007
    Old 06-26-2007 , 11:16   Re: [PLUGIN] sm_cash
    Reply With Quote #2

    Very hand plugin. Thanks for all your work, Ferret.
    benkoren is offline
    krod
    Member
    Join Date: Oct 2006
    Old 06-26-2007 , 11:18   Re: [PLUGIN] sm_cash
    Reply With Quote #3

    Great!
    krod is offline
    ^BuGs^
    Senior Member
    Join Date: May 2007
    Old 06-26-2007 , 11:23   Re: [PLUGIN] sm_cash
    Reply With Quote #4

    Was going to do this. You should only do this on sv_cheats 1 though.
    __________________
    Sourcemod Plugin Author and Plugin Approver
    "The correct way is MAXPLAYERS + 1"
    I will not take bugs/new idea reports over the forums. Please use the issue list.
    ^BuGs^ is offline
    benkoren
    Junior Member
    Join Date: Jun 2007
    Old 06-26-2007 , 11:25   Re: [PLUGIN] sm_cash
    Reply With Quote #5

    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.
    benkoren is offline
    ferret
    SourceMod Developer
    Join Date: Dec 2004
    Location: Atlanta, GA
    Old 06-26-2007 , 11:25   Re: [PLUGIN] sm_cash
    Reply With Quote #6

    Quote:
    Originally Posted by ^BuGs^ View Post
    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.
    __________________
    I'm a blast from the past!

    -< www.gamehavoc.com >-
    ferret is offline
    ^BuGs^
    Senior Member
    Join Date: May 2007
    Old 06-26-2007 , 11:27   Re: [PLUGIN] sm_cash
    Reply With Quote #7

    Got ya. High Admin flag

    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.
    __________________
    Sourcemod Plugin Author and Plugin Approver
    "The correct way is MAXPLAYERS + 1"
    I will not take bugs/new idea reports over the forums. Please use the issue list.
    ^BuGs^ is offline
    ferret
    SourceMod Developer
    Join Date: Dec 2004
    Location: Atlanta, GA
    Old 06-26-2007 , 11:31   Re: [PLUGIN] sm_cash
    Reply With Quote #8

    Quote:
    Originally Posted by benkoren View Post
    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.
    __________________
    I'm a blast from the past!

    -< www.gamehavoc.com >-
    ferret is offline
    ferret
    SourceMod Developer
    Join Date: Dec 2004
    Location: Atlanta, GA
    Old 06-26-2007 , 11:33   Re: [PLUGIN] sm_cash
    Reply With Quote #9

    Quote:
    Originally Posted by ^BuGs^ View Post
    Also, you don't need the .txt... it is assumed now.
    Eh, no harm. basecommands.sp has the .txt
    __________________
    I'm a blast from the past!

    -< www.gamehavoc.com >-
    ferret is offline
    ferret
    SourceMod Developer
    Join Date: Dec 2004
    Location: Atlanta, GA
    Old 06-26-2007 , 11:35   Re: [PLUGIN] sm_cash
    Reply With Quote #10

    oh btw, I wrote this while bored at work Could someone, uh.. test it I am 99.999999% certain it works though.
    __________________
    I'm a blast from the past!

    -< www.gamehavoc.com >-
    ferret 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 08:00.


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