SA-MP Forums Archive
Gang System MySQL StrickenKid to MySQL GStylezzz - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Gang System MySQL StrickenKid to MySQL GStylezzz (/showthread.php?tid=339119)



Gang System MySQL StrickenKid to MySQL GStylezzz - nGen.SoNNy - 02.05.2012

Hello! Can somebody transform this Filterscript from MySQL StrickenKid to MySQL GStylezzz ? I will +Rep and very much thx Please help me

Filterscript attached!

pawn Code:
stock GetGangName(GangID)
{
    new gName[100], Query[150]; format(Query, sizeof(Query), "SELECT name FROM gangs WHERE id = %d;", GangID);
    mysql_query(Query);
    mysql_store_result();
    -> mysql_fetch_string(gName); <- I don't know to transform this part of the script!
    return gName;
}



Re: Gang System MySQL StrickenKid to MySQL GStylezzz - SuperViper - 02.05.2012

pawn Code:
mysql_fetch_row(gName);



Re: Gang System MySQL StrickenKid to MySQL GStylezzz - nGen.SoNNy - 02.05.2012

Thx very much