12.06.2014, 18:36
Como ficaria o cуdigo abaixo sendo usada as funзхes disponнveis no MySQL R38?
pawn Код:
stock GetPlayerClan(playerid)
{
new clan_name[15];
new cq[100];
format(cq, sizeof(cq), "SELECT cl_cname FROM tb_members WHERE cl_pname = '%s'", PlayerName(playerid));
mysql_query(cq);
mysql_store_result();
mysql_fetch_row(clan_name);
mysql_free_result();
return clan_name;
}