SA-MP Forums Archive
File Reading? - 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)
+--- Thread: File Reading? (/showthread.php?tid=439121)



File Reading? - Yuup - 23.05.2013

Hi, OnPlayerConnect i open, read and close 200+ files. Is this going to be a problem? I mean could that lag the server or cause some other issue?


Re: File Reading? - DobbysGamertag - 23.05.2013

Could i ask? Why 200 files? If it's userfiles, you're probably going for SQL or Y_ini.


Re: File Reading? - Yuup - 23.05.2013

Quote:
Originally Posted by DobbysGamertag
Посмотреть сообщение
Could i ask? Why 200 files? If it's userfiles, you're probably going for SQL or Y_ini.
No, i use MySQL for accounts. But this is just something like a few static houses or vehicles. And i need some information from those files whenever a player connects.