MySQL Problem
#4

Quote:
Originally Posted by MadeMan
Посмотреть сообщение
Try removing mysql_retrieve_row()

pawn Код:
stock GetClanColorName(const clanname[])
{
    new szResult[256],Arg[3][70],Info[256];
    format(szResult,256,"SELECT `Color` FROM `Clans` WHERE `Name`='%s'",clanname);
    mysql_query(szResult);
    mysql_store_result();
    mysql_fetch_row_format(Info,"|");
    mysql_free_result();
    split(Info,Arg,',');
    print(Info);
    return rgba2hex(strval(Arg[0]),strval(Arg[1]),strval(Arg[2]));
}
thank's you very much man
Reply


Messages In This Thread
MySQL Problem - by EviLpRo - 11.08.2011, 11:16
Re: MySQL Problem - by MadeMan - 11.08.2011, 11:38
Re: MySQL Problem - by XGh0stz - 11.08.2011, 11:43
Re: MySQL Problem - by EviLpRo - 11.08.2011, 16:12

Forum Jump:


Users browsing this thread: 1 Guest(s)