03.09.2013, 18:55
Quote:
That was the problem. CrateInfo can have ID 0-19. It starts from 1 to 19 + 22 to your database. Change them manually. If you want to create more, then change
pawn Код:
pawn Код:
|
Код:
-- ---------------------------- -- Table structure for crates -- ---------------------------- DROP TABLE IF EXISTS `crates`; CREATE TABLE `crates` ( `id` int(11) NOT NULL AUTO_INCREMENT, `Active` int(11) NOT NULL DEFAULT '0', `CrateX` float NOT NULL DEFAULT '0', `CrateY` float NOT NULL DEFAULT '0', `CrateZ` float NOT NULL DEFAULT '0', `GunQuantity` int(11) NOT NULL DEFAULT '50', `InVehicle` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=20 DEFAULT CHARSET=latin1; -- ---------------------------- -- Records of crates -- ---------------------------- INSERT INTO `crates` VALUES ('0', '0', '0', '0', '0', '50', '65535'); INSERT INTO `crates` VALUES ('1', '0', '0', '0', '0', '0', '65535'); INSERT INTO `crates` VALUES ('2', '0', '0', '0', '0', '0', '65535'); INSERT INTO `crates` VALUES ('3', '0', '0', '0', '0', '0', '65535'); INSERT INTO `crates` VALUES ('4', '0', '0', '0', '0', '0', '65535'); INSERT INTO `crates` VALUES ('5', '0', '0', '0', '0', '0', '65535'); INSERT INTO `crates` VALUES ('6', '0', '0', '0', '0', '0', '65535'); INSERT INTO `crates` VALUES ('7', '0', '0', '0', '0', '0', '65535'); INSERT INTO `crates` VALUES ('8', '0', '0', '0', '0', '0', '65535'); INSERT INTO `crates` VALUES ('9', '0', '0', '0', '0', '0', '65535'); INSERT INTO `crates` VALUES ('10', '0', '0', '0', '0', '0', '0'); INSERT INTO `crates` VALUES ('11', '0', '0', '0', '0', '0', '0'); INSERT INTO `crates` VALUES ('12', '0', '0', '0', '0', '0', '0'); INSERT INTO `crates` VALUES ('13', '0', '0', '0', '0', '0', '0'); INSERT INTO `crates` VALUES ('14', '0', '0', '0', '0', '0', '0'); INSERT INTO `crates` VALUES ('15', '0', '0', '0', '0', '0', '0'); INSERT INTO `crates` VALUES ('16', '0', '0', '0', '0', '0', '0'); INSERT INTO `crates` VALUES ('17', '0', '0', '0', '0', '0', '0'); INSERT INTO `crates` VALUES ('18', '0', '0', '0', '0', '0', '0'); INSERT INTO `crates` VALUES ('19', '0', '0', '0', '0', '0', '0');