Communication gamemode <> filterscript
#1

Is there any way gamemode and filterscript could "communicate" with each other? For example i have variable in gamemode and i want to access it from filterscript.
Reply
#2

There are too ways to communicate:

Playervariables, so you can have global Variables for every player.

and

CallRemoteFunction, with this you can call functions in the gamemode from your fs and vice versa, so you could "send" variables as parameters.
Reply
#3

Thanks for your answer.

About CallRemoteFunction, does it use global variables from source script or caller script?
Reply
#4

No problem,

If you call a remote function, the called function uses only the variables of the script the function is in and those you submitted as paramers, if you mean this.
Reply
#5

Yes i mean this. Thank you.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)