30.08.2010, 05:08
If i put the code you will understand
file Maps.l:
And in console:
pawn Код:
stock LoadMaps()
{
new string[256];
new File:Handler=fopen("Maps.l",io_read);
while(fread(Handler,string))
{
new str[256];
format(str,256,"%s.m",string);
if(!fexist(str))
{
printf("ERROR: I can't open file: %s",str);
break;
}
//blabla
}
fclose(Handler);
return 1;
}
PHP код:
Test
PHP код:
[22:11:29] ERROR: I can't open file: Test
.m