Amx Backtrace!
#9

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
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 Код:
new CrateInfo[20][crateInfo];
To what you want, but remember goes number-1. I mean:
pawn Код:
new CrateInfo[30][crateInfo];
// Goes: 0-29
Code in my database:
Код:
-- ----------------------------
-- 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');
Reply


Messages In This Thread
Amx Backtrace! - by nguyenquynh - 03.09.2013, 17:41
Re: Amx Backtrace! - by Konstantinos - 03.09.2013, 17:45
Re: Amx Backtrace! - by nguyenquynh - 03.09.2013, 17:47
Re: Amx Backtrace! - by Konstantinos - 03.09.2013, 17:50
Re: Amx Backtrace! - by nguyenquynh - 03.09.2013, 17:54
Re: Amx Backtrace! - by Konstantinos - 03.09.2013, 18:00
Re: Amx Backtrace! - by nguyenquynh - 03.09.2013, 18:13
Re: Amx Backtrace! - by Konstantinos - 03.09.2013, 18:20
Re: Amx Backtrace! - by nguyenquynh - 03.09.2013, 18:55
Re: Amx Backtrace! - by Konstantinos - 03.09.2013, 19:04

Forum Jump:


Users browsing this thread: 2 Guest(s)