Quote:
Originally Posted by paulommu
Also, my current structure is this:
pawn Код:
[gamemode.pwn]
forward Something(); public Something(); { return 42; }
[filterscript.pwn -> functions.inc] stock Something() { return CallRemoteFunction("Something", ""); }
[anticheat.pwn -> functions.inc] stock Something() { return CallRemoteFunction("Something", ""); }
I know that, at this moment, there isn't any problem. Since CallRemoteFunction just call declared public functions, that script above will run perfectly. But I wonder if I start creating these declared public functions, I'll have some problems like, the function getting called 2 times, or the returned value being wrong..
|
I wanna know how to solve it to!
But also something like this can be used, right?
[gamemode.pwn]
stock Something() { return CallRemoteFunction("Something", ""); }
[filterscript.pwn -> functions.inc]
forward Something();
public Something(); { return 42; }