04.11.2016, 19:16
Hello, I have a doubt. I have a Gamemode and some filterscripts. To let the filterscript "talk" with the gamemode I use in the filterscript the function CallRemoteFunction();
But my doubt is, can I call a function from the Gamemode written in the FS?
Example:
Gamemode:
Filterscript:
I am doing the process vice-versa calling the remotefunction from the fs but I want to know if doing the CallRemoteFunction from gamemode will call the function located at the Filterscript.
Thanks!
But my doubt is, can I call a function from the Gamemode written in the FS?
Example:
Gamemode:
Код:
CallRemoteFunction("CallMe", "is", 69, "this is a string");
Код:
forward CallMe(number, const string[]); public CallMe(number, const string[]) { printf("CallMe called. Int: %i String: %s.", number, string); return 1; }
Thanks!