SA-MP Forums Archive
What to do if i MUST load 2 filterscripts 'first' - 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: What to do if i MUST load 2 filterscripts 'first' (/showthread.php?tid=480333)



What to do if i MUST load 2 filterscripts 'first' - Excelize - 10.12.2013

Hey guys,

Today i ran into a problem.

The story is; I have 2 filterscripts that need to be loaded first.. MellAdmin and PPC_Housing. If i don't load Mell first, nothing on it works. If i don't load Housing first, then most of it doesnt work..

Please don't tell me to implement one of them into my script, it came out horrible...

Can i do something like this is the server.cfg file?:

Код:
filterscripts: admin
filterscripts2: house
I know that looks retarded, but yeah...

Thank you in advance.


Re: What to do if i MUST load 2 filterscripts 'first' - SickAttack - 10.12.2013

Those two filterscripts aren't compatable so yeah you will have to implement one of them in your main script or use one at a time.

Quote:

Can i do something like this is the server.cfg file?:

Code:
filterscripts: admin
filterscripts2: house

Not posible. Even if you do that it will be the same as the default way to add filterscripts.


Re: What to do if i MUST load 2 filterscripts 'first' - LeeXian99 - 10.12.2013

You can't. You must do
Код:
filterscript (idk if with 's') admin house
The ascending of the filterscript is important so if you want to load house first, make house on the front and admin on the second, vice versa.


Re: What to do if i MUST load 2 filterscripts 'first' - Astralis - 10.12.2013

In server.cfg:

Код:
filterscripts MellAdmin PPC_Housing