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

Код:
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);
		}
ma code.

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
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)