SA-MP Forums Archive
Is it able to go back in a folder [Read inside for description] - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Is it able to go back in a folder [Read inside for description] (/showthread.php?tid=177750)



Is it able to go back in a folder [Read inside for description] - Claude - 19.09.2010

Is it possible to add .. urls in fwrite?
So it will be for example
pawn Код:
fwrite("../filterscripts/commands.pwn", string);



Re: Is it able to go back in a folder [Read inside for description] - legodude - 19.09.2010

i dont think so.
but you could try.


Re: Is it able to go back in a folder [Read inside for description] - playbox12 - 19.09.2010

Well why don't you try lol, testing it takes less time, then waiting for an anwser.


Re: Is it able to go back in a folder [Read inside for description] - Mauzen - 19.09.2010

afaik you can only access the scriptfiles folder via a script, so this does not work with fwrite (but with file plugins)


Re: Is it able to go back in a folder [Read inside for description] - playbox12 - 19.09.2010

Quote:
Originally Posted by Mauzen
Посмотреть сообщение
afaik you can only access the scriptfiles folder via a script, so this does not work with fwrite (but with file plugins)
Yeah, I missunderstood the question. You can't acces files that are not in the scriptfiles folder. But indeed you can with plugins.

But I thought that was against the rules though


Re: Is it able to go back in a folder [Read inside for description] - Hiddos - 19.09.2010

Quote:
Originally Posted by playbox12
Посмотреть сообщение
Yeah, I missunderstood the question. You can't acces files that are not in the scriptfiles folder. But indeed you can with plugins.

But I thought that was against the rules though
Memory hacking plugins are forbidden, file plugins aren't.

Did some testing, it doesn't work.


Re: Is it able to go back in a folder [Read inside for description] - Kwarde - 19.09.2010

It is possible, I ever used it. It was in 0.2a, I don't know if it works at 0.3b, give it a try

This forum requires that you wait 120 seconds between posts. Please try again in 28 seconds.


Re: Is it able to go back in a folder [Read inside for description] - Claude - 19.09.2010

It is possible in <a href=" "></a> so I though also in fwrite :P