fopen, tag mismatch [SOLVED]
#1

error:
Код:
warning 213: tag mismatch
pawn Код:
new File:f;
f=fopen("MyFolder.ini",io_write);
if(f==0)printf("ERROR at file open");//error here.
Quote:

Returns the Filehandle. 0 if failed to open file

from samp-wiki
Should the line look like this if(f==File:0) or?
Reply
#2

pawn Код:
if(!f) printf("ERROR at file open");
Reply
#3

pawn Код:
new File:f = fopen("MyFolder.ini", io_write);
if(!f) printf("ERROR at file open");
Reply
#4

Thank you guys. Rep+ from me
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)