SA-MP Forums Archive
How to fix this problem? - 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: How to fix this problem? (/showthread.php?tid=349473)



How to fix this problem? - NeymarJr - 09.06.2012

Hey guys, I have a problem with my server.cfg
Everytime I add a new filterscript, some of the other filterscript that I have added wouldn't work when I go on my server and then if I remove that new script that I just added, all of the scripts will work.. How do I fix this problem?


Re: How to fix this problem? - Rachael - 09.06.2012

do the filterscripts fail to load, or do they just not work as intended?

remember there is a limit to the number of fs that you can load at one time.
I think its 10 or 9.


Re: How to fix this problem? - NeymarJr - 09.06.2012

They don't load... :\


Re: How to fix this problem? - Rachael - 09.06.2012

perhaps the new filterscript is broken, and therefore stops, crashes, or hangs.


Re: How to fix this problem? - NeymarJr - 09.06.2012

Quote:
Originally Posted by Rachael
Посмотреть сообщение
perhaps the new filterscript is broken, and therefore stops, crashes, or hangs.
Oh.. ok then, thanks anyway


Re: How to fix this problem? - MP2 - 09.06.2012

You can only load 16 at a time.


Re: How to fix this problem? - NeymarJr - 09.06.2012

Quote:
Originally Posted by MP2
Посмотреть сообщение
You can only load 16 at a time.
I have less than 15 though...


Re: How to fix this problem? - MP2 - 09.06.2012

Define 'not working'. Exactly what does not work?


Re: How to fix this problem? - NeymarJr - 09.06.2012

Quote:
Originally Posted by MP2
Посмотреть сообщение
Define 'not working'. Exactly what does not work?
They don't load, if its a dialog menu, and I click select nothing happens even though it has return 1; or return 0;
and things like map, I used to have them in my server then after I added a new filterscript that place doesn't come up anymore..


Re: How to fix this problem? - MP2 - 09.06.2012

When you respond to a dialog nothing happens?

Make sure you return 0 in all scripts in OnDialogResponse - even the ones you don't use dialogs in.