set_task problems (I think)
I'm not sure if my set_tasks are the problem but I can't figure out what the actual problem is. When the server starts up, the cvar is defaultly set to 1 and when I change it to 0. It works but when I want to set it back to 1 again. Nothing works apparently.
PHP Code:
|
Re: set_task problems (I think)
Are you saying if you turn it off and then on, nothing happens? It's probably because if lightning_effects is called when the cvar is 0, the function never gets called again to check if it is now 1.
|
Re: set_task problems (I think)
Quote:
So what I should do exactly? Make another one of those if statements somewhere? |
Re: set_task problems (I think)
I dont mean to be dence, but what isnt working?
|
Re: set_task problems (I think)
After remove_task, you could add this:
Code:
Then, if it isn't on, it'll check every 30 seconds to see if it is back on. Use any value you want. |
Re: set_task problems (I think)
Thanks
XxAvalanchexX It works now |
| All times are GMT -4. The time now is 22:25. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.