[Need help] Loading objects in mysql
#4

Solved:
Код:
CREATE TABLE IF NOT EXISTS `objects` (
  `ScriptID` int(10) NOT NULL AUTO_INCREMENT,
  `ModelID` int(10) NOT NULL,
  `X` float NOT NULL,
  `Y` float NOT NULL,
  `Z` float NOT NULL,
  `rX` float NOT NULL,
  `rY` float NOT NULL,
  `rZ` float NOT NULL,
  `Comment` varchar(30) NOT NULL,
  PRIMARY KEY (`ScriptID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

INSERT INTO `objects` (`ModelID`, `X`, `Y`, `Z`, `rX`, `rY`, `rZ`, `Comment`) VALUES
(985, 777.94189, -1330.17822, 14.25120,   0.00000, 0.00000, -1.00000, "Chicago Outfit");
Thanks btw.
Reply


Messages In This Thread
[Need help] Loading objects in mysql - by Capua - 28.10.2014, 12:56
Re: [Need help] Loading objects in mysql - by DanishHaq - 28.10.2014, 13:00
Re: [Need help] Loading objects in mysql - by Vince - 28.10.2014, 13:27
Re: [Need help] Loading objects in mysql - by Capua - 31.10.2014, 18:55

Forum Jump:


Users browsing this thread: 1 Guest(s)