#define FILTERSCRIPT - 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: #define FILTERSCRIPT (
/showthread.php?tid=186538)
#define FILTERSCRIPT -
TheHoodRat - 29.10.2010
Yeah, so, I am basically making a filterscript suitable for a roleplay server, but here's a question.
Do we have to use #define FILTERSCRIPT in the script, or can we just script that part?
It's because half of the filterscripts I've seen, maybe all of them, have no #define FILTERSCRIPT, so hmm...
Re: #define FILTERSCRIPT -
The_Moddler - 29.10.2010
You don't need to define it, just take out OnGameModeInit and OnGameModeExit and replace them with OnFilterScriptInit and OnFilterScriptExit.
Respuesta: #define FILTERSCRIPT -
admantis - 29.10.2010
No it's not need you just script the filterscript the proper way (like not using OnGameModeInit but OnFilterScriptInit), etcetera but the SA-MP team made it that way to make it 'adjustable'.. I think hah good luck
Re: #define FILTERSCRIPT -
Hiddos - 29.10.2010
Nope, it automatically loads it the way it should. I think that there isn't enough explanation about this "definition", as it only confuses new scripters, just like it confused me.
Re: #define FILTERSCRIPT -
TheHoodRat - 29.10.2010
Alright, thanks guys for the help.