Posts: 3,715
Threads: 358
Joined: Apr 2012
Reputation:
0
I was wondering if the changemode option on SendRconCommand would affect the filterscript during the changing process (Like timers and everything).
For example, A lottery is about to release the winning numbers when the gamemode suddenly changes, what would happen?
Also is it possible to link the gamemode and filterscript together, for example setting the shop to be disabled etc... and more. (CallRemoteFunction?)
Posts: 539
Threads: 30
Joined: Feb 2015
Reputation:
0
Well, if the server has the lottery number saved so as the timer, it will continue, or else no. I think so.
Posts: 3,715
Threads: 358
Joined: Apr 2012
Reputation:
0
Well i find a way on linking both scripts together.
The question is, If i used CallRemoteFunction (in a timer, for example) would it impact the server's performance? or something?
Posts: 1,773
Threads: 47
Joined: Jan 2015
Reputation:
0
Filterscripts don't restart while sending "gmx" or "changemode" to rcon.
CallRemoteFunction is used for avoiding memory vars mostly (70%). But i won't effect the server performance any way, and even if you use SVars for the case, it won't give a significant effect (negligible i guess).
Posts: 3,715
Threads: 358
Joined: Apr 2012
Reputation:
0
So it is safe to use these functions under a timer with 1000 mileseconds interval (Though it is a bad idea.) ??
Posts: 3,715
Threads: 358
Joined: Apr 2012
Reputation:
0
I am making a minigames server, I wanted to get the round time (stored in a variable, every gamemode that is used for the minigames server has that variable). The filterscript (the main system) will get the round time from these gamemode, and then later used in the main system.