problem with "fexist", "fcreate"...
#6

I think you don't understand ...

Код:
public OnPlayerConnect(playerid)
{
	new PlayerName[MAX_PLAYER_NAME];
	GetPlayerName(playerid, PlayerName, sizeof(PlayerName));
	if (!fexist("%d.txt", PName)){ SendClientMessage(playerid,0xFFFF00AA,"Create an account: /register");}
	if (fexist("%d.txt", PName)){ SendClientMessage(playerid,0xFFFF00AA,"Connect to your account: /login");}
	PLAYERLIST_authed[playerid] = false;
  return false;
}
There is errors .. from if (!fexist("%d.txt", PName))

How i can remove errors ?

Thanks
Reply


Messages In This Thread
problem with "fexist", "fcreate"... - by darkot - 20.04.2009, 12:48
Re: problem with "fexist", "fcreate"... - by Klutty - 20.04.2009, 12:59
Re: problem with "fexist", "fcreate"... - by darkot - 20.04.2009, 13:35
Re: problem with "fexist", "fcreate"... - by darkot - 20.04.2009, 19:30
Re: problem with "fexist", "fcreate"... - by Donny_k - 20.04.2009, 19:35
Re: problem with "fexist", "fcreate"... - by darkot - 20.04.2009, 22:58
Re: problem with "fexist", "fcreate"... - by yom - 20.04.2009, 23:02
Re: problem with "fexist", "fcreate"... - by darkot - 21.04.2009, 09:11
Re: problem with "fexist", "fcreate"... - by yom - 21.04.2009, 09:47
Re: problem with "fexist", "fcreate"... - by darkot - 21.04.2009, 09:57

Forum Jump:


Users browsing this thread: 1 Guest(s)