user system error
#1

Код:
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)))
Reply
#2

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

i already tried that
Reply
#4

show your path stock
Reply
#5

<DELETED>
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)