- 0
ORM Problem!
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
norton.
Nu se updateaza "KM" in baza de date MYSQL, de inserat se insereaza dar nu se updateaza, am facut repede o comanda de test...
CMD:test(playerid, params[]) { mysql_format(MySQLCon, query, sizeof query, "INSERT INTO vehicles (Owner, Model, Color1, Color2, Value) VALUES('%d', '%d', '%d', '%d', '%d');", pInfo[playerid][pID], dmodelid[playerid], 1, 1, dprice[playerid]); mysql_query(MySQLCon, query); new did = cache_insert_id(); Veh[did][KM] = 5; orm_update(Veh[did][ORM_ID]); return 1; }MYSQL LOG:
EndCB();Log("12:05:53","orm_update",1,"invalid orm id (id: 0)",0);
Edited by norton.....
8 answers to this question
Recommended Posts