OBSOLETE USE http://forums.alliedmods.net/showthr...53#post1630953
Playing around with testing a plugin i needed unlimited money so i detoured AddAccount (and kept returning 16000). So after that came this idea. It "removes" the money limit from players. So players can now have more than 16000. It dosnt necessarily remove it but kinda works around it (before if you had more than 16000 the game would just set it to 16000). So here it is.
At some point ill create some forwards.
Note this is my first "real" extension (my other one was a speed modify one that was more for testing something) so any tips are more than welcome. Please report any problems im rather new to sigscanning so im not sure if it is totally correct (if someone can have a look that would be awesome).
Thanks:
BAILOPAN for his awesome cssdm extension (learned a lot from that)
pRED* for his awesome detour class
psychonic for helping me with linux compile issues
SourceMod Dev
If you just want the extension download the extension zip not the src one. Simply extract into your addons folder. Please report any bugs!
As a side note i didnt test if it truely is unlimited but i went up to about 35000 (and in theory should be i think). Also Im not sure but at one point the values on hud will not display the correct amount i think but the player should still have the correct ammount (it just wont display correctly).
CVARS:
Code:
//Sets the max money someone can have
//default 65000
mp_maxmoney