SA-MP Forums Archive
Nubish question : Tag Mismatch ?! :o - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Nubish question : Tag Mismatch ?! :o (/showthread.php?tid=138214)



Nubish question : Tag Mismatch ?! :o - RaFsTar - 31.03.2010

pawn Код:
format(car,sizeof(car),"INSERT INTO table (CarID, Model, Locked, CarX, CarY, CarZ, CarA, Color1, Color2, Price, Sell, Owner) VALUES ('%d', '%d', 0, '%f', '%f', '%f', '%f', '%d', '%d', '%d', '%d', '%s')",Carid, Carmodel, Carx, Cary, Carz, Cara, Carcolor1, Carcolor2, CarCost, CarSell, "dealercar");
Something is wrong there, I don't know what


Re: Nubish question : Tag Mismatch ?! :o - Backwardsman97 - 31.03.2010

Is the car variable a string?


Re: Nubish question : Tag Mismatch ?! :o - aircombat - 31.03.2010

Код:
format(car,sizeof(car),"INSERT INTO table (CarID, Model, Locked, CarX, CarY, CarZ, CarA, Color1, Color2, Price, Sell, Owner) VALUES ('%d', '%d', 0, '%f', '%f', '%f', '%f', '%d', '%d', '%d', '%d', '%s')",Carid, Carmodel, Carx, Cary, Carz, Cara, Carcolor1, Carcolor2, CarCost, CarSell, dealercar);
that the right code