14.08.2015, 20:32
(
Последний раз редактировалось SamJust; 15.08.2015 в 08:43.
)
Код:
stock SaveBizz() { new req[1024]; format(req, sizeof(req), "UPDATE `bussines` SET `Owned` = '%i', `Owner` = '%s', `Bank` = '%i', `Prod` = '%i', `Upgrade` = '%i', `WorkerPay` = '%i', `ManagerPay` = '%i' WHERE `ID` = %i", BizzInfo[0][bOwned], BizzInfo[0][bOwner], BizzInfo[0][bBank], BizzInfo[0][bProd], BizzInfo[0][bUpgrade], BizzInfo[0][bWP], BizzInfo[0][bMP], BizzInfo[0][bID]); mysql_query(req, -1, 0, MySQL); return 1; }
MySQL v5.5