02.05.2012, 14:27
(
Последний раз редактировалось Deal-or-die; 02.05.2012 в 14:59.
)
Can i have two format strings in one query?
EDIT:
Nevermind, solved
pawn Код:
format(query,sizeof(query), "INSERT INTO `Vehiclekeys` (ID,Vehicle,Linked,Type) VALUES '%d','%d','%s','%d')",i,
format(query,sizeof(query), "INSERT INTO `Vehicles` (ID,VehicleID,ModelID,PositionX,PositionY,PositionZ,AngleZ,Color1,Color2,Plate) VALUES('%d','%d','%d', '%f','%f','%f','%f','%d','%d','%s')",i,car,model,x,y,z,a,c1,c2,DEFAULT_PLATE);
mysql_query(query);
Nevermind, solved