11.04.2010, 13:47
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);
}