22.09.2013, 15:37
EDIT: Just re-read what you posted. That's what Tyler basically changed but it still wouldn't compile unless you used the code i gave you as there was a misplaced bracket that was "{" instead of "}".
What exactly do you want to know? What was changed?
I changed: (marked with //line i changed.
Also; you had
not
What exactly do you want to know? What was changed?
I changed: (marked with //line i changed.
pawn Код:
if(dialogid == DIALOG_LOGIN)
{
if(response)
{
GetPlayerName(playerid, pName, 24);
mysql_real_escape_string(inputtext, inputtext, TuberiasMySQL);
format(str, sizeof(str), "SELECT * FROM users WHERE username='%s'", pName);
mysql_function_query(TuberiasMySQL, str, true, "OnQueryFinish", "iis", 0,playerid, inputtext);
}
else
{
SendClientMessage(playerid, COL_RED, "KICKED: You need to login to play here");
Kick(playerid);
}
{//line i changed - reason: You just got the bracket mixed up. You were suppose to close it ('}').
pawn Код:
#definfe DIALOG_SERVER
pawn Код:
#define DIALOG_SERVER
![Smiley](images/smilies/smile.png)