SA-MP Forums Archive
wat's filterscript? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: wat's filterscript? (/showthread.php?tid=65024)



wat's filterscript? - Daniel115pinoy - 09.02.2009

just saking wat's filter script tnx


Re: wat's filterscript? - Mikep - 09.02.2009

Filterscripts and scripts that run along-side your gamemode.


Re: wat's filterscript? - Kalcor - 09.02.2009

The idea behind Filterscripts is that they filter things like bad words sent to the chat or when people flood the chat. But they have many other uses than just chat text filtering.


Re: wat's filterscript? - LAP]Will - 09.02.2009

Yeah, basically anything you can do on a gamemode you can do on a filterscript (I think so anyway). If you use a function like

OnPlayerPrivMsg(etc)

In both your gamemode and filterscript, it will execute both blocks of code (from FS + GM). Not sure which one first, though. Can anyone clear that up? I'm curious myself about that


Re: wat's filterscript? - Bogdan Cirstea - 09.02.2009

Normally the function induced in the GM will react, then the one from the FS