23.01.2020, 18:53
Hey, i don't know how to count strings in a text file, i need to get the number to use it in a loop. If some of you can help me i'd be thankful :3
new string[64], count = 0; new File:file = fopen("houses.txt", io_read); while(fread(file, string)) { count++; } fclose(file);