SA-MP Forums Archive
Filterscript - Gamemode Problem - 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: Filterscript - Gamemode Problem (/showthread.php?tid=178259)



Filterscript - Gamemode Problem - Sascha - 21.09.2010

Hi guys,
I made a filterscript with some commands, but if I load it, the commands scripted in the gamemodes don't work anymore...

(commands are down with dcmd and OnPlayerCommandText - but I don't want to change that:P)



Thanks


Re: Filterscript - Gamemode Problem - Babul - 21.09.2010

remove the (last)
Код:
return 1;
from your OnPlayerCommandText(). this will cause your FS callback NOT to return, so it will execute the gamemodes' callback aswell, if it didnt find any known command in your FS.


Re: Filterscript - Gamemode Problem - Sascha - 21.09.2010

k ty


...message too short...