Mysql error please help
#1

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?
Reply
#2

ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "Login", string1, "Connect", "Cancel");
Reply
#3

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"); 
Reply
#4

show me : string1
Reply
#5

true to change the ""ROJO" to "{FFFFFF}Login" FFFFFF is white
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)