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

OK, so I have this type of code in my main gamemode:
PHP код:
new godmode[MAX_PLAYERS];
forward IsPlayerGod(TargetID);
public 
IsPlayerGod(TargetID)return (godmode[TargetID]); 
I have read some of that "CallRemoteFunction" things, but I can't get it to work properly...
Code in filterscript:
PHP код:
#define IsPlayerGod() CallRemoteFunction("IsPlayerGod","") 
Erros I get trying to compile filterscript:
Код HTML:
error 017: undefined symbol "IsPlayerGod"
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)