11.04.2010, 13:13
Код:
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 { fopen(vipinfo, io_read); //line 79 fread(vipinfo, IPtocompare, sizeof(IPtocompare), false); fclose(vipinfo); }
i want it to create a file with a name that is the playername. and the file contains the ip.
this is kinda of a auto recognition system vor vips.
hope u can help me my errors are:
error 035: argument type mismatch (argument 1) in line 79
error 036: empty statement in line 77
thx in advance