Raised This Month: $32 Target: $400
 8% 

[CS:S] Give Cash/Money


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Plugin ID:
2278
Plugin Version:
1.0.0
Plugin Category:
Admin Commands
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
    23 
    Plugin Description:
    Various tools for changing cash values in CS:S
    Old 03-16-2011 , 21:08   [CS:S] Give Cash/Money
    Reply With Quote #1

    [CS:S] Give Cash
    Version 1.0.0



    Description:
    Allows an admin with the Slay flag to change money values.

    This started out as a simple update of ferret's SmCash plugin to add proper support for @me, @team, etc.
    Then I kept adding features, and, well, see below.


    Commands:
    • sm_cash <target> <value>
      Set's <target>'s cash to <value>
    • sm_setcash <target> <value>
      Same as above
    • sm_addcash <target> <value>
      Adds <value> to <target>'s cash
    • sm_autocash <target> <value>
      Sets <target>'s cash to <value> every time they spawn until canceled or they reconnect
      Use sm_autocash <target> -1 to cancel


    Cvars:
    • sm_givecash_version - Plugin Version
    • sm_givecash_max "1" - <1/0>
      If set to 1, this cvar will prevent you giving more then 60,000 cash.
      This is to prevent cash values rolling over into invalid values. If you don't want this safety feature on, set it to 0.
    • sm_givecash_showtext "1" - <1/0>
      If set to 1, the plugin will explicitly tell the client when their amount of cash is changed by the plugin.
      If set to 0, the plugin will still use ShowActivity2, but will not explicitly PrintToChat to each client.
    Install Instructions:
    1. Drag and drop.

    Notes:
    ~ ditto

    Version History:
    • V1.0.0
      • Initial Release
    -
    Attached Files
    File Type: sp Get Plugin or Get Source (Cash.sp - 11031 views - 7.3 KB)
    __________________

    Last edited by DarthNinja; 03-17-2011 at 07:45.
    DarthNinja is offline
     



    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:30.


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