23.08.2011, 16:38
Hello,
I think my question is clear. How can I create files in another folder such as npcmodes? I tried this;
But I am unsure it works. Since server is crashing on this line...
... and this is the first write.
Jochem
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);
pawn Code:
format(str,sizeof(str),"#define RECORDING \"%s\"",filename);
print("8");
fwrite(file,str);
Jochem