SA-MP Forums Archive
Is this Possible?? - 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: Is this Possible?? (/showthread.php?tid=165894)



Is this Possible?? - Jeffry - 06.08.2010

Hello guys,

I've asked myself if there is a way to let the script read from files which are in the "/filterscripts" folder.


Greetz,
Jeffry



Re: Is this Possible?? - jonrb - 06.08.2010

Technically yes, although it is quite hard.
See here.
Go down to the "Disabling the scriptfiles restriction" bit.
I hope that helps!


Re: Is this Possible?? - jonrb - 06.08.2010

If you don't understand the tut, here is a link to download a tested working one. Note that you need to change all of your file names to /scriptfiles/*
http://uppit.com/vrp3xkdk5pp5/samp-server_-_Edited.exe


Re: Is this Possible?? - Jeffry - 06.08.2010

Thank you for the info. I've understood the Tutorial, but It doesn't really help me, as I'm working on a script which Iґm gonna release. So it is not possible to do it this way, as then everyone needs to do this, or needs the plugin, and has to change all HIS scripts.

So there is no other way to come with normal pawn script to the direction?



Re: Is this Possible?? - jonrb - 06.08.2010

Nope, i'm afraid it's the only way. Using relative path crashes the server. I can't use plugins so there is a CHANCE that they might work.


Re: Is this Possible?? - Jeffry - 06.08.2010

Oky. Thanks anyway. The script will work without it too. It would just have made it a way smarter. ^^