/seebugs cmd
#3

Check if the file handle is valid before using fread and fclose otherwise it might crash the server.
Check if the file exists first and then open it to read from it.

I find using dialogs for such things much better instead of spamming the chat and with the possibility of not being able to read all of them because online players chat.
Reply


Messages In This Thread
/seebugs cmd - by SHoCK44 - 13.06.2015, 12:02
Re: /seebugs cmd - by Yashas - 14.06.2015, 05:30
Re: /seebugs cmd - by Konstantinos - 14.06.2015, 10:37
Re: /seebugs cmd - by shocktheripper - 15.06.2015, 11:09

Forum Jump:


Users browsing this thread: 2 Guest(s)