MySQL issues
#1

Well when I use this function to show a dialog and then see if the code is right i get the next error


pawn Код:
FUNCTION: OnAccCodesLoad(playerid)
{
        cache_get_value_int(0, code", PlayerInfo[playerid][pCode]);
    SPD(playerid, D_CHECK, DIALOG_STYLE_INPUT, "
Name?", "{FFFFFF}Text", "Yeah", "Aha");
    return true;
}

//and this is how i use it in that dialog

new string[130];

mysql_format(SQL, string, sizeof(string), "
SELECT `code` FROM `users` WHERE `name`='%e' LIMIT 1", playerid);
mysql_tquery(SQL, string, "
OnAccCodesLoad", "i", playerid);
Reply


Messages In This Thread
MySQL issues - by IdonTmiss - 17.07.2018, 10:40
Re: MySQL issues - by denNorske - 17.07.2018, 11:12
Re: MySQL issues - by IdonTmiss - 17.07.2018, 11:19
Re: MySQL issues - by Calisthenics - 17.07.2018, 12:55
Re: MySQL issues - by Ivan_Ino - 17.07.2018, 13:00
Re: MySQL issues - by IdonTmiss - 17.07.2018, 13:19
Re: MySQL issues - by Ivan_Ino - 17.07.2018, 13:22
Re: MySQL issues - by Florin48 - 17.07.2018, 13:24
Re: MySQL issues - by Ivan_Ino - 17.07.2018, 13:26
Re: MySQL issues - by IdonTmiss - 17.07.2018, 13:26

Forum Jump:


Users browsing this thread: 1 Guest(s)