SA-MP Forums Archive
FS disabling GM - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: FS disabling GM (/showthread.php?tid=271449)



FS disabling GM - Srdjan - 24.07.2011

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!


Re: FS disabling GM - MadeMan - 24.07.2011

Last return in OnPlayerCommandText must be 0.


Re: FS disabling GM - Kush - 24.07.2011

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.


Re: FS disabling GM - Srdjan - 24.07.2011

Awesome, worked! Thanks a lot!