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