Mysql error please help - 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: Mysql error please help (
/showthread.php?tid=576837)
Mysql error please help -
STONEGOLD - 07.06.2015
PHP код:
if(rows)
{
format(string1,sizeof(string1),"{00CC00}Your account : %s existe in our database\nEnter your password",pName(playerid));
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD,""ROJO"Login",string1,"Connect","Cancel");
}
PHP код:
(1683) : error 001: expected token: "-string end-", but found "-identifier-"
(1683) : warning 215: expression has no effect
(1683) : error 001: expected token: ";", but found "-string-"
(1683) : warning 215: expression has no effect
(1683) : warning 215: expression has no effect
(1683) : warning 215: expression has no effect
(1683) : warning 215: expression has no effect
(1683) : error 001: expected token: ";", but found ")"
(1683) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
PHP код:
LINE 1683: ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD,""ROJO"Login",string1,"Connect","Cancel");
What's wrong with it?
Re : Mysql error please help -
TomyZ - 07.06.2015
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "Login", string1, "Connect", "Cancel");
Re: Mysql error please help -
STONEGOLD - 07.06.2015
Now, I got this.
PHP код:
else if(!rows)
{
format(string1,sizeof(string1),"Welcome %s\nPlease type your password to register.",pName(playerid));
ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_PASSWORD, "Register", string1, "Connect", "Cancel");
}
PHP код:
(1688) : error 029: invalid expression, assumed zero
1688) : warning 215: expression has no effect
(1688) : warning 215: expression has no effect
(1688) : warning 215: expression has no effect
(1688) : warning 215: expression has no effect
(1688) : warning 215: expression has no effect
(1688) : error 001: expected token: ";", but found ")"
(1688) : error 029: invalid expression, assumed zero
(1688) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
PHP код:
Line 1688: ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_PASSWORD, "Register", string1, "Connect", "Cancel");
Re : Mysql error please help -
TomyZ - 07.06.2015
show me : string1
Re: Mysql error please help -
UltraScripter - 07.06.2015
true to change the ""ROJO" to "{FFFFFF}Login" FFFFFF is white