24.04.2012, 17:16
How to get all file names in scriptfiles folder? Is there a plugin or something for this?
House_1.txt House_2.txt House_3.txt
new
szString[20],
File:Houses[6]
;
for(new i=0; i<6; i++)
{
format(szString, sizeof(szString), "House_%d.txt", i);
Houses[i] = fopen(szString, io_append);
}