File Functions restricted to Scriptfiles?
#1

Hey guys, quick question.

I've been working on a project to increase my scripting skills.

This includes a "Core Script Addons" file.
This file is "../EUX scripts/".

Now my "Faction Engine" which handles factions has a problem.
I made a function named 'LoadFactions()' which loads all the factions.
However I can only read from scriptfiles, not my Core Script Addons file.

So for example

pawn Код:
fopen("Factions.cfg", io_read);
works

pawn Код:
fopen("../EUX scripts/Factions.cfg", io_read);
Doesn't.

Now seeing as this script is loading factions, Dini, SII etc is out of the question.
And due to hella lot of problems with MySQL, I'd rather not get into it.

So how can I access files beyond Scriptfiles (Like SII) ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)