03.03.2011, 16:38
oh, nevermind. I've just turned my brains on and think and that what I get, it works fine for me. Hope it's will be helpful for you.
Код:
new string[64], count = 0; new File:file = fopen("houses.txt", io_read); while(fread(file, string)) { count++; } fclose(file);