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


Messages In This Thread
CallRemoteFunction - by HidroDF - 04.11.2016, 19:16
Re: CallRemoteFunction - by SickAttack - 04.11.2016, 19:55

Forum Jump:


Users browsing this thread: 1 Guest(s)