Y_Masters
#6

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; }
Reply


Messages In This Thread
Y_Masters - by Mariawantstowatchtv - 02.09.2014, 10:15
Re: Y_Masters - by Mariawantstowatchtv - 13.09.2014, 10:56
Re: Y_Masters - by paulommu - 13.09.2014, 13:49
Re: Y_Masters - by paulommu - 13.09.2014, 13:54
Re: Y_Masters - by Mariawantstowatchtv - 14.09.2014, 07:03
Re: Y_Masters - by Mariawantstowatchtv - 14.09.2014, 07:13
Re: Y_Masters - by Mariawantstowatchtv - 14.09.2014, 12:07
Re: Y_Masters - by Mariawantstowatchtv - 15.09.2014, 15:35
Re: Y_Masters - by Mariawantstowatchtv - 15.09.2014, 15:59
Re: Y_Masters - by Mariawantstowatchtv - 15.09.2014, 17:48

Forum Jump:


Users browsing this thread: 1 Guest(s)