stock LoadVehicle(playerid)
{
new query[256];
format(query, sizeof(query), "SELECT model, position_x, position_y, position_z, rotation, color1, color2 FROM vehicles WHERE owner_id = %d", playerid);
new DBResult:result = db_query(query);
if(db_num_rows(result) > 0)
{...