SA-MP Forums Archive
What can I replace mysql_fetch_int with? - 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: What can I replace mysql_fetch_int with? (/showthread.php?tid=370828)



What can I replace mysql_fetch_int with? - Anosh4381 - 21.08.2012

I'm using BlueG's MySQL plugin R7 and I need to know what I can replay mysql_fetch_int with.

pawn Код:
if(mysql_num_rows() > 1) {
        mysql_retrieve_row();
        new iResult = mysql_fetch_int();
        mysql_free_result();
        return iResult;
    } else return -1;