12.11.2010, 12:56
pawn Код:
format(string, sizeof(string), "INSERT INTO business_products (ProductName, Stock, SellPrice) VALUES('%s', '%i', '%i')",
OrderInfo[playerid][OrderDestID], GetProductName(OrderInfo[playerid][OrderID]), OrderInfo[playerid][OrderAmount] + ProductAmount, 9999999);
mysql_query(string);
new ReturnedSQLID = mysql_insert_id();