31.12.2014, 11:44
It is a threaded query, so you've to mention the callback where it stores data of the query which was sent.
pawn Код:
mysql_tquery(connectionHandle, "INSERT INTO...", "OnVehicleInsert", "i", entry); //You don't have to fill up entry if not needed.
forward OnVehicleInsert(entry_id);
public OnVehicleInsert(entry_id)
{
printf("insert id : %d", cache_insert_id(connectionHandle));
return 1;
}