17.05.2017, 14:57
How can you get the ID of last updated row in pawn?
mysql_format(Database, string, sizeof(string), "SELECT * FROM `GodDamnAssetsThatImStuckOn` WHERE `Active` = 0 LIMIT 1");
If the query was an insert then you use cache_insert_id(). Otherwise it's not possible.
|