files, fuck files! but need them though.
#4

pawn Код:
new name[MAX_PLAYER_NAME], string[48];
    GetPlayerName(clickedplayerid, name, sizeof(name));
    new plrIP[16];
    GetPlayerIp(clickedplayerid, name, sizeof(name));
    new IPtocompare[16];
    new File:vipinfo=fopen(name, io_write);
    if(fexist(name))//line 77, you put an ; after an if statement, BAD BOY! :(
        {
        vipinfo = fopen("Your_file_name_here.whateverextentionyouwant", io_read); //line 79
        fread(vipinfo, IPtocompare, sizeof(IPtocompare), false);
        fclose(vipinfo);
        }
Fixed.
Reply


Messages In This Thread
files, fuck files! but need them though. - by legodude - 11.04.2010, 13:13
Re: files, fuck files! but need them though. - by Winded - 11.04.2010, 13:17
Re: files, fuck files! but need them though. - by Torran - 11.04.2010, 13:18
Re: files, fuck files! but need them though. - by biltong - 11.04.2010, 13:47

Forum Jump:


Users browsing this thread: 1 Guest(s)