error 076
#1

hello guys

i wrote a code but it has an error

my code :
PHP код:
    if(dialogid == DIALOG_LOGIN)
    {
        if(
response)
        {
            
format(EnteredPass[playerid], 128"%s"inputtext);
            if(
EnteredPass[playerid] == pPass[playerid])
            {
                new 
query[256];
                
format(query256"SELECT * FROM users WHERE pName='%s'"pName[playerid]);
                
mysql_function_query(g_HandlequerytrueGetPlayerInfos"i"playerid);
            }
            else
            {
                
ShowPlayerDialog(playeridDIALOG_LOGINDIALOG_STYLE_INPUT"Vorud""{FF0000}Kesi Ghablan Ba In Esm Sabte Nam Karde Ast\n{FF6664}Lotfan Baraye Vorud Password Ra Vared Konid""Vorud""Khoruj");
                return 
0;
            }
        }
        else
        {
            
Kick(playerid);
        }
    } 
error

PHP код:
J:\SampServer_R2\gamemodes\lsgl.pwn(376) : error 076syntax error in the expression, or invalid function call
J
:\SampServer_R2\gamemodes\lsgl.pwn(395) : warning 203symbol is never used"fields"
J:\SampServer_R2\gamemodes\lsgl.pwn(395) : warning 203symbol is never used"rows"
Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
1 Error

Line 376 :
PHP код:
mysql_function_query(g_HandlequerytrueGetPlayerInfos"i"playerid); 
Reply
#2

Put quotations around the function, like:
PHP код:
mysql_function_query(g_Handlequerytrue"GetPlayerInfos""i"playerid); 
Reply
#3

tnx Bro <3
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)