11.10.2015, 11:27
PHP код:
new string[64];
new File:item;
for(new i = 0; i < MAX_ITEMS; i++){
format(string, sizeof(string), "/items/%i.ini", i); //in scriptfiles
if(fexist(string)){
item = fopen(string, io_read);
printf("file %i", i);
}
}