CallRemoteFunction
#1

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:
Код:
CallRemoteFunction("CallMe", "is", 69, "this is a string");
Filterscript:
Код:
forward CallMe(number, const string[]);
public CallMe(number, const string[])
{
    printf("CallMe called. Int: %i  String: %s.", number, string);
    return 1;
}
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!
Reply
#2

Quote:
Originally Posted by Wiki
Calls a public function in any script that is loaded.
4char
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)