23.01.2020, 22:32
How're you separating strings? If you're separating them one on each line, maybe you can just count the lines
HTML Code:
new string[64], count = 0; new File:file = fopen("houses.txt", io_read); while(fread(file, string)) { count++; } fclose(file);