Creating files from script in npcmodes folder
#1

Hello,

I think my question is clear. How can I create files in another folder such as npcmodes? I tried this;

pawn Code:
format(str,sizeof(str),"../npcmodes/%s.pwn",filename);
But I am unsure it works. Since server is crashing on this line...

pawn Code:
format(str,sizeof(str),"#define RECORDING \"%s\"",filename);
        print("8");
        fwrite(file,str);
... and this is the first write.

Jochem
Reply


Messages In This Thread
Creating files from script in npcmodes folder - by Jochemd - 23.08.2011, 16:38
Re: Creating files from script in npcmodes folder - by Pinguinn - 23.08.2011, 16:42
Re: Creating files from script in npcmodes folder - by Jochemd - 23.08.2011, 16:45

Forum Jump:


Users browsing this thread: 3 Guest(s)