Server Crashes
#2

Before writing something into the file you must check its status because it might not be opened; and after working with the file you must close it to avoid some crashes.

Example:
pawn Код:
new File:fp = fopen("file.ini", io_readwrite);
if (!fp) {
     return 0;
}
fclose(fp);
fopen function
Reply


Messages In This Thread
Server Crashes - by AlfaSufaIndo - 24.09.2018, 16:03
Re: Server Crashes - by VVWVV - 24.09.2018, 16:36
Re: Server Crashes - by Undef1ned - 24.09.2018, 16:36

Forum Jump:


Users browsing this thread: 1 Guest(s)