|
|
@@ -0,0 +1,2078 @@
|
|
|
+-- MySQL dump 10.19 Distrib 10.3.38-MariaDB, for debian-linux-gnu (i686)
|
|
|
+--
|
|
|
+-- Host: localhost Database: ecrp
|
|
|
+-- ------------------------------------------------------
|
|
|
+-- Server version 10.3.38-MariaDB-0+deb10u1
|
|
|
+
|
|
|
+/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
|
+/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
|
|
+/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
|
|
+/*!40101 SET NAMES utf8mb4 */;
|
|
|
+/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
|
|
+/*!40103 SET TIME_ZONE='+00:00' */;
|
|
|
+/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
|
|
+/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
|
|
+/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
|
|
+/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `achievements`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `achievements`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `achievements` (
|
|
|
+ `uid` int(10) DEFAULT NULL,
|
|
|
+ `achievement` varchar(32) DEFAULT NULL,
|
|
|
+ `id` int(100) NOT NULL AUTO_INCREMENT,
|
|
|
+ PRIMARY KEY (`id`),
|
|
|
+ UNIQUE KEY `id_UNIQUE` (`id`),
|
|
|
+ UNIQUE KEY `uid` (`uid`,`achievement`) USING BTREE
|
|
|
+) ENGINE=InnoDB AUTO_INCREMENT=2872 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `actordb`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `actordb`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `actordb` (
|
|
|
+ `ID` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
+ `ActorName` text NOT NULL,
|
|
|
+ `ActorVirtual` int(11) NOT NULL,
|
|
|
+ `ActorX` float NOT NULL,
|
|
|
+ `ActorA` float NOT NULL,
|
|
|
+ `ActorY` float NOT NULL,
|
|
|
+ `ActorZ` float NOT NULL,
|
|
|
+ `Skin` int(11) NOT NULL,
|
|
|
+ `AActive` int(11) NOT NULL,
|
|
|
+ `Text` text NOT NULL,
|
|
|
+ PRIMARY KEY (`ID`) USING BTREE,
|
|
|
+ UNIQUE KEY `ID_UNIQUE` (`ID`)
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `admins`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `admins`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `admins` (
|
|
|
+ `uid` int(11) NOT NULL,
|
|
|
+ `username` varchar(255) NOT NULL,
|
|
|
+ `aName` varchar(255) NOT NULL,
|
|
|
+ `aLevel` int(11) NOT NULL,
|
|
|
+ `totalReports` int(11) NOT NULL,
|
|
|
+ `monthlyReports` int(11) NOT NULL,
|
|
|
+ `weeklyReports` int(11) NOT NULL,
|
|
|
+ `monthlyReset` int(11) NOT NULL,
|
|
|
+ `weeklyReset` int(11) NOT NULL,
|
|
|
+ `id` int(100) NOT NULL AUTO_INCREMENT,
|
|
|
+ PRIMARY KEY (`id`),
|
|
|
+ UNIQUE KEY `uid` (`uid`) USING BTREE,
|
|
|
+ UNIQUE KEY `id_UNIQUE` (`id`)
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `arrestpoints`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `arrestpoints`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `arrestpoints` (
|
|
|
+ `id` int(2) NOT NULL AUTO_INCREMENT,
|
|
|
+ `PosX` float(10,5) NOT NULL DEFAULT 0.00000,
|
|
|
+ `PosY` float(10,5) NOT NULL DEFAULT 0.00000,
|
|
|
+ `PosZ` float(10,5) NOT NULL DEFAULT 0.00000,
|
|
|
+ `VW` int(5) NOT NULL DEFAULT 0,
|
|
|
+ `Int` int(5) NOT NULL DEFAULT 0,
|
|
|
+ `Type` int(1) NOT NULL DEFAULT 0,
|
|
|
+ `jailVW` int(5) NOT NULL DEFAULT 0,
|
|
|
+ `jailInt` int(5) NOT NULL DEFAULT 0,
|
|
|
+ `jailpos1x` float(10,5) NOT NULL DEFAULT 0.00000,
|
|
|
+ `jailpos1y` float(10,5) NOT NULL DEFAULT 0.00000,
|
|
|
+ `jailpos1z` float(10,5) NOT NULL DEFAULT 0.00000,
|
|
|
+ `jailpos2x` float(10,5) NOT NULL DEFAULT 0.00000,
|
|
|
+ `jailpos2y` float(10,5) NOT NULL DEFAULT 0.00000,
|
|
|
+ `jailpos2z` float(10,5) NOT NULL DEFAULT 0.00000,
|
|
|
+ `approved` bit(1) NOT NULL DEFAULT b'0',
|
|
|
+ PRIMARY KEY (`id`),
|
|
|
+ UNIQUE KEY `id_UNIQUE` (`id`)
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `atms`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `atms`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `atms` (
|
|
|
+ `id` int(4) NOT NULL AUTO_INCREMENT,
|
|
|
+ `pos_x` float DEFAULT NULL,
|
|
|
+ `pos_y` float DEFAULT NULL,
|
|
|
+ `pos_z` float DEFAULT NULL,
|
|
|
+ `pos_r` float DEFAULT NULL,
|
|
|
+ `approved` bit(1) NOT NULL DEFAULT b'0',
|
|
|
+ PRIMARY KEY (`id`) USING BTREE,
|
|
|
+ UNIQUE KEY `id_UNIQUE` (`id`)
|
|
|
+) ENGINE=InnoDB AUTO_INCREMENT=18 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `auctions`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `auctions`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `auctions` (
|
|
|
+ `id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
+ `BiddingFor` varchar(64) NOT NULL DEFAULT '(none)',
|
|
|
+ `InProgress` int(11) NOT NULL DEFAULT 0,
|
|
|
+ `Bid` int(11) NOT NULL DEFAULT 0,
|
|
|
+ `Bidder` int(11) NOT NULL DEFAULT 0,
|
|
|
+ `Expires` int(11) NOT NULL DEFAULT 0,
|
|
|
+ `Wining` varchar(24) NOT NULL DEFAULT '(none)',
|
|
|
+ `Increment` int(11) NOT NULL DEFAULT 0,
|
|
|
+ PRIMARY KEY (`id`),
|
|
|
+ UNIQUE KEY `id_UNIQUE` (`id`)
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `backpack`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `backpack`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `backpack` (
|
|
|
+ `pid` int(11) NOT NULL,
|
|
|
+ `type` int(2) NOT NULL,
|
|
|
+ `store1` int(2) DEFAULT NULL,
|
|
|
+ `store2` int(2) DEFAULT NULL,
|
|
|
+ `food` int(11) NOT NULL DEFAULT 0,
|
|
|
+ `food2` int(11) NOT NULL DEFAULT 0,
|
|
|
+ `mats` int(11) NOT NULL DEFAULT 0,
|
|
|
+ `pot` int(5) DEFAULT 0,
|
|
|
+ `crack` int(5) DEFAULT 0,
|
|
|
+ `heroine` int(5) DEFAULT 0,
|
|
|
+ `weap1` varchar(50) DEFAULT NULL,
|
|
|
+ `weap2` varchar(50) DEFAULT NULL,
|
|
|
+ `weap3` varchar(50) DEFAULT NULL,
|
|
|
+ `weap4` varchar(50) DEFAULT NULL,
|
|
|
+ `weap5` varchar(50) DEFAULT NULL,
|
|
|
+ `id` int(100) unsigned NOT NULL AUTO_INCREMENT,
|
|
|
+ PRIMARY KEY (`id`)
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `bans`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `bans`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `bans` (
|
|
|
+ `id` int(10) NOT NULL AUTO_INCREMENT,
|
|
|
+ `username` varchar(24) DEFAULT NULL,
|
|
|
+ `ip` varchar(16) DEFAULT NULL,
|
|
|
+ `bannedby` varchar(24) DEFAULT NULL,
|
|
|
+ `date` datetime DEFAULT NULL,
|
|
|
+ `reason` varchar(128) DEFAULT NULL,
|
|
|
+ `permanent` tinyint(1) DEFAULT 0,
|
|
|
+ `approved` bit(1) NOT NULL DEFAULT b'0',
|
|
|
+ PRIMARY KEY (`id`) USING BTREE,
|
|
|
+ UNIQUE KEY `id_UNIQUE` (`id`)
|
|
|
+) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `businesses`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `businesses`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `businesses` (
|
|
|
+ `id` int(10) NOT NULL AUTO_INCREMENT,
|
|
|
+ `ownerid` int(10) DEFAULT 0,
|
|
|
+ `owner` varchar(24) DEFAULT 'Nobody',
|
|
|
+ `type` tinyint(2) DEFAULT 0,
|
|
|
+ `price` int(10) DEFAULT 0,
|
|
|
+ `entryfee` int(10) DEFAULT 0,
|
|
|
+ `locked` tinyint(1) DEFAULT 0,
|
|
|
+ `timestamp` int(10) DEFAULT 0,
|
|
|
+ `pos_x` float DEFAULT 0,
|
|
|
+ `pos_y` float DEFAULT 0,
|
|
|
+ `pos_z` float DEFAULT 0,
|
|
|
+ `pos_a` float DEFAULT 0,
|
|
|
+ `int_x` float DEFAULT 0,
|
|
|
+ `int_y` float DEFAULT 0,
|
|
|
+ `int_z` float DEFAULT 0,
|
|
|
+ `int_a` float DEFAULT 0,
|
|
|
+ `interior` tinyint(2) DEFAULT 0,
|
|
|
+ `world` int(10) DEFAULT 0,
|
|
|
+ `outsideint` tinyint(2) DEFAULT 0,
|
|
|
+ `outsidevw` int(10) DEFAULT 0,
|
|
|
+ `cash` int(10) DEFAULT 0,
|
|
|
+ `products` int(10) DEFAULT 500,
|
|
|
+ `materials` int(10) DEFAULT 0,
|
|
|
+ `color` int(10) DEFAULT -256,
|
|
|
+ `description` varchar(128) DEFAULT 'None',
|
|
|
+ `approved` bit(1) NOT NULL DEFAULT b'0',
|
|
|
+ PRIMARY KEY (`id`),
|
|
|
+ UNIQUE KEY `id_UNIQUE` (`id`)
|
|
|
+) ENGINE=InnoDB AUTO_INCREMENT=77 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `changes`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `changes`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `changes` (
|
|
|
+ `slot` tinyint(2) DEFAULT NULL,
|
|
|
+ `text` varchar(64) DEFAULT NULL,
|
|
|
+ `id` int(100) unsigned NOT NULL AUTO_INCREMENT,
|
|
|
+ PRIMARY KEY (`id`),
|
|
|
+ UNIQUE KEY `slot` (`slot`) USING BTREE
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `charges`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `charges`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `charges` (
|
|
|
+ `id` int(10) NOT NULL AUTO_INCREMENT,
|
|
|
+ `uid` int(10) DEFAULT NULL,
|
|
|
+ `chargedby` varchar(24) DEFAULT NULL,
|
|
|
+ `date` datetime DEFAULT NULL,
|
|
|
+ `reason` varchar(128) DEFAULT NULL,
|
|
|
+ PRIMARY KEY (`id`) USING BTREE,
|
|
|
+ UNIQUE KEY `id_UNIQUE` (`id`)
|
|
|
+) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `clothing`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `clothing`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `clothing` (
|
|
|
+ `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
|
|
+ `uid` int(10) DEFAULT NULL,
|
|
|
+ `name` varchar(32) DEFAULT NULL,
|
|
|
+ `modelid` smallint(5) DEFAULT NULL,
|
|
|
+ `boneid` tinyint(2) DEFAULT NULL,
|
|
|
+ `attached` tinyint(1) DEFAULT NULL,
|
|
|
+ `pos_x` float DEFAULT NULL,
|
|
|
+ `pos_y` float DEFAULT NULL,
|
|
|
+ `pos_z` float DEFAULT NULL,
|
|
|
+ `rot_x` float DEFAULT NULL,
|
|
|
+ `rot_y` float DEFAULT NULL,
|
|
|
+ `rot_z` float DEFAULT NULL,
|
|
|
+ `scale_x` float DEFAULT NULL,
|
|
|
+ `scale_y` float DEFAULT NULL,
|
|
|
+ `scale_z` float DEFAULT NULL,
|
|
|
+ PRIMARY KEY (`id`) USING BTREE
|
|
|
+) ENGINE=InnoDB AUTO_INCREMENT=92 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `crates`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `crates`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+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,
|
|
|
+ `Int` int(11) NOT NULL DEFAULT 0,
|
|
|
+ `VW` int(11) NOT NULL DEFAULT 0,
|
|
|
+ `PlacedBy` varchar(24) NOT NULL DEFAULT 'Unknown',
|
|
|
+ `approved` bit(1) NOT NULL DEFAULT b'0',
|
|
|
+ PRIMARY KEY (`id`),
|
|
|
+ UNIQUE KEY `id_UNIQUE` (`id`)
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `crews`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `crews`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `crews` (
|
|
|
+ `id` tinyint(2) NOT NULL AUTO_INCREMENT,
|
|
|
+ `crewid` tinyint(2) DEFAULT NULL,
|
|
|
+ `name` varchar(32) DEFAULT NULL,
|
|
|
+ PRIMARY KEY (`id`),
|
|
|
+ UNIQUE KEY `id_UNIQUE` (`id`),
|
|
|
+ UNIQUE KEY `id` (`id`,`crewid`) USING BTREE
|
|
|
+) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `dealerships`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `dealerships`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `dealerships` (
|
|
|
+ `id` int(10) NOT NULL AUTO_INCREMENT,
|
|
|
+ `name` varchar(40) NOT NULL,
|
|
|
+ `type` int(10) NOT NULL,
|
|
|
+ `range` varchar(10) NOT NULL,
|
|
|
+ `posx` varchar(10) NOT NULL,
|
|
|
+ `posy` varchar(10) NOT NULL,
|
|
|
+ `posz` varchar(10) NOT NULL,
|
|
|
+ `spawnposx` varchar(10) NOT NULL,
|
|
|
+ `spawnposy` varchar(10) NOT NULL,
|
|
|
+ `spawnposz` varchar(10) NOT NULL,
|
|
|
+ `spawnposfa` varchar(10) NOT NULL,
|
|
|
+ PRIMARY KEY (`id`),
|
|
|
+ UNIQUE KEY `id_UNIQUE` (`id`)
|
|
|
+) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `dealervehs`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `dealervehs`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `dealervehs` (
|
|
|
+ `id` int(10) NOT NULL AUTO_INCREMENT,
|
|
|
+ `model` int(5) NOT NULL,
|
|
|
+ `price` int(10) NOT NULL,
|
|
|
+ `posx` varchar(10) NOT NULL,
|
|
|
+ `posy` varchar(10) NOT NULL,
|
|
|
+ `posz` varchar(10) NOT NULL,
|
|
|
+ `facingangle` varchar(10) NOT NULL,
|
|
|
+ `approved` bit(1) NOT NULL DEFAULT b'0',
|
|
|
+ PRIMARY KEY (`id`),
|
|
|
+ UNIQUE KEY `id_UNIQUE` (`id`)
|
|
|
+) ENGINE=InnoDB AUTO_INCREMENT=164 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `divisions`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `divisions`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `divisions` (
|
|
|
+ `id` tinyint(2) DEFAULT NULL,
|
|
|
+ `divisionid` tinyint(2) DEFAULT NULL,
|
|
|
+ `name` varchar(32) DEFAULT NULL,
|
|
|
+ `pk` int(10) NOT NULL AUTO_INCREMENT,
|
|
|
+ PRIMARY KEY (`pk`),
|
|
|
+ UNIQUE KEY `pk_UNIQUE` (`pk`),
|
|
|
+ UNIQUE KEY `id` (`id`,`divisionid`) USING BTREE
|
|
|
+) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `entrances`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `entrances`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `entrances` (
|
|
|
+ `id` int(10) NOT NULL AUTO_INCREMENT,
|
|
|
+ `ownerid` int(10) DEFAULT 0,
|
|
|
+ `owner` varchar(24) DEFAULT NULL,
|
|
|
+ `name` varchar(40) DEFAULT NULL,
|
|
|
+ `iconid` smallint(5) DEFAULT 1239,
|
|
|
+ `locked` tinyint(1) DEFAULT 0,
|
|
|
+ `radius` float DEFAULT 3,
|
|
|
+ `pos_x` float DEFAULT 0,
|
|
|
+ `pos_y` float DEFAULT 0,
|
|
|
+ `pos_z` float DEFAULT 0,
|
|
|
+ `pos_a` float DEFAULT 0,
|
|
|
+ `int_x` float DEFAULT 0,
|
|
|
+ `int_y` float DEFAULT 0,
|
|
|
+ `int_z` float DEFAULT 0,
|
|
|
+ `int_a` float DEFAULT 0,
|
|
|
+ `interior` tinyint(2) DEFAULT 0,
|
|
|
+ `world` int(10) DEFAULT 0,
|
|
|
+ `outsideint` tinyint(2) DEFAULT 0,
|
|
|
+ `outsidevw` int(10) DEFAULT 0,
|
|
|
+ `adminlevel` tinyint(2) DEFAULT 0,
|
|
|
+ `factiontype` tinyint(2) DEFAULT 0,
|
|
|
+ `vip` tinyint(2) DEFAULT 0,
|
|
|
+ `vehicles` tinyint(1) DEFAULT 0,
|
|
|
+ `freeze` tinyint(1) DEFAULT 0,
|
|
|
+ `password` varchar(64) DEFAULT 'None',
|
|
|
+ `label` tinyint(1) DEFAULT 1,
|
|
|
+ `mapicon` tinyint(3) NOT NULL DEFAULT 0,
|
|
|
+ `gang` tinyint(2) DEFAULT -1,
|
|
|
+ `type` tinyint(2) DEFAULT 0,
|
|
|
+ `color` int(10) DEFAULT -256,
|
|
|
+ `approved` bit(1) NOT NULL,
|
|
|
+ PRIMARY KEY (`id`) USING BTREE,
|
|
|
+ UNIQUE KEY `id_UNIQUE` (`id`)
|
|
|
+) ENGINE=InnoDB AUTO_INCREMENT=32 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `factionlockers`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `factionlockers`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `factionlockers` (
|
|
|
+ `id` int(10) NOT NULL AUTO_INCREMENT,
|
|
|
+ `factionid` tinyint(2) DEFAULT NULL,
|
|
|
+ `pos_x` float DEFAULT 0,
|
|
|
+ `pos_y` float DEFAULT 0,
|
|
|
+ `pos_z` float DEFAULT 0,
|
|
|
+ `interior` tinyint(2) DEFAULT 0,
|
|
|
+ `world` int(10) DEFAULT 0,
|
|
|
+ `iconid` smallint(5) DEFAULT 1239,
|
|
|
+ `label` tinyint(1) DEFAULT 1,
|
|
|
+ `weapon_kevlar` tinyint(1) DEFAULT 1,
|
|
|
+ `weapon_medkit` tinyint(1) DEFAULT 1,
|
|
|
+ `weapon_nitestick` varchar(1) DEFAULT '0',
|
|
|
+ `weapon_mace` tinyint(1) DEFAULT 0,
|
|
|
+ `weapon_deagle` tinyint(1) DEFAULT 1,
|
|
|
+ `weapon_shotgun` tinyint(1) DEFAULT 1,
|
|
|
+ `weapon_mp5` tinyint(1) DEFAULT 1,
|
|
|
+ `weapon_m4` tinyint(1) DEFAULT 1,
|
|
|
+ `weapon_spas12` tinyint(1) DEFAULT 1,
|
|
|
+ `weapon_sniper` tinyint(1) DEFAULT 1,
|
|
|
+ `weapon_camera` tinyint(1) DEFAULT 0,
|
|
|
+ `weapon_fire_extinguisher` tinyint(1) DEFAULT 0,
|
|
|
+ `weapon_painkillers` tinyint(1) DEFAULT 0,
|
|
|
+ `price_kevlar` smallint(5) DEFAULT 100,
|
|
|
+ `price_medkit` smallint(5) DEFAULT 50,
|
|
|
+ `price_nitestick` smallint(5) DEFAULT 0,
|
|
|
+ `price_mace` smallint(5) DEFAULT 0,
|
|
|
+ `price_deagle` smallint(5) DEFAULT 850,
|
|
|
+ `price_shotgun` smallint(5) DEFAULT 1000,
|
|
|
+ `price_mp5` smallint(5) DEFAULT 1500,
|
|
|
+ `price_m4` smallint(5) DEFAULT 2500,
|
|
|
+ `price_spas12` smallint(5) DEFAULT 3500,
|
|
|
+ `price_sniper` smallint(5) DEFAULT 5000,
|
|
|
+ `price_camera` smallint(5) DEFAULT 0,
|
|
|
+ `price_fire_extinguisher` smallint(5) DEFAULT 0,
|
|
|
+ `price_painkillers` smallint(5) DEFAULT 0,
|
|
|
+ `approved` bit(1) NOT NULL DEFAULT b'0',
|
|
|
+ PRIMARY KEY (`id`) USING BTREE,
|
|
|
+ UNIQUE KEY `id_UNIQUE` (`id`)
|
|
|
+) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `factionpay`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `factionpay`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `factionpay` (
|
|
|
+ `id` tinyint(2) DEFAULT NULL,
|
|
|
+ `rank` tinyint(2) DEFAULT NULL,
|
|
|
+ `amount` int(10) DEFAULT NULL,
|
|
|
+ `pk` int(10) NOT NULL AUTO_INCREMENT,
|
|
|
+ PRIMARY KEY (`pk`),
|
|
|
+ UNIQUE KEY `pk_UNIQUE` (`pk`),
|
|
|
+ UNIQUE KEY `id` (`id`,`rank`) USING BTREE
|
|
|
+) ENGINE=InnoDB AUTO_INCREMENT=55 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `factionranks`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `factionranks`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `factionranks` (
|
|
|
+ `id` tinyint(2) DEFAULT NULL,
|
|
|
+ `rank` tinyint(2) DEFAULT NULL,
|
|
|
+ `name` varchar(32) DEFAULT NULL,
|
|
|
+ `pk` int(10) NOT NULL AUTO_INCREMENT,
|
|
|
+ PRIMARY KEY (`pk`),
|
|
|
+ UNIQUE KEY `pk_UNIQUE` (`pk`),
|
|
|
+ UNIQUE KEY `id` (`id`,`rank`) USING BTREE
|
|
|
+) ENGINE=InnoDB AUTO_INCREMENT=57 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `factions`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `factions`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `factions` (
|
|
|
+ `id` tinyint(2) NOT NULL AUTO_INCREMENT,
|
|
|
+ `name` varchar(48) DEFAULT NULL,
|
|
|
+ `leader` varchar(24) DEFAULT 'No-one',
|
|
|
+ `type` tinyint(2) DEFAULT 0,
|
|
|
+ `color` int(10) DEFAULT -1,
|
|
|
+ `rankcount` tinyint(2) DEFAULT 6,
|
|
|
+ `lockerx` float DEFAULT 0,
|
|
|
+ `lockery` float DEFAULT 0,
|
|
|
+ `lockerz` float DEFAULT 0,
|
|
|
+ `lockerinterior` tinyint(2) DEFAULT 0,
|
|
|
+ `lockerworld` int(10) DEFAULT 0,
|
|
|
+ `turftokens` int(10) DEFAULT NULL,
|
|
|
+ `shortname` varchar(64) DEFAULT NULL,
|
|
|
+ `motd` varchar(128) DEFAULT NULL,
|
|
|
+ `budget` int(8) DEFAULT 0,
|
|
|
+ `approved` bit(1) NOT NULL DEFAULT b'0',
|
|
|
+ PRIMARY KEY (`id`),
|
|
|
+ UNIQUE KEY `id` (`id`) USING BTREE
|
|
|
+) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `factionskins`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `factionskins`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `factionskins` (
|
|
|
+ `id` tinyint(2) DEFAULT NULL,
|
|
|
+ `slot` tinyint(2) DEFAULT NULL,
|
|
|
+ `skinid` smallint(3) DEFAULT NULL,
|
|
|
+ UNIQUE KEY `id` (`id`,`slot`) USING BTREE
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `flags`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `flags`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `flags` (
|
|
|
+ `id` int(10) NOT NULL AUTO_INCREMENT,
|
|
|
+ `uid` int(10) DEFAULT NULL,
|
|
|
+ `flaggedby` varchar(24) DEFAULT NULL,
|
|
|
+ `date` datetime DEFAULT NULL,
|
|
|
+ `description` varchar(128) DEFAULT NULL,
|
|
|
+ `approved` bit(1) NOT NULL DEFAULT b'0',
|
|
|
+ PRIMARY KEY (`id`) USING BTREE,
|
|
|
+ UNIQUE KEY `id_UNIQUE` (`id`)
|
|
|
+) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `furniture`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `furniture`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `furniture` (
|
|
|
+ `id` int(10) NOT NULL AUTO_INCREMENT,
|
|
|
+ `houseid` int(10) DEFAULT NULL,
|
|
|
+ `modelid` smallint(5) DEFAULT NULL,
|
|
|
+ `name` varchar(32) DEFAULT NULL,
|
|
|
+ `price` int(10) DEFAULT NULL,
|
|
|
+ `pos_x` float DEFAULT NULL,
|
|
|
+ `pos_y` float DEFAULT NULL,
|
|
|
+ `pos_z` float DEFAULT NULL,
|
|
|
+ `rot_x` float DEFAULT NULL,
|
|
|
+ `rot_y` float DEFAULT NULL,
|
|
|
+ `rot_z` float DEFAULT NULL,
|
|
|
+ `interior` tinyint(2) DEFAULT NULL,
|
|
|
+ `world` int(10) DEFAULT NULL,
|
|
|
+ `door_opened` tinyint(1) DEFAULT 0,
|
|
|
+ `door_locked` tinyint(1) DEFAULT 0,
|
|
|
+ PRIMARY KEY (`id`) USING BTREE,
|
|
|
+ UNIQUE KEY `id_UNIQUE` (`id`)
|
|
|
+) ENGINE=InnoDB AUTO_INCREMENT=327 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `gangranks`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `gangranks`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `gangranks` (
|
|
|
+ `id` tinyint(2) DEFAULT NULL,
|
|
|
+ `rank` tinyint(2) DEFAULT NULL,
|
|
|
+ `name` varchar(32) DEFAULT NULL,
|
|
|
+ `pk` int(10) NOT NULL AUTO_INCREMENT,
|
|
|
+ PRIMARY KEY (`pk`),
|
|
|
+ UNIQUE KEY `pk_UNIQUE` (`pk`),
|
|
|
+ UNIQUE KEY `id` (`id`,`rank`) USING BTREE
|
|
|
+) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `gangs`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `gangs`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `gangs` (
|
|
|
+ `id` tinyint(2) NOT NULL AUTO_INCREMENT,
|
|
|
+ `name` varchar(32) DEFAULT 'None',
|
|
|
+ `motd` varchar(128) DEFAULT 'None',
|
|
|
+ `leader` varchar(24) DEFAULT 'No-one',
|
|
|
+ `color` int(10) DEFAULT -256,
|
|
|
+ `strikes` tinyint(1) DEFAULT 0,
|
|
|
+ `level` tinyint(2) DEFAULT 1,
|
|
|
+ `points` int(10) DEFAULT 0,
|
|
|
+ `turftokens` int(10) DEFAULT 0,
|
|
|
+ `stash_x` float DEFAULT 0,
|
|
|
+ `stash_y` float DEFAULT 0,
|
|
|
+ `stash_z` float DEFAULT 0,
|
|
|
+ `stashinterior` tinyint(2) DEFAULT 0,
|
|
|
+ `stashworld` int(10) DEFAULT 0,
|
|
|
+ `cash` int(10) DEFAULT 0,
|
|
|
+ `materials` int(10) DEFAULT 0,
|
|
|
+ `weed` int(10) DEFAULT 0,
|
|
|
+ `cocaine` int(10) DEFAULT 0,
|
|
|
+ `meth` int(10) DEFAULT 0,
|
|
|
+ `painkillers` int(10) DEFAULT 0,
|
|
|
+ `pistolammo` int(10) DEFAULT 0,
|
|
|
+ `shotgunammo` int(10) DEFAULT 0,
|
|
|
+ `smgammo` int(10) DEFAULT 0,
|
|
|
+ `arammo` int(10) DEFAULT 0,
|
|
|
+ `rifleammo` int(10) DEFAULT 0,
|
|
|
+ `hpammo` int(10) DEFAULT 0,
|
|
|
+ `poisonammo` int(10) DEFAULT 0,
|
|
|
+ `fmjammo` int(10) DEFAULT 0,
|
|
|
+ `weapon_9mm` int(10) DEFAULT 0,
|
|
|
+ `weapon_sdpistol` int(10) DEFAULT 0,
|
|
|
+ `weapon_deagle` int(10) DEFAULT 0,
|
|
|
+ `weapon_shotgun` int(10) DEFAULT 0,
|
|
|
+ `weapon_spas12` int(10) DEFAULT 0,
|
|
|
+ `weapon_sawnoff` int(10) DEFAULT 0,
|
|
|
+ `weapon_tec9` int(10) DEFAULT 0,
|
|
|
+ `weapon_uzi` int(10) DEFAULT 0,
|
|
|
+ `weapon_mp5` int(10) DEFAULT 0,
|
|
|
+ `weapon_ak47` int(10) DEFAULT 0,
|
|
|
+ `weapon_m4` int(10) DEFAULT 0,
|
|
|
+ `weapon_rifle` int(10) DEFAULT 0,
|
|
|
+ `weapon_sniper` int(10) DEFAULT 0,
|
|
|
+ `weapon_molotov` int(10) DEFAULT 0,
|
|
|
+ `armsdealer` tinyint(1) DEFAULT 0,
|
|
|
+ `drugdealer` tinyint(1) DEFAULT 0,
|
|
|
+ `arms_x` float DEFAULT 0,
|
|
|
+ `arms_y` float DEFAULT 0,
|
|
|
+ `arms_z` float DEFAULT 0,
|
|
|
+ `arms_a` float DEFAULT 0,
|
|
|
+ `drug_x` float DEFAULT 0,
|
|
|
+ `drug_y` float DEFAULT 0,
|
|
|
+ `drug_z` float DEFAULT 0,
|
|
|
+ `drug_a` float DEFAULT 0,
|
|
|
+ `armsworld` int(10) DEFAULT 0,
|
|
|
+ `drugworld` int(10) DEFAULT 0,
|
|
|
+ `drugweed` int(10) DEFAULT 0,
|
|
|
+ `drugcocaine` int(10) DEFAULT 0,
|
|
|
+ `drugmeth` int(10) DEFAULT 0,
|
|
|
+ `armsmaterials` int(10) DEFAULT 0,
|
|
|
+ `armsprice_1` int(10) DEFAULT 0,
|
|
|
+ `armsprice_2` int(10) DEFAULT 0,
|
|
|
+ `armsprice_3` int(10) DEFAULT 0,
|
|
|
+ `armsprice_4` int(10) DEFAULT 0,
|
|
|
+ `armsprice_5` int(10) DEFAULT 0,
|
|
|
+ `armsprice_6` int(10) DEFAULT 0,
|
|
|
+ `armsprice_7` int(10) DEFAULT 0,
|
|
|
+ `armsprice_8` int(10) DEFAULT 0,
|
|
|
+ `armsprice_9` int(10) NOT NULL DEFAULT 0,
|
|
|
+ `armsprice_10` int(10) NOT NULL DEFAULT 0,
|
|
|
+ `armsprice_11` int(10) NOT NULL DEFAULT 0,
|
|
|
+ `armsprice_12` tinyint(2) NOT NULL DEFAULT 0,
|
|
|
+ `weed_price` int(10) DEFAULT 0,
|
|
|
+ `cocaine_price` int(10) DEFAULT 0,
|
|
|
+ `meth_price` int(10) DEFAULT 0,
|
|
|
+ `matlevel` tinyint(3) NOT NULL DEFAULT 0,
|
|
|
+ `gunlevel` tinyint(3) NOT NULL DEFAULT 0,
|
|
|
+ `alliance` tinyint(4) NOT NULL DEFAULT -1,
|
|
|
+ `rivals` tinyint(4) DEFAULT -1,
|
|
|
+ `war1` tinyint(2) NOT NULL DEFAULT 0,
|
|
|
+ `war2` tinyint(2) NOT NULL DEFAULT 0,
|
|
|
+ `war3` tinyint(2) NOT NULL DEFAULT 0,
|
|
|
+ `rank_9mm` tinyint(2) NOT NULL DEFAULT 1,
|
|
|
+ `rank_sdpistol` tinyint(2) NOT NULL DEFAULT 1,
|
|
|
+ `rank_deagle` tinyint(2) NOT NULL DEFAULT 2,
|
|
|
+ `rank_shotgun` tinyint(2) NOT NULL DEFAULT 1,
|
|
|
+ `rank_spas12` tinyint(2) NOT NULL DEFAULT 4,
|
|
|
+ `rank_sawnoff` tinyint(2) NOT NULL DEFAULT 4,
|
|
|
+ `rank_tec9` tinyint(2) NOT NULL DEFAULT 1,
|
|
|
+ `rank_uzi` tinyint(2) NOT NULL DEFAULT 1,
|
|
|
+ `rank_mp5` tinyint(2) NOT NULL DEFAULT 2,
|
|
|
+ `rank_ak47` tinyint(2) NOT NULL DEFAULT 3,
|
|
|
+ `rank_m4` tinyint(2) NOT NULL DEFAULT 4,
|
|
|
+ `rank_rifle` tinyint(2) NOT NULL DEFAULT 2,
|
|
|
+ `rank_sniper` tinyint(2) NOT NULL DEFAULT 5,
|
|
|
+ `rank_molotov` tinyint(2) NOT NULL DEFAULT 5,
|
|
|
+ `rank_vest` tinyint(2) NOT NULL DEFAULT 0,
|
|
|
+ `approved` bit(1) NOT NULL DEFAULT b'0',
|
|
|
+ PRIMARY KEY (`id`),
|
|
|
+ UNIQUE KEY `id_UNIQUE` (`id`)
|
|
|
+) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `gangskins`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `gangskins`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `gangskins` (
|
|
|
+ `id` tinyint(2) DEFAULT NULL,
|
|
|
+ `slot` tinyint(2) DEFAULT NULL,
|
|
|
+ `skinid` smallint(3) DEFAULT NULL,
|
|
|
+ `pk` int(100) NOT NULL AUTO_INCREMENT,
|
|
|
+ PRIMARY KEY (`pk`),
|
|
|
+ UNIQUE KEY `pk_UNIQUE` (`pk`),
|
|
|
+ UNIQUE KEY `id` (`id`,`slot`) USING BTREE
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `gangsold`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `gangsold`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `gangsold` (
|
|
|
+ `id` tinyint(2) NOT NULL AUTO_INCREMENT,
|
|
|
+ `name` varchar(32) DEFAULT 'None',
|
|
|
+ `motd` varchar(128) DEFAULT 'None',
|
|
|
+ `leader` varchar(24) DEFAULT 'No-one',
|
|
|
+ `color` int(10) DEFAULT -256,
|
|
|
+ `strikes` tinyint(1) DEFAULT 0,
|
|
|
+ `level` tinyint(2) DEFAULT 1,
|
|
|
+ `points` int(10) DEFAULT 0,
|
|
|
+ `turftokens` int(10) DEFAULT 0,
|
|
|
+ `stash_x` float DEFAULT 0,
|
|
|
+ `stash_y` float DEFAULT 0,
|
|
|
+ `stash_z` float DEFAULT 0,
|
|
|
+ `stashinterior` tinyint(2) DEFAULT 0,
|
|
|
+ `stashworld` int(10) DEFAULT 0,
|
|
|
+ `cash` int(10) DEFAULT 0,
|
|
|
+ `materials` int(10) DEFAULT 0,
|
|
|
+ `weed` int(10) DEFAULT 0,
|
|
|
+ `cocaine` int(10) DEFAULT 0,
|
|
|
+ `meth` int(10) DEFAULT 0,
|
|
|
+ `painkillers` int(10) DEFAULT 0,
|
|
|
+ `pistolammo` int(10) DEFAULT 0,
|
|
|
+ `shotgunammo` int(10) DEFAULT 0,
|
|
|
+ `smgammo` int(10) DEFAULT 0,
|
|
|
+ `arammo` int(10) DEFAULT 0,
|
|
|
+ `rifleammo` int(10) DEFAULT 0,
|
|
|
+ `hpammo` int(10) DEFAULT 0,
|
|
|
+ `poisonammo` int(10) DEFAULT 0,
|
|
|
+ `fmjammo` int(10) DEFAULT 0,
|
|
|
+ `weapon_9mm` int(10) DEFAULT 0,
|
|
|
+ `weapon_sdpistol` int(10) DEFAULT 0,
|
|
|
+ `weapon_deagle` int(10) DEFAULT 0,
|
|
|
+ `weapon_shotgun` int(10) DEFAULT 0,
|
|
|
+ `weapon_spas12` int(10) DEFAULT 0,
|
|
|
+ `weapon_sawnoff` int(10) DEFAULT 0,
|
|
|
+ `weapon_tec9` int(10) DEFAULT 0,
|
|
|
+ `weapon_uzi` int(10) DEFAULT 0,
|
|
|
+ `weapon_mp5` int(10) DEFAULT 0,
|
|
|
+ `weapon_ak47` int(10) DEFAULT 0,
|
|
|
+ `weapon_m4` int(10) DEFAULT 0,
|
|
|
+ `weapon_rifle` int(10) DEFAULT 0,
|
|
|
+ `weapon_sniper` int(10) DEFAULT 0,
|
|
|
+ `weapon_molotov` int(10) DEFAULT 0,
|
|
|
+ `armsdealer` tinyint(1) DEFAULT 0,
|
|
|
+ `drugdealer` tinyint(1) DEFAULT 0,
|
|
|
+ `arms_x` float DEFAULT 0,
|
|
|
+ `arms_y` float DEFAULT 0,
|
|
|
+ `arms_z` float DEFAULT 0,
|
|
|
+ `arms_a` float DEFAULT 0,
|
|
|
+ `drug_x` float DEFAULT 0,
|
|
|
+ `drug_y` float DEFAULT 0,
|
|
|
+ `drug_z` float DEFAULT 0,
|
|
|
+ `drug_a` float DEFAULT 0,
|
|
|
+ `armsworld` int(10) DEFAULT 0,
|
|
|
+ `drugworld` int(10) DEFAULT 0,
|
|
|
+ `drugweed` int(10) DEFAULT 0,
|
|
|
+ `drugcocaine` int(10) DEFAULT 0,
|
|
|
+ `drugmeth` int(10) DEFAULT 0,
|
|
|
+ `armsmaterials` int(10) DEFAULT 0,
|
|
|
+ `armsprice_1` int(10) DEFAULT 0,
|
|
|
+ `armsprice_2` int(10) DEFAULT 0,
|
|
|
+ `armsprice_3` int(10) DEFAULT 0,
|
|
|
+ `armsprice_4` int(10) DEFAULT 0,
|
|
|
+ `armsprice_5` int(10) DEFAULT 0,
|
|
|
+ `armsprice_6` int(10) DEFAULT 0,
|
|
|
+ `armsprice_7` int(10) DEFAULT 0,
|
|
|
+ `armsprice_8` int(10) DEFAULT 0,
|
|
|
+ `armsprice_9` int(10) NOT NULL DEFAULT 0,
|
|
|
+ `armsprice_10` int(10) NOT NULL DEFAULT 0,
|
|
|
+ `armsprice_11` int(10) NOT NULL DEFAULT 0,
|
|
|
+ `armsprice_12` tinyint(2) NOT NULL DEFAULT 0,
|
|
|
+ `weed_price` int(10) DEFAULT 0,
|
|
|
+ `cocaine_price` int(10) DEFAULT 0,
|
|
|
+ `meth_price` int(10) DEFAULT 0,
|
|
|
+ `matlevel` tinyint(3) NOT NULL DEFAULT 0,
|
|
|
+ `gunlevel` tinyint(3) NOT NULL DEFAULT 0,
|
|
|
+ `alliance` tinyint(4) NOT NULL DEFAULT -1,
|
|
|
+ `war1` tinyint(2) NOT NULL DEFAULT 0,
|
|
|
+ `war2` tinyint(2) NOT NULL DEFAULT 0,
|
|
|
+ `war3` tinyint(2) NOT NULL DEFAULT 0,
|
|
|
+ `rank_9mm` tinyint(2) NOT NULL DEFAULT 1,
|
|
|
+ `rank_sdpistol` tinyint(2) NOT NULL DEFAULT 1,
|
|
|
+ `rank_deagle` tinyint(2) NOT NULL DEFAULT 2,
|
|
|
+ `rank_shotgun` tinyint(2) NOT NULL DEFAULT 1,
|
|
|
+ `rank_spas12` tinyint(2) NOT NULL DEFAULT 4,
|
|
|
+ `rank_sawnoff` tinyint(2) NOT NULL DEFAULT 4,
|
|
|
+ `rank_tec9` tinyint(2) NOT NULL DEFAULT 1,
|
|
|
+ `rank_uzi` tinyint(2) NOT NULL DEFAULT 1,
|
|
|
+ `rank_mp5` tinyint(2) NOT NULL DEFAULT 2,
|
|
|
+ `rank_ak47` tinyint(2) NOT NULL DEFAULT 3,
|
|
|
+ `rank_m4` tinyint(2) NOT NULL DEFAULT 4,
|
|
|
+ `rank_rifle` tinyint(2) NOT NULL DEFAULT 2,
|
|
|
+ `rank_sniper` tinyint(2) NOT NULL DEFAULT 5,
|
|
|
+ `rank_molotov` tinyint(2) NOT NULL DEFAULT 5,
|
|
|
+ `rank_vest` tinyint(2) NOT NULL DEFAULT 0,
|
|
|
+ PRIMARY KEY (`id`),
|
|
|
+ UNIQUE KEY `id` (`id`) USING BTREE
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `gangtags`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `gangtags`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `gangtags` (
|
|
|
+ `gangid` int(11) NOT NULL,
|
|
|
+ `text` text NOT NULL,
|
|
|
+ `fontid` int(11) NOT NULL,
|
|
|
+ `pname` text NOT NULL,
|
|
|
+ `color` int(11) NOT NULL,
|
|
|
+ `x` float(11,4) NOT NULL DEFAULT 0.0000,
|
|
|
+ `y` float(11,4) NOT NULL DEFAULT 0.0000,
|
|
|
+ `z` float(11,4) NOT NULL DEFAULT 0.0000,
|
|
|
+ `rx` float(11,4) NOT NULL DEFAULT 0.0000,
|
|
|
+ `ry` float(11,4) NOT NULL DEFAULT 0.0000,
|
|
|
+ `rz` float(11,4) NOT NULL DEFAULT 0.0000,
|
|
|
+ `ID` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
+ `pdbid` int(11) NOT NULL,
|
|
|
+ `approved` bit(1) NOT NULL DEFAULT b'0',
|
|
|
+ PRIMARY KEY (`ID`),
|
|
|
+ UNIQUE KEY `ID_UNIQUE` (`ID`)
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `garages`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `garages`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `garages` (
|
|
|
+ `id` int(10) NOT NULL AUTO_INCREMENT,
|
|
|
+ `ownerid` int(10) DEFAULT 0,
|
|
|
+ `owner` varchar(24) DEFAULT NULL,
|
|
|
+ `type` tinyint(1) DEFAULT 0,
|
|
|
+ `price` int(10) DEFAULT 0,
|
|
|
+ `locked` tinyint(1) DEFAULT 0,
|
|
|
+ `freeze` tinyint(1) NOT NULL DEFAULT 0,
|
|
|
+ `timestamp` int(10) DEFAULT 0,
|
|
|
+ `pos_x` float DEFAULT 0,
|
|
|
+ `pos_y` float DEFAULT 0,
|
|
|
+ `pos_z` float DEFAULT 0,
|
|
|
+ `pos_a` float DEFAULT 0,
|
|
|
+ `exit_x` float DEFAULT 0,
|
|
|
+ `exit_y` float DEFAULT 0,
|
|
|
+ `exit_z` float DEFAULT 0,
|
|
|
+ `exit_a` float DEFAULT 0,
|
|
|
+ `world` int(10) DEFAULT 0,
|
|
|
+ `approved` bit(1) NOT NULL DEFAULT b'0',
|
|
|
+ PRIMARY KEY (`id`) USING BTREE,
|
|
|
+ UNIQUE KEY `id_UNIQUE` (`id`)
|
|
|
+) ENGINE=InnoDB AUTO_INCREMENT=95 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `gates`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `gates`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `gates` (
|
|
|
+ `ID` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
+ `HID` int(11) NOT NULL DEFAULT -1,
|
|
|
+ `Speed` float NOT NULL DEFAULT 10,
|
|
|
+ `Range` float NOT NULL DEFAULT 10,
|
|
|
+ `Model` int(11) NOT NULL DEFAULT 18631,
|
|
|
+ `VW` int(11) NOT NULL DEFAULT 0,
|
|
|
+ `Int` int(11) NOT NULL DEFAULT 0,
|
|
|
+ `Pass` varchar(24) NOT NULL DEFAULT '',
|
|
|
+ `PosX` float NOT NULL DEFAULT 0,
|
|
|
+ `PosY` float NOT NULL DEFAULT 0,
|
|
|
+ `PosZ` float NOT NULL DEFAULT 0,
|
|
|
+ `RotX` float NOT NULL DEFAULT 0,
|
|
|
+ `RotY` float NOT NULL DEFAULT 0,
|
|
|
+ `RotZ` float NOT NULL DEFAULT 0,
|
|
|
+ `PosXM` float NOT NULL DEFAULT 0,
|
|
|
+ `PosYM` float NOT NULL DEFAULT 0,
|
|
|
+ `PosZM` float NOT NULL DEFAULT 0,
|
|
|
+ `RotXM` float NOT NULL DEFAULT 0,
|
|
|
+ `RotYM` float NOT NULL DEFAULT 0,
|
|
|
+ `RotZM` float NOT NULL DEFAULT 0,
|
|
|
+ `Allegiance` int(11) NOT NULL DEFAULT 0,
|
|
|
+ `GroupType` int(11) NOT NULL DEFAULT 0,
|
|
|
+ `GroupID` int(2) NOT NULL DEFAULT -1,
|
|
|
+ `GangID` int(2) NOT NULL DEFAULT -1,
|
|
|
+ `RenderHQ` int(11) NOT NULL DEFAULT 1,
|
|
|
+ `Timer` int(1) NOT NULL DEFAULT 0,
|
|
|
+ `Automate` int(11) NOT NULL,
|
|
|
+ `Locked` int(11) NOT NULL,
|
|
|
+ `TIndex` int(11) NOT NULL,
|
|
|
+ `TModel` int(11) NOT NULL,
|
|
|
+ `TColor` int(11) NOT NULL,
|
|
|
+ `Facility` int(11) NOT NULL,
|
|
|
+ `TTXD` varchar(32) NOT NULL,
|
|
|
+ `TTexture` varchar(42) NOT NULL,
|
|
|
+ PRIMARY KEY (`ID`),
|
|
|
+ UNIQUE KEY `ID_UNIQUE` (`ID`)
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `graffiti`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `graffiti`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `graffiti` (
|
|
|
+ `graffitiID` int(12) NOT NULL AUTO_INCREMENT,
|
|
|
+ `graffitiX` float DEFAULT 0,
|
|
|
+ `graffitiY` float DEFAULT 0,
|
|
|
+ `graffitiZ` float DEFAULT 0,
|
|
|
+ `graffitiAngle` float DEFAULT 0,
|
|
|
+ `graffitiColor` int(12) DEFAULT 0,
|
|
|
+ `graffitiText` varchar(64) DEFAULT NULL,
|
|
|
+ PRIMARY KEY (`graffitiID`) USING BTREE,
|
|
|
+ UNIQUE KEY `graffitiID_UNIQUE` (`graffitiID`)
|
|
|
+) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=DYNAMIC;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `gunracks`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `gunracks`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `gunracks` (
|
|
|
+ `1` int(11) NOT NULL,
|
|
|
+ `rackID` int(11) NOT NULL,
|
|
|
+ `rackHouse` int(11) NOT NULL,
|
|
|
+ `rackX` int(11) NOT NULL,
|
|
|
+ `rackY` int(11) NOT NULL,
|
|
|
+ `rackZ` int(11) NOT NULL,
|
|
|
+ `rackA` int(11) NOT NULL,
|
|
|
+ `rackInterior` int(11) NOT NULL,
|
|
|
+ `rackWorld` int(11) NOT NULL,
|
|
|
+ `rackObjects` int(11) NOT NULL,
|
|
|
+ `rackWeapon1` int(11) NOT NULL,
|
|
|
+ `rackWeapon2` int(11) NOT NULL,
|
|
|
+ `rackWeapon3` int(11) NOT NULL,
|
|
|
+ `rackWeapon4` int(11) NOT NULL
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `houses`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `houses`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `houses` (
|
|
|
+ `id` int(10) NOT NULL AUTO_INCREMENT,
|
|
|
+ `ownerid` int(10) DEFAULT 0,
|
|
|
+ `owner` varchar(24) DEFAULT 'Nobody',
|
|
|
+ `type` tinyint(2) DEFAULT 0,
|
|
|
+ `price` int(10) DEFAULT 0,
|
|
|
+ `rentprice` int(10) DEFAULT 0,
|
|
|
+ `level` tinyint(2) DEFAULT 1,
|
|
|
+ `locked` tinyint(1) DEFAULT 0,
|
|
|
+ `timestamp` int(10) DEFAULT 0,
|
|
|
+ `pos_x` float DEFAULT 0,
|
|
|
+ `pos_y` float DEFAULT 0,
|
|
|
+ `pos_z` float DEFAULT 0,
|
|
|
+ `pos_a` float DEFAULT 0,
|
|
|
+ `int_x` float DEFAULT 0,
|
|
|
+ `int_y` float DEFAULT 0,
|
|
|
+ `int_z` float DEFAULT 0,
|
|
|
+ `int_a` float DEFAULT 0,
|
|
|
+ `interior` tinyint(2) DEFAULT 0,
|
|
|
+ `world` int(10) DEFAULT 0,
|
|
|
+ `outsideint` int(10) DEFAULT 0,
|
|
|
+ `outsidevw` int(10) DEFAULT 0,
|
|
|
+ `cash` int(10) DEFAULT 0,
|
|
|
+ `materials` int(10) DEFAULT 0,
|
|
|
+ `weed` int(10) DEFAULT 0,
|
|
|
+ `cocaine` int(10) DEFAULT 0,
|
|
|
+ `meth` int(10) DEFAULT 0,
|
|
|
+ `painkillers` int(10) DEFAULT 0,
|
|
|
+ `weapon_1` tinyint(2) DEFAULT 0,
|
|
|
+ `weapon_2` tinyint(2) DEFAULT 0,
|
|
|
+ `weapon_3` tinyint(2) DEFAULT 0,
|
|
|
+ `weapon_4` tinyint(2) DEFAULT 0,
|
|
|
+ `weapon_5` tinyint(2) DEFAULT 0,
|
|
|
+ `weapon_6` tinyint(2) DEFAULT 0,
|
|
|
+ `weapon_7` tinyint(2) DEFAULT 0,
|
|
|
+ `weapon_8` tinyint(2) DEFAULT 0,
|
|
|
+ `weapon_9` tinyint(2) DEFAULT 0,
|
|
|
+ `weapon_10` tinyint(2) DEFAULT 0,
|
|
|
+ `ammo_1` smallint(5) DEFAULT 0,
|
|
|
+ `ammo_2` smallint(5) DEFAULT 0,
|
|
|
+ `ammo_3` smallint(5) DEFAULT 0,
|
|
|
+ `ammo_4` smallint(5) DEFAULT 0,
|
|
|
+ `ammo_5` smallint(5) DEFAULT 0,
|
|
|
+ `ammo_6` tinyint(2) DEFAULT 0,
|
|
|
+ `ammo_7` tinyint(2) DEFAULT 0,
|
|
|
+ `ammo_8` tinyint(2) DEFAULT 0,
|
|
|
+ `ammo_9` tinyint(2) DEFAULT 0,
|
|
|
+ `ammo_10` tinyint(2) DEFAULT 0,
|
|
|
+ `pistolammo` smallint(5) DEFAULT 0,
|
|
|
+ `shotgunammo` smallint(5) DEFAULT 0,
|
|
|
+ `smgammo` smallint(5) DEFAULT 0,
|
|
|
+ `arammo` smallint(5) DEFAULT 0,
|
|
|
+ `rifleammo` smallint(5) DEFAULT 0,
|
|
|
+ `hpammo` smallint(5) DEFAULT 0,
|
|
|
+ `poisonammo` smallint(5) DEFAULT 0,
|
|
|
+ `fmjammo` smallint(5) DEFAULT 0,
|
|
|
+ `delivery` tinyint(2) DEFAULT 1,
|
|
|
+ `lights` tinyint(1) DEFAULT 1,
|
|
|
+ `approved` bit(1) NOT NULL DEFAULT b'0',
|
|
|
+ PRIMARY KEY (`id`),
|
|
|
+ UNIQUE KEY `id_UNIQUE` (`id`)
|
|
|
+) ENGINE=InnoDB AUTO_INCREMENT=175 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `kills`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `kills`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `kills` (
|
|
|
+ `id` int(10) NOT NULL AUTO_INCREMENT,
|
|
|
+ `killer_uid` int(10) DEFAULT NULL,
|
|
|
+ `target_uid` int(10) DEFAULT NULL,
|
|
|
+ `killer` varchar(24) DEFAULT NULL,
|
|
|
+ `target` varchar(24) DEFAULT NULL,
|
|
|
+ `reason` varchar(24) DEFAULT NULL,
|
|
|
+ `date` datetime DEFAULT NULL,
|
|
|
+ PRIMARY KEY (`id`) USING BTREE,
|
|
|
+ UNIQUE KEY `id_UNIQUE` (`id`)
|
|
|
+) ENGINE=InnoDB AUTO_INCREMENT=299 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `landobjects`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `landobjects`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `landobjects` (
|
|
|
+ `id` int(10) NOT NULL AUTO_INCREMENT,
|
|
|
+ `landid` int(10) DEFAULT NULL,
|
|
|
+ `modelid` smallint(5) DEFAULT NULL,
|
|
|
+ `name` varchar(32) DEFAULT NULL,
|
|
|
+ `price` int(10) DEFAULT NULL,
|
|
|
+ `pos_x` float DEFAULT NULL,
|
|
|
+ `pos_y` float DEFAULT NULL,
|
|
|
+ `pos_z` float DEFAULT NULL,
|
|
|
+ `rot_x` float DEFAULT NULL,
|
|
|
+ `rot_y` float DEFAULT NULL,
|
|
|
+ `rot_z` float DEFAULT NULL,
|
|
|
+ `door_opened` tinyint(1) DEFAULT 0,
|
|
|
+ `door_locked` tinyint(1) DEFAULT 0,
|
|
|
+ `move_x` float DEFAULT 0,
|
|
|
+ `move_y` float DEFAULT 0,
|
|
|
+ `move_z` float DEFAULT 0,
|
|
|
+ `move_rx` float DEFAULT 0,
|
|
|
+ `move_ry` float DEFAULT 0,
|
|
|
+ `move_rz` float DEFAULT 0,
|
|
|
+ PRIMARY KEY (`id`) USING BTREE,
|
|
|
+ UNIQUE KEY `id_UNIQUE` (`id`)
|
|
|
+) ENGINE=InnoDB AUTO_INCREMENT=2051 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `lands`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `lands`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `lands` (
|
|
|
+ `id` int(10) NOT NULL AUTO_INCREMENT,
|
|
|
+ `ownerid` int(10) DEFAULT 0,
|
|
|
+ `owner` varchar(24) DEFAULT 'Nobody',
|
|
|
+ `price` int(10) DEFAULT 0,
|
|
|
+ `min_x` float DEFAULT 0,
|
|
|
+ `min_y` float DEFAULT 0,
|
|
|
+ `max_x` float DEFAULT 0,
|
|
|
+ `max_y` float DEFAULT 0,
|
|
|
+ `heightx` float DEFAULT 0,
|
|
|
+ `heighty` float NOT NULL DEFAULT 0,
|
|
|
+ `level` tinyint(2) DEFAULT 1,
|
|
|
+ `heightz` float NOT NULL DEFAULT 0,
|
|
|
+ `height` int(11) NOT NULL,
|
|
|
+ `approved` bit(1) NOT NULL DEFAULT b'0',
|
|
|
+ PRIMARY KEY (`id`) USING BTREE
|
|
|
+) ENGINE=InnoDB AUTO_INCREMENT=25 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `locations`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `locations`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `locations` (
|
|
|
+ `id` int(4) NOT NULL AUTO_INCREMENT,
|
|
|
+ `name` varchar(64) NOT NULL,
|
|
|
+ `pos_x` float NOT NULL,
|
|
|
+ `pos_y` float NOT NULL,
|
|
|
+ `pos_z` float NOT NULL,
|
|
|
+ `approved` bit(1) NOT NULL DEFAULT b'0',
|
|
|
+ PRIMARY KEY (`id`) USING BTREE,
|
|
|
+ UNIQUE KEY `id_UNIQUE` (`id`)
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `log_admin`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `log_admin`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `log_admin` (
|
|
|
+ `id` int(10) NOT NULL AUTO_INCREMENT,
|
|
|
+ `date` datetime DEFAULT NULL,
|
|
|
+ `description` varchar(255) DEFAULT NULL,
|
|
|
+ PRIMARY KEY (`id`) USING BTREE,
|
|
|
+ UNIQUE KEY `id_UNIQUE` (`id`)
|
|
|
+) ENGINE=InnoDB AUTO_INCREMENT=270 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `log_bans`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `log_bans`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `log_bans` (
|
|
|
+ `id` int(10) NOT NULL AUTO_INCREMENT,
|
|
|
+ `uid` int(10) DEFAULT NULL,
|
|
|
+ `date` datetime DEFAULT NULL,
|
|
|
+ `description` varchar(255) DEFAULT NULL,
|
|
|
+ PRIMARY KEY (`id`) USING BTREE,
|
|
|
+ UNIQUE KEY `id_UNIQUE` (`id`)
|
|
|
+) ENGINE=InnoDB AUTO_INCREMENT=30 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `log_cheat`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `log_cheat`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `log_cheat` (
|
|
|
+ `id` int(10) NOT NULL AUTO_INCREMENT,
|
|
|
+ `date` datetime DEFAULT NULL,
|
|
|
+ `description` varchar(255) DEFAULT NULL,
|
|
|
+ PRIMARY KEY (`id`) USING BTREE,
|
|
|
+ UNIQUE KEY `id_UNIQUE` (`id`)
|
|
|
+) ENGINE=InnoDB AUTO_INCREMENT=168 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `log_contracts`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `log_contracts`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `log_contracts` (
|
|
|
+ `id` int(10) NOT NULL AUTO_INCREMENT,
|
|
|
+ `date` datetime DEFAULT NULL,
|
|
|
+ `description` varchar(255) DEFAULT NULL,
|
|
|
+ PRIMARY KEY (`id`) USING BTREE,
|
|
|
+ UNIQUE KEY `id_UNIQUE` (`id`)
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `log_cp`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `log_cp`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `log_cp` (
|
|
|
+ `id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
+ `executer` text DEFAULT NULL,
|
|
|
+ `description` text DEFAULT NULL,
|
|
|
+ `date` timestamp NULL DEFAULT current_timestamp(),
|
|
|
+ PRIMARY KEY (`id`) USING BTREE,
|
|
|
+ UNIQUE KEY `id_UNIQUE` (`id`)
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `log_dicebet`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `log_dicebet`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `log_dicebet` (
|
|
|
+ `id` int(10) NOT NULL AUTO_INCREMENT,
|
|
|
+ `date` datetime DEFAULT NULL,
|
|
|
+ `description` varchar(255) DEFAULT NULL,
|
|
|
+ PRIMARY KEY (`id`) USING BTREE,
|
|
|
+ UNIQUE KEY `id_UNIQUE` (`id`)
|
|
|
+) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `log_faction`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `log_faction`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `log_faction` (
|
|
|
+ `id` int(10) NOT NULL AUTO_INCREMENT,
|
|
|
+ `date` datetime DEFAULT NULL,
|
|
|
+ `description` varchar(255) DEFAULT NULL,
|
|
|
+ PRIMARY KEY (`id`) USING BTREE,
|
|
|
+ UNIQUE KEY `id_UNIQUE` (`id`)
|
|
|
+) ENGINE=InnoDB AUTO_INCREMENT=325 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `log_gang`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `log_gang`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `log_gang` (
|
|
|
+ `id` int(10) NOT NULL AUTO_INCREMENT,
|
|
|
+ `date` datetime DEFAULT NULL,
|
|
|
+ `description` varchar(255) DEFAULT NULL,
|
|
|
+ PRIMARY KEY (`id`) USING BTREE,
|
|
|
+ UNIQUE KEY `id_UNIQUE` (`id`)
|
|
|
+) ENGINE=InnoDB AUTO_INCREMENT=490 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `log_give`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `log_give`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `log_give` (
|
|
|
+ `id` int(10) NOT NULL AUTO_INCREMENT,
|
|
|
+ `date` datetime DEFAULT NULL,
|
|
|
+ `description` varchar(255) DEFAULT NULL,
|
|
|
+ PRIMARY KEY (`id`) USING BTREE,
|
|
|
+ UNIQUE KEY `id_UNIQUE` (`id`)
|
|
|
+) ENGINE=InnoDB AUTO_INCREMENT=131 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `log_givecookie`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `log_givecookie`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `log_givecookie` (
|
|
|
+ `id` int(10) NOT NULL AUTO_INCREMENT,
|
|
|
+ `date` datetime DEFAULT NULL,
|
|
|
+ `description` varchar(255) DEFAULT NULL,
|
|
|
+ PRIMARY KEY (`id`) USING BTREE,
|
|
|
+ UNIQUE KEY `id_UNIQUE` (`id`)
|
|
|
+) ENGINE=InnoDB AUTO_INCREMENT=256 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `log_givegun`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `log_givegun`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `log_givegun` (
|
|
|
+ `id` int(10) NOT NULL AUTO_INCREMENT,
|
|
|
+ `date` datetime DEFAULT NULL,
|
|
|
+ `description` varchar(255) DEFAULT NULL,
|
|
|
+ PRIMARY KEY (`id`) USING BTREE,
|
|
|
+ UNIQUE KEY `id_UNIQUE` (`id`)
|
|
|
+) ENGINE=InnoDB AUTO_INCREMENT=276 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `log_givemoney`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `log_givemoney`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `log_givemoney` (
|
|
|
+ `id` int(10) NOT NULL AUTO_INCREMENT,
|
|
|
+ `date` datetime DEFAULT NULL,
|
|
|
+ `description` varchar(255) DEFAULT NULL,
|
|
|
+ PRIMARY KEY (`id`) USING BTREE,
|
|
|
+ UNIQUE KEY `id_UNIQUE` (`id`)
|
|
|
+) ENGINE=InnoDB AUTO_INCREMENT=162 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `log_makeadmin`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `log_makeadmin`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `log_makeadmin` (
|
|
|
+ `id` int(10) NOT NULL AUTO_INCREMENT,
|
|
|
+ `date` datetime DEFAULT NULL,
|
|
|
+ `description` varchar(255) DEFAULT NULL,
|
|
|
+ PRIMARY KEY (`id`) USING BTREE,
|
|
|
+ UNIQUE KEY `id_UNIQUE` (`id`)
|
|
|
+) ENGINE=InnoDB AUTO_INCREMENT=191 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `log_makehelper`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `log_makehelper`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `log_makehelper` (
|
|
|
+ `id` int(10) NOT NULL AUTO_INCREMENT,
|
|
|
+ `date` datetime DEFAULT NULL,
|
|
|
+ `description` varchar(255) DEFAULT NULL,
|
|
|
+ PRIMARY KEY (`id`) USING BTREE,
|
|
|
+ UNIQUE KEY `id_UNIQUE` (`id`)
|
|
|
+) ENGINE=InnoDB AUTO_INCREMENT=34 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `log_namechanges`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `log_namechanges`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `log_namechanges` (
|
|
|
+ `id` int(10) NOT NULL AUTO_INCREMENT,
|
|
|
+ `date` datetime DEFAULT NULL,
|
|
|
+ `description` varchar(255) DEFAULT NULL,
|
|
|
+ PRIMARY KEY (`id`) USING BTREE,
|
|
|
+ UNIQUE KEY `id_UNIQUE` (`id`)
|
|
|
+) ENGINE=InnoDB AUTO_INCREMENT=42 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `log_namehistory`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `log_namehistory`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `log_namehistory` (
|
|
|
+ `id` int(10) NOT NULL AUTO_INCREMENT,
|
|
|
+ `uid` int(10) DEFAULT NULL,
|
|
|
+ `oldname` varchar(24) DEFAULT NULL,
|
|
|
+ `newname` varchar(24) DEFAULT NULL,
|
|
|
+ `changedby` varchar(24) DEFAULT NULL,
|
|
|
+ `date` datetime DEFAULT NULL,
|
|
|
+ PRIMARY KEY (`id`) USING BTREE,
|
|
|
+ UNIQUE KEY `id_UNIQUE` (`id`)
|
|
|
+) ENGINE=InnoDB AUTO_INCREMENT=42 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `log_property`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `log_property`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `log_property` (
|
|
|
+ `id` int(10) NOT NULL AUTO_INCREMENT,
|
|
|
+ `date` datetime DEFAULT NULL,
|
|
|
+ `description` varchar(255) DEFAULT NULL,
|
|
|
+ PRIMARY KEY (`id`) USING BTREE,
|
|
|
+ UNIQUE KEY `id_UNIQUE` (`id`)
|
|
|
+) ENGINE=InnoDB AUTO_INCREMENT=188 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `log_punishments`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `log_punishments`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `log_punishments` (
|
|
|
+ `id` int(10) NOT NULL AUTO_INCREMENT,
|
|
|
+ `date` datetime DEFAULT NULL,
|
|
|
+ `description` varchar(255) DEFAULT NULL,
|
|
|
+ PRIMARY KEY (`id`) USING BTREE,
|
|
|
+ UNIQUE KEY `id_UNIQUE` (`id`)
|
|
|
+) ENGINE=InnoDB AUTO_INCREMENT=62 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `log_referrals`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `log_referrals`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `log_referrals` (
|
|
|
+ `id` int(10) NOT NULL AUTO_INCREMENT,
|
|
|
+ `date` datetime DEFAULT NULL,
|
|
|
+ `description` varchar(255) DEFAULT NULL,
|
|
|
+ PRIMARY KEY (`id`) USING BTREE,
|
|
|
+ UNIQUE KEY `id_UNIQUE` (`id`)
|
|
|
+) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `log_setstat`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `log_setstat`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `log_setstat` (
|
|
|
+ `id` int(10) NOT NULL AUTO_INCREMENT,
|
|
|
+ `date` datetime DEFAULT NULL,
|
|
|
+ `description` varchar(255) DEFAULT NULL,
|
|
|
+ PRIMARY KEY (`id`) USING BTREE,
|
|
|
+ UNIQUE KEY `id_UNIQUE` (`id`)
|
|
|
+) ENGINE=InnoDB AUTO_INCREMENT=202 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `log_vip`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `log_vip`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `log_vip` (
|
|
|
+ `id` int(10) NOT NULL AUTO_INCREMENT,
|
|
|
+ `date` datetime DEFAULT NULL,
|
|
|
+ `description` varchar(255) DEFAULT NULL,
|
|
|
+ PRIMARY KEY (`id`) USING BTREE,
|
|
|
+ UNIQUE KEY `id_UNIQUE` (`id`)
|
|
|
+) ENGINE=InnoDB AUTO_INCREMENT=31 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `phonebook`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `phonebook`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `phonebook` (
|
|
|
+ `name` varchar(24) DEFAULT NULL,
|
|
|
+ `number` int(10) unsigned DEFAULT NULL,
|
|
|
+ `id` int(100) NOT NULL AUTO_INCREMENT,
|
|
|
+ PRIMARY KEY (`id`),
|
|
|
+ UNIQUE KEY `id_UNIQUE` (`id`),
|
|
|
+ UNIQUE KEY `number` (`number`) USING BTREE
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `playerbackpack`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `playerbackpack`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `playerbackpack` (
|
|
|
+ `ID` int(10) NOT NULL AUTO_INCREMENT,
|
|
|
+ `BackpackOwner` int(11) NOT NULL DEFAULT -1,
|
|
|
+ `BackpackSize` int(11) NOT NULL DEFAULT 0,
|
|
|
+ `HouseStored` int(11) NOT NULL DEFAULT 0,
|
|
|
+ `VehicleStored` int(11) NOT NULL DEFAULT 0,
|
|
|
+ `Cash` int(11) NOT NULL DEFAULT 0,
|
|
|
+ `Crack` int(11) NOT NULL DEFAULT 0,
|
|
|
+ `Pot` int(11) NOT NULL DEFAULT 0,
|
|
|
+ `Mats` int(11) NOT NULL DEFAULT 0,
|
|
|
+ `Gun0` int(11) NOT NULL DEFAULT 0,
|
|
|
+ `Gun1` int(11) NOT NULL DEFAULT 0,
|
|
|
+ `Gun2` int(11) NOT NULL DEFAULT 0,
|
|
|
+ `Gun3` int(11) NOT NULL DEFAULT 0,
|
|
|
+ `Gun4` int(11) NOT NULL DEFAULT 0,
|
|
|
+ `Spraycans` int(11) NOT NULL DEFAULT 0,
|
|
|
+ `Ropes` int(11) NOT NULL DEFAULT 0,
|
|
|
+ `Skins` int(1) DEFAULT NULL,
|
|
|
+ PRIMARY KEY (`ID`),
|
|
|
+ UNIQUE KEY `ID_UNIQUE` (`ID`)
|
|
|
+) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `points`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `points`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `points` (
|
|
|
+ `id` tinyint(2) NOT NULL AUTO_INCREMENT,
|
|
|
+ `name` varchar(32) DEFAULT NULL,
|
|
|
+ `capturedby` varchar(24) DEFAULT 'No-one',
|
|
|
+ `capturedgang` tinyint(2) DEFAULT -1,
|
|
|
+ `type` tinyint(2) DEFAULT 0,
|
|
|
+ `profits` int(10) DEFAULT 0,
|
|
|
+ `time` tinyint(2) DEFAULT 24,
|
|
|
+ `point_x` float DEFAULT 0,
|
|
|
+ `point_y` float DEFAULT 0,
|
|
|
+ `point_z` float DEFAULT 0,
|
|
|
+ `pointinterior` tinyint(2) DEFAULT 0,
|
|
|
+ `pointworld` int(10) DEFAULT 0,
|
|
|
+ `approved` bit(1) NOT NULL DEFAULT b'0',
|
|
|
+ PRIMARY KEY (`id`),
|
|
|
+ UNIQUE KEY `id` (`id`) USING BTREE
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `shots`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `shots`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `shots` (
|
|
|
+ `id` int(10) NOT NULL AUTO_INCREMENT,
|
|
|
+ `playerid` smallint(3) DEFAULT NULL,
|
|
|
+ `weaponid` tinyint(2) DEFAULT NULL,
|
|
|
+ `hittype` tinyint(2) DEFAULT NULL,
|
|
|
+ `hitid` int(10) DEFAULT NULL,
|
|
|
+ `hitplayer` varchar(24) DEFAULT NULL,
|
|
|
+ `pos_x` float DEFAULT NULL,
|
|
|
+ `pos_y` float DEFAULT NULL,
|
|
|
+ `pos_z` float DEFAULT NULL,
|
|
|
+ `timestamp` int(10) DEFAULT NULL,
|
|
|
+ PRIMARY KEY (`id`) USING BTREE,
|
|
|
+ UNIQUE KEY `id_UNIQUE` (`id`)
|
|
|
+) ENGINE=InnoDB AUTO_INCREMENT=923 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `speedcameras`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `speedcameras`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `speedcameras` (
|
|
|
+ `1` int(11) NOT NULL,
|
|
|
+ `speedRange` int(11) NOT NULL,
|
|
|
+ `speedLimit` int(11) NOT NULL,
|
|
|
+ `speedObjects` int(11) NOT NULL,
|
|
|
+ `speedID` int(11) NOT NULL,
|
|
|
+ `speedX` int(11) NOT NULL,
|
|
|
+ `speedY` int(11) NOT NULL,
|
|
|
+ `speedZ` int(11) NOT NULL,
|
|
|
+ `speedAngle` int(11) NOT NULL,
|
|
|
+ `id` int(10) NOT NULL AUTO_INCREMENT,
|
|
|
+ `approved` bit(1) NOT NULL DEFAULT b'0',
|
|
|
+ PRIMARY KEY (`id`),
|
|
|
+ UNIQUE KEY `id_UNIQUE` (`id`)
|
|
|
+) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `texts`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `texts`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `texts` (
|
|
|
+ `id` int(10) NOT NULL AUTO_INCREMENT,
|
|
|
+ `sender_number` int(10) DEFAULT NULL,
|
|
|
+ `recipient_number` int(10) DEFAULT NULL,
|
|
|
+ `sender` varchar(24) DEFAULT NULL,
|
|
|
+ `date` datetime DEFAULT NULL,
|
|
|
+ `message` varchar(255) DEFAULT NULL,
|
|
|
+ PRIMARY KEY (`id`) USING BTREE,
|
|
|
+ UNIQUE KEY `id_UNIQUE` (`id`)
|
|
|
+) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `turfs`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `turfs`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `turfs` (
|
|
|
+ `id` tinyint(2) unsigned NOT NULL,
|
|
|
+ `name` varchar(32) DEFAULT NULL,
|
|
|
+ `capturedby` varchar(24) DEFAULT 'No-one',
|
|
|
+ `capturedgang` tinyint(2) DEFAULT -1,
|
|
|
+ `type` tinyint(2) DEFAULT 0,
|
|
|
+ `time` tinyint(2) DEFAULT 12,
|
|
|
+ `min_x` float DEFAULT 0,
|
|
|
+ `min_y` float DEFAULT 0,
|
|
|
+ `max_x` float DEFAULT 0,
|
|
|
+ `max_y` float DEFAULT 0,
|
|
|
+ `height` float DEFAULT 0,
|
|
|
+ `approved` bit(1) NOT NULL DEFAULT b'0',
|
|
|
+ PRIMARY KEY (`id`),
|
|
|
+ UNIQUE KEY `id` (`id`) USING BTREE
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `users`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `users`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `users` (
|
|
|
+ `passwordchanged` tinyint(1) NOT NULL DEFAULT 0,
|
|
|
+ `uid` int(10) NOT NULL AUTO_INCREMENT,
|
|
|
+ `username` varchar(24) DEFAULT NULL,
|
|
|
+ `password` varchar(129) DEFAULT NULL,
|
|
|
+ `regdate` datetime DEFAULT NULL,
|
|
|
+ `lastlogin` datetime DEFAULT NULL,
|
|
|
+ `ip` varchar(16) DEFAULT NULL,
|
|
|
+ `setup` tinyint(1) DEFAULT 1,
|
|
|
+ `gender` tinyint(1) DEFAULT 0,
|
|
|
+ `age` tinyint(3) DEFAULT 18,
|
|
|
+ `skin` smallint(3) DEFAULT 299,
|
|
|
+ `camera_x` float DEFAULT 0,
|
|
|
+ `camera_y` float DEFAULT 0,
|
|
|
+ `camera_z` float DEFAULT 0,
|
|
|
+ `pos_x` float DEFAULT 0,
|
|
|
+ `pos_y` float DEFAULT 0,
|
|
|
+ `pos_z` float DEFAULT 0,
|
|
|
+ `pos_a` float DEFAULT 0,
|
|
|
+ `interior` tinyint(2) DEFAULT 0,
|
|
|
+ `world` int(10) DEFAULT 0,
|
|
|
+ `cash` int(10) DEFAULT 5000,
|
|
|
+ `bank` int(10) DEFAULT 10000,
|
|
|
+ `paycheck` int(10) DEFAULT 0,
|
|
|
+ `level` int(10) DEFAULT 1,
|
|
|
+ `exp` int(10) DEFAULT 0,
|
|
|
+ `minutes` tinyint(2) DEFAULT 0,
|
|
|
+ `hours` int(10) DEFAULT 0,
|
|
|
+ `adminlevel` int(10) DEFAULT 0,
|
|
|
+ `adminname` varchar(24) DEFAULT 'None',
|
|
|
+ `helperlevel` tinyint(2) DEFAULT 0,
|
|
|
+ `health` float DEFAULT 100,
|
|
|
+ `armor` float DEFAULT 0,
|
|
|
+ `upgradepoints` int(10) DEFAULT 0,
|
|
|
+ `warnings` tinyint(3) DEFAULT 0,
|
|
|
+ `injured` tinyint(1) DEFAULT 0,
|
|
|
+ `hospital` tinyint(1) DEFAULT 0,
|
|
|
+ `spawnhealth` float DEFAULT 50,
|
|
|
+ `spawnarmor` float DEFAULT 0,
|
|
|
+ `jailtype` tinyint(1) DEFAULT 0,
|
|
|
+ `jailtime` int(10) DEFAULT 0,
|
|
|
+ `newbiemuted` tinyint(1) DEFAULT 0,
|
|
|
+ `helpmuted` tinyint(1) DEFAULT 0,
|
|
|
+ `admuted` tinyint(1) DEFAULT 0,
|
|
|
+ `livemuted` tinyint(1) DEFAULT 0,
|
|
|
+ `globalmuted` tinyint(1) DEFAULT 0,
|
|
|
+ `reportmuted` tinyint(2) DEFAULT 0,
|
|
|
+ `reportwarns` tinyint(2) DEFAULT 0,
|
|
|
+ `fightstyle` tinyint(2) DEFAULT 4,
|
|
|
+ `locked` tinyint(1) DEFAULT 0,
|
|
|
+ `accent` varchar(16) DEFAULT 'None',
|
|
|
+ `cookies` int(10) DEFAULT 0,
|
|
|
+ `phone` int(10) DEFAULT 0,
|
|
|
+ `job` int(10) DEFAULT -1,
|
|
|
+ `secondjob` tinyint(2) DEFAULT -1,
|
|
|
+ `crimes` int(10) DEFAULT 0,
|
|
|
+ `arrested` int(10) DEFAULT 0,
|
|
|
+ `wantedlevel` tinyint(2) DEFAULT 0,
|
|
|
+ `materials` int(10) DEFAULT 0,
|
|
|
+ `weed` int(10) DEFAULT 0,
|
|
|
+ `cocaine` int(10) DEFAULT 0,
|
|
|
+ `meth` int(10) DEFAULT 0,
|
|
|
+ `painkillers` int(10) DEFAULT 0,
|
|
|
+ `seeds` int(10) DEFAULT 0,
|
|
|
+ `ephedrine` int(10) DEFAULT 0,
|
|
|
+ `muriaticacid` int(10) DEFAULT 0,
|
|
|
+ `bakingsoda` int(10) DEFAULT 0,
|
|
|
+ `cigars` int(10) DEFAULT 0,
|
|
|
+ `walkietalkie` tinyint(1) DEFAULT 0,
|
|
|
+ `channel` int(10) DEFAULT 0,
|
|
|
+ `rentinghouse` int(10) DEFAULT 0,
|
|
|
+ `spraycans` int(10) DEFAULT 0,
|
|
|
+ `boombox` tinyint(1) DEFAULT 0,
|
|
|
+ `mp3player` tinyint(1) DEFAULT 0,
|
|
|
+ `phonebook` tinyint(1) DEFAULT 0,
|
|
|
+ `fishingrod` tinyint(1) DEFAULT 0,
|
|
|
+ `fishingbait` int(10) DEFAULT 0,
|
|
|
+ `fishweight` int(10) DEFAULT 0,
|
|
|
+ `components` int(10) DEFAULT 0,
|
|
|
+ `courierskill` int(10) DEFAULT 0,
|
|
|
+ `fishingskill` int(10) DEFAULT 0,
|
|
|
+ `guardskill` int(10) DEFAULT 0,
|
|
|
+ `weaponskill` int(10) DEFAULT 0,
|
|
|
+ `mechanicskill` int(10) DEFAULT 0,
|
|
|
+ `lawyerskill` int(10) DEFAULT 0,
|
|
|
+ `detectiveskill` int(10) DEFAULT 0,
|
|
|
+ `smugglerskill` int(10) DEFAULT 0,
|
|
|
+ `toggletextdraws` tinyint(1) DEFAULT 0,
|
|
|
+ `togglebug` tinyint(1) DEFAULT 0,
|
|
|
+ `toggleooc` tinyint(1) DEFAULT 0,
|
|
|
+ `togglephone` tinyint(1) DEFAULT 0,
|
|
|
+ `toggleadmin` tinyint(1) DEFAULT 0,
|
|
|
+ `togglehelper` tinyint(1) DEFAULT 0,
|
|
|
+ `togglenewbie` tinyint(1) DEFAULT 0,
|
|
|
+ `togglewt` tinyint(1) DEFAULT 0,
|
|
|
+ `toggleradio` tinyint(1) DEFAULT 0,
|
|
|
+ `togglevip` tinyint(1) DEFAULT 0,
|
|
|
+ `togglemusic` tinyint(1) DEFAULT 0,
|
|
|
+ `togglefaction` tinyint(1) DEFAULT 0,
|
|
|
+ `togglegang` tinyint(1) DEFAULT 0,
|
|
|
+ `togglenews` tinyint(1) DEFAULT 0,
|
|
|
+ `toggleglobal` tinyint(1) DEFAULT 1,
|
|
|
+ `togglecam` tinyint(1) DEFAULT 0,
|
|
|
+ `carlicense` tinyint(1) DEFAULT 0,
|
|
|
+ `vippackage` tinyint(2) DEFAULT 0,
|
|
|
+ `viptime` int(10) DEFAULT 0,
|
|
|
+ `vipcooldown` int(10) DEFAULT 0,
|
|
|
+ `weapon_0` tinyint(2) DEFAULT 0,
|
|
|
+ `weapon_1` tinyint(2) DEFAULT 0,
|
|
|
+ `weapon_2` tinyint(2) DEFAULT 0,
|
|
|
+ `weapon_3` tinyint(2) DEFAULT 0,
|
|
|
+ `weapon_4` tinyint(2) DEFAULT 0,
|
|
|
+ `weapon_5` tinyint(2) DEFAULT 0,
|
|
|
+ `weapon_6` tinyint(2) DEFAULT 0,
|
|
|
+ `weapon_7` tinyint(2) DEFAULT 0,
|
|
|
+ `weapon_8` tinyint(2) DEFAULT 0,
|
|
|
+ `weapon_9` tinyint(2) DEFAULT 0,
|
|
|
+ `weapon_10` tinyint(2) DEFAULT 0,
|
|
|
+ `weapon_11` tinyint(2) DEFAULT 0,
|
|
|
+ `weapon_12` tinyint(2) DEFAULT 0,
|
|
|
+ `ammo_0` smallint(5) DEFAULT 0,
|
|
|
+ `ammo_1` smallint(5) DEFAULT 0,
|
|
|
+ `ammo_2` smallint(5) DEFAULT 0,
|
|
|
+ `ammo_3` smallint(5) DEFAULT 0,
|
|
|
+ `ammo_4` smallint(5) DEFAULT 0,
|
|
|
+ `ammo_5` smallint(5) DEFAULT 0,
|
|
|
+ `ammo_6` smallint(5) DEFAULT 0,
|
|
|
+ `ammo_7` smallint(5) DEFAULT 0,
|
|
|
+ `ammo_8` smallint(5) DEFAULT 0,
|
|
|
+ `ammo_9` smallint(5) DEFAULT 0,
|
|
|
+ `ammo_10` smallint(5) DEFAULT 0,
|
|
|
+ `ammo_11` smallint(5) DEFAULT 0,
|
|
|
+ `ammo_12` smallint(5) DEFAULT 0,
|
|
|
+ `faction` tinyint(2) DEFAULT -1,
|
|
|
+ `gang` tinyint(2) DEFAULT -1,
|
|
|
+ `factionrank` tinyint(2) DEFAULT 0,
|
|
|
+ `gangrank` tinyint(2) DEFAULT 0,
|
|
|
+ `division` tinyint(2) DEFAULT -1,
|
|
|
+ `contracted` int(10) DEFAULT 0,
|
|
|
+ `contractby` varchar(24) DEFAULT 'Nobody',
|
|
|
+ `bombs` int(10) DEFAULT 0,
|
|
|
+ `completedhits` int(10) DEFAULT 0,
|
|
|
+ `failedhits` int(10) DEFAULT 0,
|
|
|
+ `reports` int(10) DEFAULT 0,
|
|
|
+ `helprequests` int(10) DEFAULT 0,
|
|
|
+ `speedometer` tinyint(1) DEFAULT 1,
|
|
|
+ `factionmod` tinyint(1) DEFAULT 0,
|
|
|
+ `gangmod` tinyint(1) DEFAULT 0,
|
|
|
+ `banappealer` tinyint(1) DEFAULT 0,
|
|
|
+ `helpermanager` tinyint(1) DEFAULT 0,
|
|
|
+ `dynamicadmin` tinyint(1) DEFAULT 0,
|
|
|
+ `adminpersonnel` tinyint(1) DEFAULT 0,
|
|
|
+ `weedplanted` tinyint(1) DEFAULT 0,
|
|
|
+ `weedtime` int(10) DEFAULT 0,
|
|
|
+ `weedgrams` int(10) DEFAULT 0,
|
|
|
+ `weed_x` float DEFAULT 0,
|
|
|
+ `weed_y` float DEFAULT 0,
|
|
|
+ `weed_z` float DEFAULT 0,
|
|
|
+ `weed_a` float DEFAULT 0,
|
|
|
+ `inventoryupgrade` int(10) DEFAULT 0,
|
|
|
+ `addictupgrade` int(10) DEFAULT 0,
|
|
|
+ `traderupgrade` int(10) DEFAULT 0,
|
|
|
+ `assetupgrade` int(10) DEFAULT 0,
|
|
|
+ `pistolammo` smallint(5) DEFAULT 0,
|
|
|
+ `shotgunammo` smallint(5) DEFAULT 0,
|
|
|
+ `smgammo` smallint(5) DEFAULT 0,
|
|
|
+ `arammo` smallint(5) DEFAULT 0,
|
|
|
+ `rifleammo` smallint(5) DEFAULT 0,
|
|
|
+ `hpammo` smallint(5) DEFAULT 0,
|
|
|
+ `poisonammo` smallint(5) DEFAULT 0,
|
|
|
+ `fmjammo` smallint(5) DEFAULT 0,
|
|
|
+ `ammotype` tinyint(2) DEFAULT 0,
|
|
|
+ `ammoweapon` tinyint(2) DEFAULT 0,
|
|
|
+ `dmwarnings` tinyint(2) DEFAULT 0,
|
|
|
+ `weaponrestricted` int(10) DEFAULT 0,
|
|
|
+ `referral_uid` int(10) DEFAULT 0,
|
|
|
+ `refercount` int(10) DEFAULT 0,
|
|
|
+ `watch` tinyint(1) DEFAULT 0,
|
|
|
+ `gps` tinyint(1) DEFAULT 0,
|
|
|
+ `prisonedby` varchar(24) DEFAULT 'No-one',
|
|
|
+ `prisonreason` varchar(128) DEFAULT 'None',
|
|
|
+ `togglehud` tinyint(1) DEFAULT 1,
|
|
|
+ `clothes` smallint(3) DEFAULT -1,
|
|
|
+ `showturfs` tinyint(1) DEFAULT 0,
|
|
|
+ `showlands` tinyint(1) DEFAULT 0,
|
|
|
+ `watchon` tinyint(1) DEFAULT 0,
|
|
|
+ `gpson` tinyint(1) DEFAULT 0,
|
|
|
+ `doublexp` int(10) DEFAULT 0,
|
|
|
+ `couriercooldown` int(10) DEFAULT 0,
|
|
|
+ `pizzacooldown` int(10) DEFAULT 0,
|
|
|
+ `detectivecooldown` int(10) DEFAULT 0,
|
|
|
+ `gascan` tinyint(1) DEFAULT NULL,
|
|
|
+ `duty` int(1) DEFAULT NULL,
|
|
|
+ `bandana` tinyint(10) DEFAULT NULL,
|
|
|
+ `login_date` date DEFAULT NULL,
|
|
|
+ `FormerAdmin` tinyint(3) NOT NULL DEFAULT 0,
|
|
|
+ `customtitle` varchar(128) NOT NULL DEFAULT '',
|
|
|
+ `customcolor` int(10) NOT NULL DEFAULT -256,
|
|
|
+ `scanneron` tinyint(1) DEFAULT 0,
|
|
|
+ `rimkits` int(10) DEFAULT 0,
|
|
|
+ `bodykits` int(10) DEFAULT 0,
|
|
|
+ `policescanner` tinyint(1) DEFAULT 0,
|
|
|
+ `firstaid` int(10) DEFAULT 0,
|
|
|
+ `extraSongs` int(11) NOT NULL DEFAULT 0,
|
|
|
+ `top10` tinyint(1) NOT NULL DEFAULT 1,
|
|
|
+ `totalfires` int(10) DEFAULT 0,
|
|
|
+ `totalpatients` int(10) DEFAULT 0,
|
|
|
+ `money_earned` bigint(20) DEFAULT 0,
|
|
|
+ `money_spent` bigint(20) DEFAULT 0,
|
|
|
+ `rope` int(10) DEFAULT 0,
|
|
|
+ `insurance` tinyint(1) DEFAULT 0,
|
|
|
+ `adminhide` tinyint(1) DEFAULT 0,
|
|
|
+ `passportphone` int(10) DEFAULT 0,
|
|
|
+ `passportskin` smallint(3) DEFAULT 0,
|
|
|
+ `passportlevel` int(10) DEFAULT 0,
|
|
|
+ `passportname` varchar(24) DEFAULT 'None',
|
|
|
+ `passport` tinyint(1) DEFAULT 0,
|
|
|
+ `globalmutetime` int(10) DEFAULT 0,
|
|
|
+ `reportmutetime` int(10) DEFAULT 0,
|
|
|
+ `newbiemutetime` int(10) DEFAULT 0,
|
|
|
+ `togglereports` tinyint(1) DEFAULT 0,
|
|
|
+ `thiefcooldown` int(10) DEFAULT 0,
|
|
|
+ `crackcooldown` int(10) DEFAULT 0,
|
|
|
+ `laborupgrade` int(10) DEFAULT 0,
|
|
|
+ `scripter` tinyint(1) DEFAULT 0,
|
|
|
+ `factionleader` tinyint(1) DEFAULT 0,
|
|
|
+ `thiefskill` int(10) DEFAULT 0,
|
|
|
+ `togglewhisper` tinyint(1) DEFAULT 0,
|
|
|
+ `landkeys` tinyint(3) NOT NULL DEFAULT -1,
|
|
|
+ `rarecooldown` int(8) DEFAULT 0,
|
|
|
+ `diamonds` smallint(5) DEFAULT 0,
|
|
|
+ `bugged` tinyint(1) DEFAULT 0,
|
|
|
+ `gameaffairs` tinyint(1) DEFAULT 0,
|
|
|
+ `crew` tinyint(2) DEFAULT -1,
|
|
|
+ `newbies` mediumint(5) DEFAULT 0,
|
|
|
+ `rollerskates` tinyint(2) DEFAULT 0,
|
|
|
+ `marriedto` int(10) DEFAULT -1,
|
|
|
+ `humanresources` tinyint(1) DEFAULT 0,
|
|
|
+ `complaintmod` tinyint(1) DEFAULT 0,
|
|
|
+ `webdev` tinyint(1) DEFAULT 0,
|
|
|
+ `graphic` tinyint(1) DEFAULT 0,
|
|
|
+ `vehlock` tinyint(1) DEFAULT 0,
|
|
|
+ `sprunk` int(10) DEFAULT 0,
|
|
|
+ `truckinglevel` int(10) DEFAULT 0,
|
|
|
+ `truckingxp` int(10) DEFAULT 0,
|
|
|
+ `santagifts` int(10) DEFAULT 0,
|
|
|
+ `seckey` int(11) DEFAULT NULL,
|
|
|
+ `togglepoint` tinyint(4) NOT NULL DEFAULT 0,
|
|
|
+ `togglepm` tinyint(1) DEFAULT 0,
|
|
|
+ `toggleturfs` tinyint(1) DEFAULT 0,
|
|
|
+ `togglepoints` tinyint(1) DEFAULT 0,
|
|
|
+ `tuckinglevel` int(10) NOT NULL DEFAULT 1,
|
|
|
+ `notoriety` int(11) DEFAULT 0,
|
|
|
+ `gunlicense` int(11) NOT NULL DEFAULT 0,
|
|
|
+ `togglevehicle` tinyint(1) NOT NULL DEFAULT 0,
|
|
|
+ `hunger` int(10) NOT NULL DEFAULT 100,
|
|
|
+ `thirst` int(10) NOT NULL DEFAULT 100,
|
|
|
+ `mask` int(10) DEFAULT 0,
|
|
|
+ PRIMARY KEY (`uid`) USING BTREE,
|
|
|
+ UNIQUE KEY `uid_UNIQUE` (`uid`)
|
|
|
+) ENGINE=InnoDB AUTO_INCREMENT=273 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `vehicles`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `vehicles`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `vehicles` (
|
|
|
+ `id` int(10) NOT NULL AUTO_INCREMENT,
|
|
|
+ `ownerid` int(10) DEFAULT 0,
|
|
|
+ `owner` varchar(24) DEFAULT 'Nobody',
|
|
|
+ `modelid` smallint(3) DEFAULT 0,
|
|
|
+ `price` int(10) DEFAULT 0,
|
|
|
+ `tickets` int(10) DEFAULT 0,
|
|
|
+ `locked` tinyint(1) DEFAULT 0,
|
|
|
+ `plate` varchar(32) DEFAULT 'None',
|
|
|
+ `fuel` tinyint(3) DEFAULT 100,
|
|
|
+ `health` float DEFAULT 1000,
|
|
|
+ `pos_x` float DEFAULT 0,
|
|
|
+ `pos_y` float DEFAULT 0,
|
|
|
+ `pos_z` float DEFAULT 0,
|
|
|
+ `pos_a` float DEFAULT 0,
|
|
|
+ `color1` smallint(3) DEFAULT 0,
|
|
|
+ `color2` smallint(3) DEFAULT 0,
|
|
|
+ `paintjob` tinyint(2) DEFAULT -1,
|
|
|
+ `interior` tinyint(2) DEFAULT 0,
|
|
|
+ `world` int(10) DEFAULT 0,
|
|
|
+ `neon` smallint(5) DEFAULT 0,
|
|
|
+ `neonenabled` tinyint(1) DEFAULT 0,
|
|
|
+ `trunk` tinyint(1) DEFAULT 0,
|
|
|
+ `mod_1` smallint(4) DEFAULT 0,
|
|
|
+ `mod_2` smallint(4) DEFAULT 0,
|
|
|
+ `mod_3` smallint(4) DEFAULT 0,
|
|
|
+ `mod_4` smallint(4) DEFAULT 0,
|
|
|
+ `mod_5` smallint(4) DEFAULT 0,
|
|
|
+ `mod_6` smallint(4) DEFAULT 0,
|
|
|
+ `mod_7` smallint(4) DEFAULT 0,
|
|
|
+ `mod_8` smallint(4) DEFAULT 0,
|
|
|
+ `mod_9` smallint(4) DEFAULT 0,
|
|
|
+ `mod_10` smallint(4) DEFAULT 0,
|
|
|
+ `mod_11` smallint(4) DEFAULT 0,
|
|
|
+ `mod_12` smallint(4) DEFAULT 0,
|
|
|
+ `mod_13` smallint(4) DEFAULT 0,
|
|
|
+ `mod_14` smallint(4) DEFAULT 0,
|
|
|
+ `cash` int(10) DEFAULT 0,
|
|
|
+ `materials` int(10) DEFAULT 0,
|
|
|
+ `weed` int(10) DEFAULT 0,
|
|
|
+ `cocaine` int(10) DEFAULT 0,
|
|
|
+ `meth` int(10) DEFAULT 0,
|
|
|
+ `painkillers` int(10) DEFAULT 0,
|
|
|
+ `weapon_1` tinyint(2) DEFAULT 0,
|
|
|
+ `weapon_2` tinyint(2) DEFAULT 0,
|
|
|
+ `weapon_3` tinyint(2) DEFAULT 0,
|
|
|
+ `ammo_1` smallint(5) DEFAULT 0,
|
|
|
+ `ammo_2` smallint(5) DEFAULT 0,
|
|
|
+ `ammo_3` smallint(5) DEFAULT 0,
|
|
|
+ `gangid` tinyint(2) DEFAULT -1,
|
|
|
+ `factiontype` tinyint(2) DEFAULT 0,
|
|
|
+ `vippackage` tinyint(2) NOT NULL DEFAULT 0,
|
|
|
+ `job` tinyint(2) DEFAULT -1,
|
|
|
+ `respawndelay` int(10) DEFAULT 0,
|
|
|
+ `pistolammo` smallint(5) DEFAULT 0,
|
|
|
+ `shotgunammo` smallint(5) DEFAULT 0,
|
|
|
+ `smgammo` smallint(5) DEFAULT 0,
|
|
|
+ `arammo` smallint(5) DEFAULT 0,
|
|
|
+ `rifleammo` smallint(5) DEFAULT 0,
|
|
|
+ `hpammo` smallint(5) DEFAULT 0,
|
|
|
+ `poisonammo` smallint(5) DEFAULT 0,
|
|
|
+ `fmjammo` smallint(5) DEFAULT 0,
|
|
|
+ `alarm` tinyint(2) NOT NULL DEFAULT 0,
|
|
|
+ `weapon_4` tinyint(2) NOT NULL DEFAULT 0,
|
|
|
+ `weapon_5` tinyint(2) NOT NULL DEFAULT 0,
|
|
|
+ `siren` tinyint(2) DEFAULT 0,
|
|
|
+ `rank` tinyint(3) DEFAULT 0,
|
|
|
+ `approved` bit(1) NOT NULL DEFAULT b'0',
|
|
|
+ `rented` int(1) DEFAULT 0,
|
|
|
+ PRIMARY KEY (`id`) USING BTREE,
|
|
|
+ UNIQUE KEY `id_UNIQUE` (`id`)
|
|
|
+) ENGINE=InnoDB AUTO_INCREMENT=300 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+
|
|
|
+--
|
|
|
+-- Table structure for table `weapons`
|
|
|
+--
|
|
|
+
|
|
|
+DROP TABLE IF EXISTS `weapons`;
|
|
|
+/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
+/*!40101 SET character_set_client = utf8 */;
|
|
|
+CREATE TABLE `weapons` (
|
|
|
+ `uid` int(10) DEFAULT NULL,
|
|
|
+ `slot` tinyint(2) DEFAULT NULL,
|
|
|
+ `weaponid` tinyint(2) DEFAULT NULL,
|
|
|
+ `ammo` smallint(5) DEFAULT NULL,
|
|
|
+ `id` int(100) NOT NULL AUTO_INCREMENT,
|
|
|
+ PRIMARY KEY (`id`),
|
|
|
+ UNIQUE KEY `id_UNIQUE` (`id`),
|
|
|
+ UNIQUE KEY `uid` (`uid`,`slot`) USING BTREE
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
|
|
|
+/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
+/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
|
|
+
|
|
|
+/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
|
|
+/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
|
|
+/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
|
|
+/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
|
|
+/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
|
|
+/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
|
|
+/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
|
|
+
|
|
|
+-- Dump completed on 2023-12-12 1:16:10
|