[NEED HELP] Have main game-mode script work in a filterscript
#4

Ignore all of those suggestions! CallRemoteFunction is correct and will require your function be declared public.

pawn Код:
CallRemoteFunction("IsPlayerGod", "i", playerid);
Also since the function is called externally, and uses a passed index to directly access an array, you should add some bounds checking.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)