SA-MP Forums Archive
Is it possible? - 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: Is it possible? (/showthread.php?tid=297665)



Is it possible? - Johnny_Robins - 17.11.2011

Is it possible to take a filterscript and add it to a gamemode script?


Re: Is it possible? - grand.Theft.Otto - 17.11.2011

Yes.

Make sure:

- You don't paste the same callback twice from the filterscript to gamemode
- Each function / variable / stock / public / include / define goes in the correct spot


Re: Is it possible? - nuriel8833 - 17.11.2011

Yes you can merge a gamemode and a filterscript(s) together,but pay lots of attention,it is really complicated and can cause many errors
Like the person above me has told you,do not repeat the same script and place each function/stock/whatever in his correct postion.
Good luck