Getting highest field value
#9

Sorry for bumping it, didnt wanted to create another topic. I have another problem with r7 plugin, it always return NULL

pawn Код:
<....>
if (ResultID == 3)
{
    cache_get_data(iRows, iFields);
    if (iRows)
    {
        new szPassword[31];
        cache_get_field_content(0, "Slaptazodis", szPassword);
        format(szResult, 188, "Sveiki <i>%s</i>. Jыs papraрлte atsiыsti sаskaitos <u>%s</u> slaptaюodб.\n \nSlaptaюodis: <b>%s</b>", GetPlayerNameEx(playerid), GetPlayerNameEx(playerid), szPassword);
        SendMail(Email, "granderiuks@yahoo.com", "Lithuanian Trucking Administracija", "Slaptaюodis", szResult);
    }
    else
    {
    ShowPlayerDialog(playerid, CONNECTED + 1, DIALOG_STYLE_INPUT, "Slaptaюodюio priminimas", "{FFFFFF}Suveskite рios sаskaitos el. paрtа.\n{FFFFFF}Jei suvestas el. paрtas bus suvestas teisingai, laiрkas su slaptaюodюiu bus atsiыstas per artimiausiа minutж\n{FF0000}Suvestas el. paрtas yra neteisingas!", "Suvesti", "Atgal");
    }
}
Query:

pawn Код:
format(szQuery, 134, "SELECT `Email` FROM `zaidejai` WHERE `Vardas` = '%s' AND `Email` = '%s'", GetPlayerNameEx(playerid), inputtext);
mysql_function_query(iHandle, szQuery, true, "OnPlayerRequestPassword", "dssd", playerid, GetPlayerNameEx(playerid), inputtext, 3);
Reply


Messages In This Thread
Getting highest field value - by BaubaS - 01.06.2012, 22:29
Re: Getting highest field value - by Jonny5 - 01.06.2012, 22:31
Re: Getting highest field value - by BaubaS - 01.06.2012, 22:35
Re: Getting highest field value - by Jonny5 - 01.06.2012, 22:42
Re: Getting highest field value - by Vince - 01.06.2012, 22:46
Re: Getting highest field value - by Kar - 02.06.2012, 03:46
Re: Getting highest field value - by Scott - 02.06.2012, 05:24
Re: Getting highest field value - by BaubaS - 02.06.2012, 07:14
Re: Getting highest field value - by BaubaS - 02.06.2012, 07:40
Re: Getting highest field value - by iggy1 - 02.06.2012, 07:52

Forum Jump:


Users browsing this thread: 2 Guest(s)