Question.
#1

Is it a good idea to have a same commands in the gamemode and fs to avoid using of callfunction ? Would it have any issues ?
Reply
#2

In this case, only one command will respond. I've tested it before.
Reply
#3

hmm. Is there any way to make it work. Because I have some variables which I have to set = 0/1 and send message but idk how.
Reply
#4

Quote:
Originally Posted by Vizi10
View Post
In this case, only one command will respond. I've tested it before.
You could make both respond if you return 0 in the filterscript and 1 in the gamemode (filterscript will be called first, returning 0 will continue calling it in other scripts until it reaches the gamemode, where returning 1 will prevent the Unknown Command message).

But this is a pretty hacky way to do it, CallRemoteFunction is the better solution in my opinion since you'll have more control over it.
Reply
#5

I'll go with return for now.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)