Read Line
#1

I wanna read all the lines, but this just read the first line

pawn Код:
if (strcmp(cmd, "/read", true) == 0)
    {
        new File:example = fopen("procurados.txt", io_read);
        fread(example, string);
        fclose(example); //
        printf("%s",string);
        SendClientMessage(playerid, -1, string);
        return 0x01;
    }
Reply


Messages In This Thread
Read Line - by Ricop522 - 23.06.2011, 20:18
Re: Read Line - by Mauzen - 23.06.2011, 20:20
Re: Read Line - by [HiC]TheKiller - 23.06.2011, 20:29
Re: Read Line - by Ricop522 - 23.06.2011, 20:29

Forum Jump:


Users browsing this thread: 1 Guest(s)