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

Quote:
Originally Posted by kvann
Посмотреть сообщение
^^^

Your macro didn't work since you tried to pass a parameter to it, but it doesn't use any. Replace your macro with this:

Код:
#define IsPlayerGod(%0) CallRemoteFunction("IsPlayerGod", "i", %0)
It still does not work, now it does not recognize the "IsPlayerGod" function... I've tried doing something like that:
Код:
new IsPlayerGod = 0;
	IsPlayerGod = CallRemoteFunction("IsPlayerGod", "i", %0);
But now I get another error:
"error 010: invalid function or declaration"
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)