#define FILTERSCRIPT
#1

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...
Reply
#2

You don't need to define it, just take out OnGameModeInit and OnGameModeExit and replace them with OnFilterScriptInit and OnFilterScriptExit.
Reply
#3

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
Reply
#4

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.
Reply
#5

Alright, thanks guys for the help.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)