Raised This Month: $ Target: $400
 0% 

[EXTENSION] CSS No Money Limit


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 10-25-2010 , 22:20   [EXTENSION] CSS No Money Limit
Reply With Quote #1

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
Attached Files
File Type: zip account-extension-src.zip (25.0 KB, 812 views)
File Type: zip account-extension.zip (105.2 KB, 1275 views)

Last edited by Dr!fter; 01-17-2012 at 09:36. Reason: Fixed zips
Dr!fter 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 12:42.


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