11.10.2015, 11:22
Hey. I wanna open all files that exist in folder which are named by numbers - but it ain't work. What's wrong?
Код:
new string[64]; new File:item; for(new i = 0; i < MAX_ITEMS; i++){ if(item){ format(string, sizeof(string), "scriptfiles\\items\\%i.ini", i); item=fopen(string, io_read); printf("file %i", i);}}