How to go through all the rows in file ?
#3

Quote:
Originally Posted by Schneider
Посмотреть сообщение
pawn Код:
new File:file;
file=fopen("YourFile.txt", io_read);
new string[128];
while(fread(file, string))  // Loop through each line in the file
{
    //the row is stored in 'string', do whatever you want to do with it.
}
It only takes a last curse into a in file :/

Swears.ini ->
fuck // not work
idiot // not work
bitch // not work
noob // work
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)