AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [TF2] Set Cash(Mann vs Machine mode) (https://forums.alliedmods.net/showthread.php?t=193042)

Tylerst 08-16-2012 00:42

[TF2] Set Cash(Mann vs Machine mode)
 
1 Attachment(s)
Description: Set target(s) cash for Mann vs Machine mode


Cvars:
sm_setcash_version "1.1.0"


Commands:
sm_setcash "target" "amount"
sm_addcash "target" "amount"
sm_removecash "target" "amount"
Note: Should one of the commands result in negative cash, cash will be set to 0.

Example Usage:
sm_setcash @me 1000
sm_setcash @all 0
sm_addcash @red 10000
sm_removecash ThatGuy 1337

Changelog:
Code:

Version 1.0.0 - August 15, 2012
*Initial Release

Version 1.0.1 - August 16, 2012
*Added sm_addcash and sm_removecash

Version 1.0.2 - August 17, 2012
*Plugin no longer targets bots

Version 1.0.3 - August 17, 2012
*Fixed cash check error in addcash and removecash

Version 1.1.0 - June 28, 2014
*Huge code overhaul
*Fixed negative cash on loss(should now reset to 0 on spawn)
*Removed 32767 cash limit(m_nCurrency is now 32-bit)


ReFlexPoison 08-16-2012 00:44

Re: [TF2] Set Cash(Mann vs Machine mode)
 
lol win :3

wasder 08-16-2012 04:45

Re: [TF2] Set Cash(Mann vs Machine mode)
 
Love you. C:

MasterOfTheXP 08-16-2012 04:46

Re: [TF2] Set Cash(Mann vs Machine mode)
 
Looooads a money...

Feature to add money instead of set would be nice.

Sreaper 08-16-2012 04:51

Re: [TF2] Set Cash(Mann vs Machine mode)
 
Quote:

Originally Posted by MasterOfTheXP (Post 1772762)
Looooads a money...

Feature to add money instead of set would be nice.

Loadsa money! http://www.youtube.com/watch?v=D-ubJqgtKSw

I think there is an achievement for acquiring one million cash but your cash limit is capped at 32767. Is that the maximum the game will allow to be held at once?

Tylerst 08-16-2012 10:36

Re: [TF2] Set Cash(Mann vs Machine mode)
 
Update to 1.0.1
-Added sm_addcash and sm_removecash

Quote:

Originally Posted by MasterOfTheXP (Post 1772762)
Looooads a money...

Feature to add money instead of set would be nice.

Done :)

Quote:

Originally Posted by Sreaper (Post 1772765)
Loadsa money! http://www.youtube.com/watch?v=D-ubJqgtKSw

I think there is an achievement for acquiring one million cash but your cash limit is capped at 32767. Is that the maximum the game will allow to be held at once?

Yep, nothing I can do about it :cry:

Quote:

Originally Posted by Skyrider (Post 1772807)
Uploaded SMX within my attachment. Used the exact source code to compile it in the first post.

Thanks, I finally got it to attach. This won't be needed anymore(and I updated to 1.0.1)

Skyrider 08-16-2012 10:39

Re: [TF2] Set Cash(Mann vs Machine mode)
 
Yea, I removed my reply :).

danne2 08-16-2012 13:37

Re: [TF2] Set Cash(Mann vs Machine mode)
 
And this is why we can't host Mann Up. servers

Horsedick 08-16-2012 13:38

Re: [TF2] Set Cash(Mann vs Machine mode)
 
Quote:

Originally Posted by danne2 (Post 1773102)
And this is why we can't host Mann Up. servers

No this has nothing to do with that, more so on the side of greed by Valve.

Jim E. Rustler 08-16-2012 13:55

Re: [TF2] Set Cash(Mann vs Machine mode)
 
Gaben needs more MLP:FIM toys to buy.


All times are GMT -4. The time now is 00:46.

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