07.01.2012, 21:26
add ' ' in each number after VALUES
pawn Код:
format ( query, sizeof(query), "INSERT INTO houses(name, owner, owned, price, interrior, vw, eposx, eposy, eposz, tposx, tposy, tposz) VALUES ( '%s', 'noname', '0', '%d', '%d',' %d', '%f',' %f', '%f', '%f', '%f', '%f ')", name, price, interrior, 0, epos[0], epos[1], epos[2], tpos[0], tpos[1], tpos[2]);