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

[CS:S/GO] Different Team Start Money/Cash


Post New Thread Reply   
 
Thread Tools Display Modes
Author
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Plugin ID:
2848
Plugin Version:
1.0.0
Plugin Category:
Gameplay
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Allows teams to get different start money (a different mp_startmoney for each team)
    Old 03-25-2012 , 14:28   [CS:S/GO] Different Team Start Money/Cash
    Reply With Quote #1

    FOR CS:GO problem concerning the ~06/06/2014 update, please see this post.
    Different Team Start Money/Cash

    v. 1.0.0

    Features :
    • Allows teams to get different start money (kind of a different mp_startmoney for each team).

    Why I made this plugin :
    • There are tons of plugins preventing either spec hoping or allowing different cash system, but none that were currently giving teams different starting cash values...
    • I also believed once that glock is weaker than USP so I wanted to boost terrorists cash flow at the beginning. Plugin didn't exist at that time.

    CVars :
    • differentteamstartmoneycashversion: Gives version -_-'
    • ----------
    • sm_startmoney_alternate : Are CVars sm_startmoney_t and sm_startmoney_ct used instead of mp_startmoney ? 2=Yes (set mp_startmoney to 800 to prevent problems), 1=Yes, 0=No. Default 2.
    • sm_startmoney_t : mp_startmoney value for terrorists. Default 1000.
    • sm_startmoney_ct : mp_startmoney value for CTs. Default 900.

    Notes :
    • I didn't prevent spectator hoping (since it is in the game anyway). This means you should always put a mp_startmoney value equals or below the lowest value between the CVars "sm_startmoney_t" and "sm_startmoney_ct". That is why CVar "sm_startmoney_alternate" is by default at 2.
    • Also, I did restrict money to 800 (minimum), since CS: S has that same limit for mp_startmoney (since anyone could just spec-hop to get more money).

    --------------

    Any suggestions/comments on the code or the plugin are welcomed and appreciated.

    Credits :
    • TnTSCS for inspiration looking at his code.

    Changelog :
    • 1.0.0 Initial release. (25-03-2012)
    • Tested under CS:GO. (27-12-2012)

    Todo list :
    • None at the moment.
    Attached Files
    File Type: sp Get Plugin or Get Source (differentteamstartmoneycash.sp - 1548 views - 3.9 KB)
    __________________
    My plugins :
    Red Maze
    Afk Bomb
    RAWR (per player/rounds Awp Restrict.)
    Kill Assist
    Be Medic

    You can also Donate if you appreciate my work

    Last edited by RedSword; 11-03-2016 at 23:05. Reason: added csgo warning
    RedSword is offline
    RedSword
    SourceMod Plugin Approver
    Join Date: Mar 2006
    Location: Quebec, Canada
    Old 12-27-2012 , 13:46   Re: [CS:S/GO] Different Team Start Money/Cash
    Reply With Quote #2

    Tested and works under CS:GO.
    __________________
    My plugins :
    Red Maze
    Afk Bomb
    RAWR (per player/rounds Awp Restrict.)
    Kill Assist
    Be Medic

    You can also Donate if you appreciate my work
    RedSword is offline
    xShadowWolf
    New Member
    Join Date: Nov 2016
    Old 11-03-2016 , 16:03   Re: [CS:S/GO] Different Team Start Money/Cash
    Reply With Quote #3

    I have "sm_startmoney_alternate 1" "sm_startmoney_t 500" "sm_startmoney_ct 400" in one of my config files, when i exec the config file and restart the game nothing happens, both teams still start with $800, am i doing something wrong? I am on cs:go
    xShadowWolf is offline
    RedSword
    SourceMod Plugin Approver
    Join Date: Mar 2006
    Location: Quebec, Canada
    Old 11-03-2016 , 23:04   Re: [CS:S/GO] Different Team Start Money/Cash
    Reply With Quote #4

    Quote:
    Originally Posted by xShadowWolf View Post
    I have "sm_startmoney_alternate 1" "sm_startmoney_t 500" "sm_startmoney_ct 400" in one of my config files, when i exec the config file and restart the game nothing happens, both teams still start with $800, am i doing something wrong? I am on cs:go
    About 2½ years ago Valve updated the way the money is handled in the game. See this post for more info, and see if it solves the problem :

    https://forums.alliedmods.net/showth...27#post2148127,

    Red
    __________________
    My plugins :
    Red Maze
    Afk Bomb
    RAWR (per player/rounds Awp Restrict.)
    Kill Assist
    Be Medic

    You can also Donate if you appreciate my work

    Last edited by RedSword; 11-03-2016 at 23:05.
    RedSword 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 15:17.


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