05.09.2016, 05:24
hello guys
i wrote a code but it has an error
my code :
error
Line 376 :
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(query, 256, "SELECT * FROM users WHERE pName='%s'", pName[playerid]);
mysql_function_query(g_Handle, query, true, GetPlayerInfos, "i", playerid);
}
else
{
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_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);
}
}
PHP код:
J:\SampServer_R2\gamemodes\lsgl.pwn(376) : error 076: syntax error in the expression, or invalid function call
J:\SampServer_R2\gamemodes\lsgl.pwn(395) : warning 203: symbol is never used: "fields"
J:\SampServer_R2\gamemodes\lsgl.pwn(395) : warning 203: symbol is never used: "rows"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
PHP код:
mysql_function_query(g_Handle, query, true, GetPlayerInfos, "i", playerid);