Raised This Month: $51 Target: $400
 12% 

Map Rate Plugin Modification


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 09-30-2016 , 11:45   Map Rate Plugin Modification
Reply With Quote #1

Since I can't seem to get much help in the Scripting section (link to thread), I'm requesting a quick modification to the Map Rate plugin.

In its current state, it requires a player death for the rate menu to pop up, however I wish to make it so after X amount of time in the map, the player gets the rate menu popped, regardless of deaths (great for bhop/surf/gametypes with one round).

Thank you!
sneaK is offline
xines
Veteran Member
Join Date: Aug 2013
Location: Denmark
Old 09-30-2016 , 12:53   Re: Map Rate Plugin Modification
Reply With Quote #2

"Not tested"
Added this cvar for you: "sm_maprate_time", "60", "Time in seconds for vote to send."
Here ya go:
Attached Files
File Type: sp Get Plugin or Get Source (maprate.sp - 261 views - 21.8 KB)
__________________
xines is offline
Reply



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 11:19.


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