Nubish question : Tag Mismatch ?! :o
#1

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
Reply
#2

Is the car variable a string?
Reply
#3

Код:
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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)