About filterscripts... - 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)
+--- Thread: About filterscripts... (
/showthread.php?tid=382720)
About filterscripts... -
Da' J' - 04.10.2012
How did I do this again... I have two scripts in one .pwn, defined as a filterscript. But it ain't working like that.. So, I want them into two different FS's.. Anyone got a helping hand?
http://pastebin.com/AgvXtWiq
Re: About filterscripts... -
CmZxC - 04.10.2012
Remove main() { }
#define FILTERSCRIPT is useless without expanding it! Why don't you people understand it!
You can remove #define FILTERSCRIPT and add following functions ( still do that, no matter if you deleted or not )
pawn Код:
public OnFilterScriptInit()
{
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
Re: About filterscripts... -
Da' J' - 04.10.2012
Oops... Somehow forgot... Lmao thanks