11.09.2014, 03:40
Hey guys im still translating my script to R39. I'm in my house system right now, and im in the menu where you can change the interior, and just in case the query isn't successful i want to say something to the player. Heres my Tquery:
What would be a way to check if it was successful?
pawn Код:
mysql_format(mysql, gQuery, sizeof(gQuery),"UPDATE "Houses_Table" SET Price = %i, InteriorID = %i WHERE ID = %i",HouseInfo[hID][Price], HouseInfo[hID][InteriorID], hID);
mysql_tquery(mysql, gQuery);
What would be a way to check if it was successful?

