View Single Post
Author Message
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 01-13-2012 , 14:33   [CS:S] Max Money
Reply With Quote #1

This plugin adds a new cvar that allows changing the max money a player can have. (mp_maxmoney).

REQUIRES SOURCEMOD 1.4.2+

By default the plugin sets the cvar to 65000. To change it to 32000 for example in your server config simply put mp_maxmoney 32000. This also works for lowering the max money. So limiting it to 1 dollar can be done with mp_maxmoney 1

If you use the older version which used this extension http://forums.alliedmods.net/showthread.php?t=141579 you should remove the extension before installing this.

Cvars:
Code:
mp_maxmoney
Warning: the hud for displaying money has a limit of 65536 Setting the max to anything higher will have weird effects for the client the money will still save correctly though.

Install:
Place the smx into your addons/sourcemod/plugins folder
Place the maxmoney.games.txt into your addons/sourcemod/gamedata folder

Changelog:

-1.01
-Fixed major memory leak.
-1.02
-Removed ConVarBounds for mp_startmoney
-1.03
-Removed the need for MemPatch
-Requires SourceMod 1.4.2+
Attached Files
File Type: sp Get Plugin or Get Source (css-maxmoney.sp - 5469 views - 2.1 KB)
File Type: txt maxmoney.games.txt (515 Bytes, 1886 views)

Last edited by Dr!fter; 12-17-2014 at 12:13.
Dr!fter is offline