Interesting question - 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: Interesting question (
/showthread.php?tid=511364)
Interesting question -
DeathKing - 05.05.2014
Is there a way to load GM's out of SA-MP Gamemode folder? Like Sever dicrectory\LALA\LALA.amx?
Re: Interesting question -
BroZeus - 05.05.2014
i think like this
"../LALA/LALA.amx"
the ".." stands for parent directory
not sure though it will work
Re: Interesting question -
DeathKing - 05.05.2014
server.cfg supports it? or no?
Re: Interesting question -
BroZeus - 05.05.2014
i dont know try it try with "" and without "" in sever.cfg
Re: Interesting question -
RajatPawar - 05.05.2014
Yes. You can load it from within a folder WITHIN the filterscript/gamemode folder, or just from a folder in the main directory.
Consider this layout
--------------------------------
filterscripts ->myFolder->filter.pwn
->filter.amx
gamemodes->other->bare.pwn
->bare.amx
someFolder->otherFS.pwn
->otherFS.amx
--------------------------------
You can load it like -
Quote:
Originally Posted by server.cfg
gamemode other/bare
filterscripts myfolder/filter ../someFolder/otherFS
|
Cheers