Check value of a cvar for x seconds
How can I check, for example, if mp_timelimit value is 20 for x seconds?
|
Re: Check
|
Re: Check
Sure, thnaks...I still wait a answer.
|
Re: Check
Quote:
|
Re: Check value of a cvar for x seconds
Done, hope you are happy now because I really need some help asap.
|
Re: Check value of a cvar for x seconds
Quote:
|
Re: Check value of a cvar for x seconds
I have a problem with a plugin but I don't know how to solve it.The problem is that sometimes sv_maxspeed is blocked at 0 and players can't play untill change of map.So, I want to check if sv_maxspeed is 0 for more than 30 seconds, if yes, change the map to dust2.
Don't ask me to post here the source of plugin because I don't have it yet... |
Re: Check value of a cvar for x seconds
Wouldn't it make more sense to try and figure out why you are having this issue than to create a plugin to workaround it? If you know the plugin that is causing the issue, go bug the author to fix it
|
Re: Check value of a cvar for x seconds
I think that is because of podbot module...
Code:
public plugin_init() {About the plugin...it's Super map chooser, but the author announced that the plugin have a lot of bugs and he will not update it.So...the source from alliedmodders isn't good.I fixed this plugin a few weeks ago, but I lost the source. Trying to remove all bugs again isn't an option because I don't have enough time to make again 100 tests...I think that this is the reason because the author left this plugin. Is my method good? |
Re: Check value of a cvar for x seconds
Quote:
|
| All times are GMT -4. The time now is 23:16. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.