SA-MP Forums Archive
BlueG mysql update problem - 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: BlueG mysql update problem (/showthread.php?tid=442534)



BlueG mysql update problem - PaulDinam - 08.06.2013

I have updated my sql to the updated one and it says that there's no methods like this:

PlayerInfo[playerid][pDatabaseID] = mysql_insert_id();

mysql_insert_id();?
it has been changed?

Another error:
[04:02:12] [ERROR] >> cache_get_row_int(...) - An error occured during the datatype conversion.
[04:02:12] [ERROR] >> cache_get_row_float(...) - An error occured during the datatype conversion.


Re: BlueG mysql update problem - Scenario - 08.06.2013

Yes, it was changed.

What was mysql_insert_id() is now cache_insert_id(). I believe that was outlined on the release post that Pain123 made...!

As for the others, that could be a bug since those functions were recently updated. You might want to post that on the plugin's release topic!


Re: BlueG mysql update problem - Kar - 08.06.2013

Realcop said nuff, add on:

You should input correct data types in your tables, really this would also improve speed.


Re: BlueG mysql update problem - PaulDinam - 08.06.2013

cache_get_row_float >> It's float type in the database... shouldn't be an error... but stilll.