Function mysql_fetch_field dont work... - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Function mysql_fetch_field dont work... (
/showthread.php?tid=171120)
Function mysql_fetch_field dont work... -
ColderPL - 25.08.2010
Hi,
since the last update, does not work better ...
For example,
Код:
stock AutoUida() // By Colder
{
new pole[125];
format(pole, sizeof(pole), "SELECT `uida` FROM `auta` ORDER BY `uida` DESC LIMIT 1");
mysql_query(pole);
mysql_store_result();
new Data[12];
new test;
mysql_fetch_field("uida", Data);
test = strval(Data);
return tester+1;
}
Previously worked great, and now it shows -1997 : O
And sory for my nice english :P
Colder
My plugin:
https://sampforum.blast.hk/showthread.php?tid=122983&page=48