24.09.2018, 16:36
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:
fopen function
Example:
pawn Код:
new File:fp = fopen("file.ini", io_readwrite);
if (!fp) {
return 0;
}
fclose(fp);