SA-MP Forums Archive
[HELP] How to read from multiple files. - 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] How to read from multiple files. (/showthread.php?tid=89399)



[HELP] How to read from multiple files. - arnutisz - 01.08.2009

Hello, I know how to read from multiple files with loop, but only if file names are 0, 1, 2.... . But how to read from files if file name is player name? Like there are 10 registered users, how to read from these 10 files with loop, when players are offline?


Re: [HELP] How to read from multiple files. - paytas - 01.08.2009

When a player register, add his name to another file, so you have a file with all registered players names. You should guess what you have to do next to that.