23.07.2013, 04:21
I basically copy and pasted Kush's work, and I am getting these errors..:
(181) : error 001: expected token: "-string end-", but found "-identifier-"
(181) : warning 215: expression has no effect
(181) : error 001: expected token: ";", but found "-string-"
(181) : warning 215: expression has no effect
(181) : error 001: expected token: "-string end-", but found "-identifier-"
(181) : fatal error 107: too many error messages on one line
My line is:
Can anyone help me?
Edit:
This might be more helpful:
(181) : error 001: expected token: "-string end-", but found "-identifier-"
(181) : warning 215: expression has no effect
(181) : error 001: expected token: ";", but found "-string-"
(181) : warning 215: expression has no effect
(181) : error 001: expected token: "-string end-", but found "-identifier-"
(181) : fatal error 107: too many error messages on one line
My line is:
Код:
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COLOR_LIGHTGREEN"Login",""COLOR_LIGHTGREEN"Type your password below to login.","Login","Quit");
Edit:
This might be more helpful:
Код:
public OnPlayerConnect(playerid)
{
if(fexist(UserPath(playerid)))
{
INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COLOR_LIGHTGREEN"Login",""COLOR_LIGHTGREEN"Type your password below to login.","Login","Quit");
}
else
{
ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,""COLOR_LIGHTGREEN"Registering...",""COLOR_LIGHTGREEN"Type your password below to register a new account.","Register","Quit");
}
SetPlayerPos(playerid, 2493.159, -1687.038, 13.51347);
return 1;
}


