[HELP] Cant fix this, help...
#8

Here is the full script where the 4 errors comes from.

Код:
public OnPlayerConnect(playerid)
{
  new playrname[MAX_PLAYER_NAME];
  new connect[128];
	GetPlayerName(playerid, playrname, sizeof(playrname));
	format(connect, sizeof(connect), "%s.ini", playrname);
	if(fexist(connect))
	{
		gPlayerAccount[playerid] = 1;
		SendClientMessage(playerid, COLOR_YELLOW, "You are registered, please login with /login password");
		return 1;
	}
	else
	{
		gPlayerAccount[playerid] = 0;
		SendClientMessage(playerid, COLOR_YELLOW, "You are new here or not registered, please register with /register password");
	}

	return 1;
}
It dont want the line
Код:
new connect[128];
to be there, the full script goes nuts if I keep new connect[128]; there
Reply


Messages In This Thread
[HELP] Cant fix this, help... - by FreddeN - 15.07.2009, 13:50
Re: [HELP] Cant fix this, help... - by yom - 15.07.2009, 13:54
Re: [HELP] Cant fix this, help... - by Correlli - 15.07.2009, 13:57
Re: [HELP] Cant fix this, help... - by Vince - 15.07.2009, 14:05
Re: [HELP] Cant fix this, help... - by FreddeN - 15.07.2009, 14:14
Re: [HELP] Cant fix this, help... - by FreddeN - 15.07.2009, 14:16
Re: [HELP] Cant fix this, help... - by Correlli - 15.07.2009, 14:19
Re: [HELP] Cant fix this, help... - by FreddeN - 15.07.2009, 14:23

Forum Jump:


Users browsing this thread: 1 Guest(s)