[HELP] Opening files by their number in the folder - 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: [HELP] Opening files by their number in the folder (
/showthread.php?tid=149362)
[HELP] Opening files by their number in the folder -
lolumadd - 21.05.2010
So..ill try to make this as easy to understand as possible:
For example:
There are 10 files in a folder. They are named "username.cfg"
Folder:
jacob.cfg
carlos.cfg
james.cfg
alex.cfg
jacob would be id 1
carlos would be id 2, etc.
would it be possible to open file #1 in the folder?
so without doing
I could do
Also possibly if i could get the title of the file as well? thanks..
Re: [HELP] Opening files by their number in the folder -
[HiC]TheKiller - 21.05.2010
No, you cannot open a specific file number unless you do then alpha/numerically ordered. Even then it would be hard.