FS disabling GM
#1

So, I've had this game mode running perfectly with many commands (dcmd) and then I wanted to create filter script for roadblocks. I've made it, placed the thing in server.cfg and when I log in game and try to use the roadblock commands it works great. But whenever I try commands from game mode, they don't work, I don't even get a error or anything. If you need more info, tell me. Thanks in advance!
Reply
#2

Last return in OnPlayerCommandText must be 0.
Reply
#3

Filterscripts sometimes causes conflicts with your gamemode if not used properly. If your using a filterscript to return a callback or function, it will most likely override the gamemode's.
Reply
#4

Awesome, worked! Thanks a lot!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)