AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [TF2] MvM Cash Regen (https://forums.alliedmods.net/showthread.php?t=195986)

ReFlexPoison 09-13-2012 23:26

[TF2] MvM Cash Regen
 
3 Attachment(s)
MvM Cash Regen
Description:

Regenerates player's cash overtime during MvM rounds.

CVar's (Defaults):
PHP Code:

sm_cashregen_enabled "1" // Enable Plugin
sm_cashregen_admins "0" // Money regen for admins only
sm_cashregen_amount "5" // Amount of money generated per increment
sm_cashregen_time "5" // Time between cash regens 

Config file will be automatically created at cfg\sourcemod\plugin.cashregen.cfg

Overrides:
PHP Code:

"sm_cashregen_flag" "b" // Required admin flag to receive cash 

Version Log:

See my other plugins
Total Downloads: 325

ReFlexPoison 09-13-2012 23:27

Re: [TF2] MvM Cash Regen
 
*Reserved

Bitl 09-22-2012 00:02

Re: [TF2] MvM Cash Regen
 
I like it, thanks!

Here's some bacon: :bacon!:

XaxaXoxo 10-16-2012 08:37

Re: [TF2] MvM Cash Regen
 
Quote:

L 10/16/2012 - 14:34:55: [SM] Displaying call stack trace for plugin "cashregen.smx":
L 10/16/2012 - 14:34:55: [SM] [0] Line 144, cashregen.sp::ClearTimer()
L 10/16/2012 - 14:34:55: [SM] [1] Line 83, cashregen.sp::OnRoundStart()
L 10/16/2012 - 15:44:27: [SM] Native "KillTimer" reported: Invalid timer handle 8edb0257 (error 3)
L 10/16/2012 - 15:44:27: [SM] Displaying call stack trace for plugin "cashregen.smx":
L 10/16/2012 - 15:44:27: [SM] [0] Line 144, cashregen.sp::ClearTimer()
L 10/16/2012 - 15:44:27: [SM] [1] Line 83, cashregen.sp::OnRoundStart()

ReFlexPoison 10-16-2012 10:29

Re: [TF2] MvM Cash Regen
 
I'll fix that today. Thanks for the info.

ReFlexPoison 10-17-2012 03:14

Re: [TF2] MvM Cash Regen
 
Version 1.0.1 Released

Changes:
* Now uses mvm specific round events.
* Fixed invalid handle error.

Mr. Man 11-02-2012 16:59

Re: [TF2] MvM Cash Regen
 
What is the time denominated in? Seconds? Minutes?

ReFlexPoison 11-02-2012 17:00

Re: [TF2] MvM Cash Regen
 
Quote:

Originally Posted by Mr. Man (Post 1831308)
What is the time denominated in? Seconds? Minutes?

In seconds based on the CVar.

Mr. Man 11-02-2012 17:16

Re: [TF2] MvM Cash Regen
 
Quote:

Originally Posted by ReFlexPoison (Post 1831309)
In seconds based on the CVar.

Nevermind I can't read :)

Happy DODs player 11-17-2012 13:52

Re: [TF2] MvM Cash Regen
 
Thanks will upload this torwards my mVm server..


All times are GMT -4. The time now is 20:40.

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