SA-MP Forums Archive
user system error - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: user system error (/showthread.php?tid=440787)



user system error - drichie - 31.05.2013

Код:
public OnPlayerConnect(playerid)
{
	if(fexist(path(playerid)))
	{
	    INI_ParseFile(user(playerid),"loaduser_%s",.bExtra=true,.extra=playerid);
	    ShowPlayerDialog(playerid,dialog_login,DIALOG_STYLE_PASSWORD,""white"Welcome back",""white"Type your password to login","Ok","Cancel");
	}
	else
	{
	    ShowPlayerDialog(playerid,dialog_register,DIALOG_STYLE_PASSWORD,""white"Join us now",""white"Type your password below to join us","Ok","Cancel");
 	}
 	return 1;
}
errors
Код:
test1.pwn(64) : error 001: expected token: "-string end-", but found "-identifier-"
test1.pwn(64) : warning 215: expression has no effect
test1.pwn(64) : error 001: expected token: ";", but found ")"
test1.pwn(64) : error 029: invalid expression, assumed zero
test1.pwn(64) : fatal error 107: too many error messages on one line
error line
Код:
line 64 if(fexist(path(playerid)))



Re: user system error - Chasm - 31.05.2013

Add ";" at the end? Maybe.
Without quotes, of course.


Re: user system error - drichie - 31.05.2013

i already tried that


AW: user system error - HurtLocker - 31.05.2013

show your path stock


Re: user system error - drichie - 31.05.2013

<DELETED>