SA-MP Forums Archive
Load From A Directory - 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: Load From A Directory (/showthread.php?tid=438784)



Load From A Directory - NinjaChicken - 22.05.2013

i have this right

File: fHandle = fopen("turfwars.cfg", io_read),

which loads the file from the scriptfiles directory, but id much rather it be loaded from a folder configs, inside the scriptfiles to resolve clutter how would you do it?


Re: Load From A Directory - mastermax7777 - 22.05.2013

"configs/turfwars.cfg"


Re: Load From A Directory - Abhishek. - 22.05.2013

try
"configs/turfwars.cfg"