Posts: 180
Threads: 20
Joined: May 2010
Reputation:
0
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...
Posts: 1,130
Threads: 77
Joined: Jan 2010
Reputation:
0
You don't need to define it, just take out OnGameModeInit and OnGameModeExit and replace them with OnFilterScriptInit and OnFilterScriptExit.
Posts: 2,524
Threads: 109
Joined: Sep 2009
Reputation:
0
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
Posts: 3,304
Threads: 58
Joined: Sep 2008
Reputation:
0
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.
Posts: 180
Threads: 20
Joined: May 2010
Reputation:
0
Alright, thanks guys for the help.