Changemode
#1

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?)
Reply
#2

Well, if the server has the lottery number saved so as the timer, it will continue, or else no. I think so.
Reply
#3

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?
Reply
#4

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).
Reply
#5

So it is safe to use these functions under a timer with 1000 mileseconds interval (Though it is a bad idea.) ??
Reply
#6

Quote:
Originally Posted by JaKe Elite
Посмотреть сообщение
So it is safe to use these functions under a timer with 1000 mileseconds interval (Though it is a bad idea.) ??
It is safe enough. But for what purpose its being used matters, maybe there is a better way than that.
Reply
#7

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)