Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- MySQL Data Transfer
- Source Host: localhost
- Source Database: structure
- Target Host: localhost
- Target Database: structure
- Date: 18/09/2014 09:35:51
- */
- SET FOREIGN_KEY_CHECKS=0;
- -- ----------------------------
- -- Table structure for accounts
- -- ----------------------------
- DROP TABLE IF EXISTS `accounts`;
- CREATE TABLE `accounts` (
- `id` int(11) NOT NULL AUTO_INCREMENT,
- `username` text,
- `password` text,
- `registerdate` datetime DEFAULT NULL,
- `lastlogin` datetime DEFAULT NULL,
- `ip` text,
- `supervisor` tinyint(3) DEFAULT '0',
- `hiddensupervisor` tinyint(3) unsigned DEFAULT '0',
- `supervisorduty` tinyint(3) unsigned DEFAULT '0',
- `supervisorjail` tinyint(3) unsigned DEFAULT '0',
- `supervisorjail_time` int(11) DEFAULT NULL,
- `supervisorjail_by` text,
- `supervisorjail_reason` text,
- `banned` tinyint(3) unsigned DEFAULT '0',
- `banned_by` text,
- `banned_reason` text,
- `muted` tinyint(3) unsigned DEFAULT '0',
- `globalooc` tinyint(3) unsigned DEFAULT '1',
- `country` text,
- `friendsmessage` text,
- `supervisorjail_permanent` tinyint(3) unsigned DEFAULT '0',
- `supervisorreports` int(11) DEFAULT '0',
- `warns` tinyint(3) unsigned DEFAULT '0',
- `chatbubbles` tinyint(3) unsigned NOT NULL DEFAULT '1',
- `supervisornote` text,
- `appstate` tinyint(1) DEFAULT '0',
- `appdatetime` datetime DEFAULT NULL,
- `appreason` longtext,
- `email` text,
- `help` int(1) NOT NULL DEFAULT '1',
- `adblocked` int(1) NOT NULL DEFAULT '0',
- `newsblocked` int(1) NOT NULL DEFAULT '0',
- `mtaserial` text,
- `d_addiction` text,
- `loginhash` varchar(64) DEFAULT NULL,
- `credits` int(11) DEFAULT '0',
- `transfers` int(11) DEFAULT '0',
- `monitored` varchar(255) NOT NULL DEFAULT 'New Player',
- UNIQUE KEY `id` (`id`)
- ) ENGINE=InnoDB AUTO_INCREMENT=60 DEFAULT CHARSET=latin1;
- -- ----------------------------
- -- Table structure for advertisements
- -- ----------------------------
- DROP TABLE IF EXISTS `advertisements`;
- CREATE TABLE `advertisements` (
- `id` int(11) NOT NULL AUTO_INCREMENT,
- `phone` varchar(10) NOT NULL,
- `name` varchar(50) NOT NULL,
- `address` varchar(100) NOT NULL,
- `advertisement` varchar(200) NOT NULL,
- `start` int(11) NOT NULL,
- `expiry` int(11) NOT NULL,
- `created_by` int(11) NOT NULL,
- `section` int(11) NOT NULL,
- PRIMARY KEY (`id`)
- ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
- -- ----------------------------
- -- Table structure for applications
- -- ----------------------------
- DROP TABLE IF EXISTS `applications`;
- CREATE TABLE `applications` (
- `id` int(11) NOT NULL AUTO_INCREMENT,
- `accountID` int(11) NOT NULL,
- `dateposted` datetime NOT NULL,
- `content` text NOT NULL,
- `datereviewed` datetime DEFAULT NULL,
- `adminID` int(11) DEFAULT NULL,
- `adminNote` text,
- `adminAction` int(11) NOT NULL DEFAULT '1',
- PRIMARY KEY (`id`)
- ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
- -- ----------------------------
- -- Table structure for atms
- -- ----------------------------
- DROP TABLE IF EXISTS `atms`;
- CREATE TABLE `atms` (
- `id` int(11) NOT NULL AUTO_INCREMENT,
- `x` decimal(10,6) DEFAULT '0.000000',
- `y` decimal(10,6) DEFAULT '0.000000',
- `z` decimal(10,6) DEFAULT '0.000000',
- `rotation` decimal(10,6) DEFAULT '0.000000',
- `dimension` int(5) DEFAULT '0',
- `interior` int(5) DEFAULT '0',
- `deposit` tinyint(3) unsigned DEFAULT '0',
- `limit` int(10) unsigned DEFAULT '5000',
- UNIQUE KEY `id` (`id`)
- ) ENGINE=InnoDB AUTO_INCREMENT=18 DEFAULT CHARSET=latin1;
- -- ----------------------------
- -- Table structure for cannabis_plants
- -- ----------------------------
- DROP TABLE IF EXISTS `cannabis_plants`;
- CREATE TABLE `cannabis_plants` (
- `id` int(11) NOT NULL AUTO_INCREMENT,
- `position` text,
- `rotation` int(11) DEFAULT NULL,
- `interior` int(11) DEFAULT NULL,
- `dimension` int(11) DEFAULT NULL,
- `state` int(11) DEFAULT '0',
- `hours` int(11) DEFAULT '0',
- `harvest` int(11) DEFAULT '0',
- `creator` text,
- PRIMARY KEY (`id`)
- ) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=latin1;
- -- ----------------------------
- -- Table structure for characters
- -- ----------------------------
- DROP TABLE IF EXISTS `characters`;
- CREATE TABLE `characters` (
- `id` int(11) NOT NULL AUTO_INCREMENT,
- `charactername` text,
- `account` int(11) DEFAULT '0',
- `x` float DEFAULT '823.579',
- `y` float DEFAULT '-1341.3',
- `z` float DEFAULT '13.5164',
- `rotation` float DEFAULT '90',
- `interior_id` int(5) DEFAULT '0',
- `dimension_id` int(5) DEFAULT '0',
- `health` float DEFAULT '100',
- `armor` float DEFAULT '0',
- `skin` int(3) DEFAULT '264',
- `money` bigint(20) DEFAULT '250',
- `gender` int(1) DEFAULT '0',
- `cuffed` int(11) DEFAULT '0',
- `duty` int(3) DEFAULT '0',
- `cellnumber` int(30) DEFAULT '0',
- `fightstyle` int(2) DEFAULT '4',
- `pdjail` int(1) DEFAULT '0',
- `pdjail_time` int(11) DEFAULT '0',
- `job` int(3) DEFAULT '0',
- `cked` int(1) DEFAULT '0',
- `lastarea` text,
- `age` int(3) DEFAULT '18',
- `faction_id` int(11) DEFAULT '-1',
- `faction_rank` int(2) DEFAULT '1',
- `faction_perks` text,
- `skincolor` int(1) DEFAULT '0',
- `weight` int(3) DEFAULT '180',
- `height` int(3) DEFAULT '180',
- `description` text,
- `deaths` int(11) DEFAULT '0',
- `faction_leader` int(1) DEFAULT '0',
- `fingerprint` text,
- `casualskin` int(3) DEFAULT '0',
- `bankmoney` bigint(20) DEFAULT '750',
- `car_license` int(1) DEFAULT '0',
- `bike_license` int(1) DEFAULT '0',
- `boat_license` int(1) DEFAULT '0',
- `pilot_license` int(1) DEFAULT '0',
- `fish_license` int(1) DEFAULT '0',
- `gun_license` int(1) DEFAULT '0',
- `gun2_license` int(1) DEFAULT '0',
- `tag` int(3) DEFAULT '1',
- `hoursplayed` int(11) DEFAULT '0',
- `pdjail_station` int(1) DEFAULT '0',
- `timeinserver` int(2) DEFAULT '0',
- `restrainedobj` int(11) DEFAULT '0',
- `restrainedby` int(11) DEFAULT '0',
- `dutyskin` int(3) DEFAULT '-1',
- `fish` int(10) unsigned NOT NULL DEFAULT '0',
- `truckingruns` int(10) unsigned NOT NULL DEFAULT '0',
- `truckingwage` int(10) unsigned NOT NULL DEFAULT '0',
- `blindfold` tinyint(4) NOT NULL DEFAULT '0',
- `lang1` tinyint(2) DEFAULT '1',
- `lang1skill` tinyint(3) DEFAULT '100',
- `lang2` tinyint(2) DEFAULT '0',
- `lang2skill` tinyint(3) DEFAULT '0',
- `lang3` tinyint(2) DEFAULT '0',
- `lang3skill` tinyint(3) DEFAULT '0',
- `currlang` tinyint(1) DEFAULT '1',
- `lastlogin` datetime DEFAULT NULL,
- `creationdate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
- `jobcontract` tinyint(3) unsigned NOT NULL DEFAULT '0',
- `marriedto` int(10) unsigned NOT NULL DEFAULT '0',
- `ck_info` text,
- `alcohollevel` float NOT NULL DEFAULT '0',
- `active` tinyint(1) unsigned NOT NULL DEFAULT '1',
- `accent` int(5) NOT NULL DEFAULT '1',
- `walkStyle` int(5) NOT NULL DEFAULT '54',
- `clothingid` int(10) unsigned DEFAULT NULL,
- `day` int(5) DEFAULT NULL,
- `month` int(5) DEFAULT NULL,
- UNIQUE KEY `id` (`id`)
- ) ENGINE=InnoDB AUTO_INCREMENT=74 DEFAULT CHARSET=latin1;
- -- ----------------------------
- -- Table structure for clothing
- -- ----------------------------
- DROP TABLE IF EXISTS `clothing`;
- CREATE TABLE `clothing` (
- `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
- `skin` int(11) unsigned NOT NULL,
- `url` varchar(255) NOT NULL,
- `description` varchar(255) NOT NULL,
- `price` int(11) unsigned NOT NULL,
- PRIMARY KEY (`id`)
- ) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8;
- -- ----------------------------
- -- Table structure for computers
- -- ----------------------------
- DROP TABLE IF EXISTS `computers`;
- CREATE TABLE `computers` (
- `id` int(11) NOT NULL AUTO_INCREMENT,
- `posX` float(10,5) NOT NULL,
- `posY` float(10,5) NOT NULL,
- `posZ` float(10,5) NOT NULL,
- `rotX` float(10,5) NOT NULL,
- `rotY` float(10,5) NOT NULL,
- `rotZ` float(10,5) NOT NULL,
- `interior` int(8) NOT NULL,
- `dimension` int(8) NOT NULL,
- `model` int(8) NOT NULL,
- PRIMARY KEY (`id`)
- ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
- -- ----------------------------
- -- Table structure for dancers
- -- ----------------------------
- DROP TABLE IF EXISTS `dancers`;
- CREATE TABLE `dancers` (
- `id` int(10) NOT NULL AUTO_INCREMENT,
- `x` float NOT NULL,
- `y` float NOT NULL,
- `z` float NOT NULL,
- `rotation` float NOT NULL,
- `skin` smallint(5) unsigned NOT NULL,
- `type` tinyint(3) unsigned NOT NULL,
- `interior` int(10) unsigned NOT NULL,
- `dimension` int(10) unsigned NOT NULL,
- `offset` tinyint(3) unsigned NOT NULL,
- PRIMARY KEY (`id`)
- ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
- -- ----------------------------
- -- Table structure for don_transaction_failed
- -- ----------------------------
- DROP TABLE IF EXISTS `don_transaction_failed`;
- CREATE TABLE `don_transaction_failed` (
- `id` int(11) NOT NULL AUTO_INCREMENT,
- `output` text NOT NULL,
- `ip` varchar(30) DEFAULT NULL,
- PRIMARY KEY (`id`)
- ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
- -- ----------------------------
- -- Table structure for don_transactions
- -- ----------------------------
- DROP TABLE IF EXISTS `don_transactions`;
- CREATE TABLE `don_transactions` (
- `id` int(11) NOT NULL AUTO_INCREMENT,
- `transaction_id` varchar(64) NOT NULL,
- `donator_email` varchar(255) NOT NULL,
- `amount` double NOT NULL,
- `original_request` text,
- `dt` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
- `handled` smallint(1) DEFAULT '0',
- `username` varchar(50) NOT NULL,
- `realamount` double NOT NULL DEFAULT '0',
- PRIMARY KEY (`id`)
- ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
- -- ----------------------------
- -- Table structure for donators
- -- ----------------------------
- DROP TABLE IF EXISTS `donators`;
- CREATE TABLE `donators` (
- `id` int(11) NOT NULL AUTO_INCREMENT,
- `accountID` int(11) NOT NULL,
- `charID` int(11) NOT NULL DEFAULT '-1',
- `perkID` int(4) NOT NULL,
- `perkValue` varchar(10) NOT NULL DEFAULT '1',
- `expirationDate` datetime NOT NULL,
- PRIMARY KEY (`id`)
- ) ENGINE=InnoDB AUTO_INCREMENT=25 DEFAULT CHARSET=latin1;
- -- ----------------------------
- -- Table structure for elevators
- -- ----------------------------
- DROP TABLE IF EXISTS `elevators`;
- CREATE TABLE `elevators` (
- `id` int(11) NOT NULL AUTO_INCREMENT,
- `x` decimal(10,6) DEFAULT '0.000000',
- `y` decimal(10,6) DEFAULT '0.000000',
- `z` decimal(10,6) DEFAULT '0.000000',
- `tpx` decimal(10,6) DEFAULT '0.000000',
- `tpy` decimal(10,6) DEFAULT '0.000000',
- `tpz` decimal(10,6) DEFAULT '0.000000',
- `dimensionwithin` int(5) DEFAULT '0',
- `interiorwithin` int(5) DEFAULT '0',
- `dimension` int(5) DEFAULT '0',
- `interior` int(5) DEFAULT '0',
- `car` tinyint(3) unsigned DEFAULT '0',
- `disabled` tinyint(3) unsigned DEFAULT '0',
- `irotation` int(11) DEFAULT NULL,
- `rotation` int(11) DEFAULT NULL,
- UNIQUE KEY `id` (`id`)
- ) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=latin1;
- -- ----------------------------
- -- Table structure for emailaccounts
- -- ----------------------------
- DROP TABLE IF EXISTS `emailaccounts`;
- CREATE TABLE `emailaccounts` (
- `id` int(11) NOT NULL AUTO_INCREMENT,
- `username` text,
- `password` text,
- `creator` int(11) DEFAULT NULL,
- UNIQUE KEY `id` (`id`)
- ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;
- -- ----------------------------
- -- Table structure for emails
- -- ----------------------------
- DROP TABLE IF EXISTS `emails`;
- CREATE TABLE `emails` (
- `id` int(11) NOT NULL AUTO_INCREMENT,
- `date` datetime NOT NULL,
- `sender` text,
- `receiver` text,
- `subject` text,
- `message` text,
- `inbox` int(1) NOT NULL DEFAULT '0',
- `outbox` int(1) NOT NULL DEFAULT '0',
- UNIQUE KEY `id` (`id`)
- ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
- -- ----------------------------
- -- Table structure for factions
- -- ----------------------------
- DROP TABLE IF EXISTS `factions`;
- CREATE TABLE `factions` (
- `id` int(11) NOT NULL AUTO_INCREMENT,
- `name` text,
- `bankbalance` bigint(20) DEFAULT NULL,
- `type` int(11) DEFAULT NULL,
- `rank_1` text,
- `rank_2` text,
- `rank_3` text,
- `rank_4` text,
- `rank_5` text,
- `rank_6` text,
- `rank_7` text,
- `rank_8` text,
- `rank_9` text,
- `rank_10` text,
- `rank_11` text,
- `rank_12` text,
- `rank_13` text,
- `rank_14` text,
- `rank_15` text,
- `rank_16` text,
- `rank_17` text,
- `rank_18` text,
- `rank_19` text,
- `rank_20` text,
- `wage_1` int(11) DEFAULT '100',
- `wage_2` int(11) DEFAULT '100',
- `wage_3` int(11) DEFAULT '100',
- `wage_4` int(11) DEFAULT '100',
- `wage_5` int(11) DEFAULT '100',
- `wage_6` int(11) DEFAULT '100',
- `wage_7` int(11) DEFAULT '100',
- `wage_8` int(11) DEFAULT '100',
- `wage_9` int(11) DEFAULT '100',
- `wage_10` int(11) DEFAULT '100',
- `wage_11` int(11) DEFAULT '100',
- `wage_12` int(11) DEFAULT '100',
- `wage_13` int(11) DEFAULT '100',
- `wage_14` int(11) DEFAULT '100',
- `wage_15` int(11) DEFAULT '100',
- `wage_16` int(11) DEFAULT '100',
- `wage_17` int(11) DEFAULT '100',
- `wage_18` int(11) DEFAULT '100',
- `wage_19` int(11) DEFAULT '100',
- `wage_20` int(11) DEFAULT '100',
- `motd` text,
- `note` text,
- UNIQUE KEY `id` (`id`)
- ) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=latin1;
- -- ----------------------------
- -- Table structure for forgotdetails
- -- ----------------------------
- DROP TABLE IF EXISTS `forgotdetails`;
- CREATE TABLE `forgotdetails` (
- `uniquekey` varchar(32) NOT NULL,
- `account` int(11) DEFAULT '0',
- `keytimestamp` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP
- ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
- -- ----------------------------
- -- Table structure for friends
- -- ----------------------------
- DROP TABLE IF EXISTS `friends`;
- CREATE TABLE `friends` (
- `id` int(10) unsigned NOT NULL,
- `friend` int(10) unsigned NOT NULL,
- PRIMARY KEY (`id`,`friend`)
- ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
- -- ----------------------------
- -- Table structure for fuelpumps
- -- ----------------------------
- DROP TABLE IF EXISTS `fuelpumps`;
- CREATE TABLE `fuelpumps` (
- `id` int(11) NOT NULL AUTO_INCREMENT,
- `posX` float NOT NULL,
- `posY` float NOT NULL,
- `posZ` float NOT NULL,
- `rotX` float NOT NULL,
- `rotY` float NOT NULL,
- `rotZ` float NOT NULL,
- PRIMARY KEY (`id`)
- ) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=latin1;
- -- ----------------------------
- -- Table structure for fuelstations
- -- ----------------------------
- DROP TABLE IF EXISTS `fuelstations`;
- CREATE TABLE `fuelstations` (
- `id` int(11) NOT NULL AUTO_INCREMENT,
- `x` decimal(10,6) DEFAULT '0.000000',
- `y` decimal(10,6) DEFAULT '0.000000',
- `z` decimal(10,6) DEFAULT '0.000000',
- `interior` int(5) DEFAULT '0',
- `dimension` int(5) DEFAULT '0',
- UNIQUE KEY `id` (`id`)
- ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
- -- ----------------------------
- -- Table structure for gates
- -- ----------------------------
- DROP TABLE IF EXISTS `gates`;
- CREATE TABLE `gates` (
- `id` int(11) NOT NULL AUTO_INCREMENT,
- `objectID` int(11) NOT NULL,
- `startX` float NOT NULL,
- `startY` float NOT NULL,
- `startZ` float NOT NULL,
- `startRX` float NOT NULL,
- `startRY` float NOT NULL,
- `startRZ` float NOT NULL,
- `endX` float NOT NULL,
- `endY` float NOT NULL,
- `endZ` float NOT NULL,
- `endRX` float NOT NULL,
- `endRY` float NOT NULL,
- `endRZ` float NOT NULL,
- `gateType` tinyint(3) unsigned NOT NULL,
- `autocloseTime` int(4) NOT NULL,
- `movementTime` int(4) NOT NULL,
- `objectDimension` int(11) NOT NULL,
- `objectInterior` int(11) NOT NULL,
- `gateSecurityParameters` text,
- `createdDate` timestamp NULL DEFAULT NULL,
- `creator` text,
- `supervisorNote` text,
- PRIMARY KEY (`id`)
- ) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=latin1;
- -- ----------------------------
- -- Table structure for infopoints
- -- ----------------------------
- DROP TABLE IF EXISTS `infopoints`;
- CREATE TABLE `infopoints` (
- `id` int(5) NOT NULL AUTO_INCREMENT,
- `x` varchar(300) NOT NULL,
- `y` varchar(300) NOT NULL,
- `z` varchar(300) NOT NULL,
- `interior` varchar(300) NOT NULL,
- `dimension` varchar(300) NOT NULL,
- `text` text NOT NULL,
- `placer` text NOT NULL,
- PRIMARY KEY (`id`)
- ) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=latin1;
- -- ----------------------------
- -- Table structure for interior_textures
- -- ----------------------------
- DROP TABLE IF EXISTS `interior_textures`;
- CREATE TABLE `interior_textures` (
- `id` int(11) NOT NULL AUTO_INCREMENT,
- `interior` int(11) NOT NULL,
- `texture` varchar(255) NOT NULL,
- `url` varchar(255) NOT NULL,
- PRIMARY KEY (`id`)
- ) ENGINE=MyISAM AUTO_INCREMENT=399 DEFAULT CHARSET=utf8;
- -- ----------------------------
- -- Table structure for interiors
- -- ----------------------------
- DROP TABLE IF EXISTS `interiors`;
- CREATE TABLE `interiors` (
- `id` int(11) NOT NULL AUTO_INCREMENT,
- `x` float DEFAULT '0',
- `y` float DEFAULT '0',
- `z` float DEFAULT '0',
- `type` int(1) DEFAULT '0',
- `owner` int(11) DEFAULT '-1',
- `locked` int(1) DEFAULT '0',
- `cost` int(11) DEFAULT '0',
- `name` text,
- `interior` int(5) DEFAULT '0',
- `interiorx` float DEFAULT '0',
- `interiory` float DEFAULT '0',
- `interiorz` float DEFAULT '0',
- `dimensionwithin` int(5) DEFAULT '0',
- `interiorwithin` int(5) DEFAULT '0',
- `angle` float DEFAULT '0',
- `angleexit` float DEFAULT '0',
- `supplies` int(11) DEFAULT '100',
- `safepositionX` float DEFAULT NULL,
- `safepositionY` float DEFAULT NULL,
- `safepositionZ` float DEFAULT NULL,
- `safepositionRZ` float DEFAULT NULL,
- `fee` int(10) unsigned DEFAULT '0',
- `disabled` tinyint(3) unsigned DEFAULT '0',
- `lastused` datetime DEFAULT NULL,
- `bizamount` int(11) NOT NULL DEFAULT '0',
- `biznote` text,
- UNIQUE KEY `id` (`id`)
- ) ENGINE=InnoDB AUTO_INCREMENT=308 DEFAULT CHARSET=latin1;
- -- ----------------------------
- -- Table structure for items
- -- ----------------------------
- DROP TABLE IF EXISTS `items`;
- CREATE TABLE `items` (
- `index` int(10) unsigned NOT NULL AUTO_INCREMENT,
- `type` tinyint(3) unsigned NOT NULL,
- `owner` int(10) unsigned NOT NULL,
- `itemID` int(10) NOT NULL,
- `itemValue` text NOT NULL,
- PRIMARY KEY (`index`)
- ) ENGINE=InnoDB AUTO_INCREMENT=3245 DEFAULT CHARSET=latin1;
- -- ----------------------------
- -- Table structure for logtable
- -- ----------------------------
- DROP TABLE IF EXISTS `logtable`;
- CREATE TABLE `logtable` (
- `time` datetime NOT NULL,
- `action` int(2) NOT NULL,
- `source` varchar(12) NOT NULL,
- `affected` text NOT NULL,
- `content` text
- ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
- -- ----------------------------
- -- Table structure for lottery
- -- ----------------------------
- DROP TABLE IF EXISTS `lottery`;
- CREATE TABLE `lottery` (
- `characterid` int(255) NOT NULL,
- `ticketnumber` int(3) NOT NULL
- ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
- -- ----------------------------
- -- Table structure for mdc_apb
- -- ----------------------------
- DROP TABLE IF EXISTS `mdc_apb`;
- CREATE TABLE `mdc_apb` (
- `id` int(11) NOT NULL AUTO_INCREMENT,
- `person_involved` varchar(255) NOT NULL,
- `description` text NOT NULL,
- `doneby` int(11) NOT NULL,
- `time` int(11) NOT NULL,
- PRIMARY KEY (`id`)
- ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
- -- ----------------------------
- -- Table structure for mdc_calls
- -- ----------------------------
- DROP TABLE IF EXISTS `mdc_calls`;
- CREATE TABLE `mdc_calls` (
- `id` int(11) NOT NULL AUTO_INCREMENT,
- `caller` varchar(50) NOT NULL,
- `number` varchar(10) NOT NULL,
- `description` varchar(255) NOT NULL,
- `timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
- PRIMARY KEY (`id`)
- ) ENGINE=InnoDB AUTO_INCREMENT=3762 DEFAULT CHARSET=latin1;
- -- ----------------------------
- -- Table structure for mdc_crimes
- -- ----------------------------
- DROP TABLE IF EXISTS `mdc_crimes`;
- CREATE TABLE `mdc_crimes` (
- `id` int(11) NOT NULL AUTO_INCREMENT,
- `crime` varchar(255) NOT NULL,
- `punishment` varchar(255) NOT NULL,
- `character` int(11) NOT NULL,
- `officer` int(11) NOT NULL,
- `timestamp` int(11) NOT NULL,
- PRIMARY KEY (`id`)
- ) ENGINE=MyISAM AUTO_INCREMENT=670 DEFAULT CHARSET=latin1;
- -- ----------------------------
- -- Table structure for mdc_criminals
- -- ----------------------------
- DROP TABLE IF EXISTS `mdc_criminals`;
- CREATE TABLE `mdc_criminals` (
- `character` int(11) NOT NULL,
- `dob` varchar(10) NOT NULL DEFAULT 'mm/dd/yyyy',
- `ethnicity` varchar(50) NOT NULL DEFAULT 'Unknown',
- `phone` varchar(10) NOT NULL DEFAULT 'Unknown',
- `occupation` varchar(50) NOT NULL DEFAULT 'Unknown',
- `address` varchar(50) NOT NULL DEFAULT 'Unknown',
- `photo` int(11) NOT NULL DEFAULT '-1',
- `details` varchar(255) NOT NULL DEFAULT 'None',
- `created_by` int(11) NOT NULL DEFAULT '0',
- `wanted` int(11) NOT NULL DEFAULT '0',
- `wanted_by` int(11) NOT NULL DEFAULT '0',
- `wanted_details` varchar(255) DEFAULT NULL,
- UNIQUE KEY `name` (`character`)
- ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
- -- ----------------------------
- -- Table structure for mdc_stolen
- -- ----------------------------
- DROP TABLE IF EXISTS `mdc_stolen`;
- CREATE TABLE `mdc_stolen` (
- `id` int(15) NOT NULL AUTO_INCREMENT,
- `vin` int(25) DEFAULT NULL,
- `name` text,
- `owner` text,
- `desc` text,
- `date` date NOT NULL,
- PRIMARY KEY (`id`)
- ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
- -- ----------------------------
- -- Table structure for mdc_users
- -- ----------------------------
- DROP TABLE IF EXISTS `mdc_users`;
- CREATE TABLE `mdc_users` (
- `id` int(11) NOT NULL AUTO_INCREMENT,
- `user` varchar(30) NOT NULL,
- `pass` varchar(30) NOT NULL,
- `level` int(11) NOT NULL,
- PRIMARY KEY (`id`)
- ) ENGINE=MyISAM AUTO_INCREMENT=83 DEFAULT CHARSET=latin1;
- -- ----------------------------
- -- Table structure for objects
- -- ----------------------------
- DROP TABLE IF EXISTS `objects`;
- CREATE TABLE `objects` (
- `id` int(11) NOT NULL AUTO_INCREMENT,
- `model` int(6) NOT NULL DEFAULT '0',
- `posX` float(12,7) NOT NULL DEFAULT '0.0000000',
- `posY` float(12,7) NOT NULL DEFAULT '0.0000000',
- `posZ` float(12,7) NOT NULL DEFAULT '0.0000000',
- `rotX` float(12,7) NOT NULL DEFAULT '0.0000000',
- `rotY` float(12,7) NOT NULL DEFAULT '0.0000000',
- `rotZ` float(12,7) NOT NULL DEFAULT '0.0000000',
- `interior` int(5) NOT NULL,
- `dimension` int(5) NOT NULL,
- `comment` varchar(50) DEFAULT NULL,
- `solid` int(1) NOT NULL DEFAULT '1',
- `doublesided` int(1) NOT NULL DEFAULT '0',
- PRIMARY KEY (`id`),
- UNIQUE KEY `id` (`id`)
- ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
- -- ----------------------------
- -- Table structure for paynspray
- -- ----------------------------
- DROP TABLE IF EXISTS `paynspray`;
- CREATE TABLE `paynspray` (
- `id` int(11) NOT NULL AUTO_INCREMENT,
- `x` decimal(10,6) DEFAULT '0.000000',
- `y` decimal(10,6) DEFAULT '0.000000',
- `z` decimal(10,6) DEFAULT '0.000000',
- `dimension` int(5) DEFAULT '0',
- `interior` int(5) DEFAULT '0',
- UNIQUE KEY `id` (`id`)
- ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
- -- ----------------------------
- -- Table structure for phone_contacts
- -- ----------------------------
- DROP TABLE IF EXISTS `phone_contacts`;
- CREATE TABLE `phone_contacts` (
- `phone` int(11) NOT NULL,
- `entryName` varchar(30) NOT NULL,
- `entryNumber` int(11) NOT NULL
- ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
- -- ----------------------------
- -- Table structure for phone_settings
- -- ----------------------------
- DROP TABLE IF EXISTS `phone_settings`;
- CREATE TABLE `phone_settings` (
- `phonenumber` int(1) NOT NULL,
- `turnedon` smallint(1) unsigned NOT NULL DEFAULT '1',
- `secretnumber` smallint(1) unsigned NOT NULL DEFAULT '0',
- `ringtone` smallint(1) NOT NULL DEFAULT '1',
- `phonebook` varchar(40) DEFAULT NULL,
- `boughtby` int(11) NOT NULL DEFAULT '-1',
- `phonenote` text,
- PRIMARY KEY (`phonenumber`)
- ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
- -- ----------------------------
- -- Table structure for phonebook
- -- ----------------------------
- DROP TABLE IF EXISTS `phonebook`;
- CREATE TABLE `phonebook` (
- `id` int(5) NOT NULL AUTO_INCREMENT,
- `name` text NOT NULL,
- `number` text NOT NULL,
- PRIMARY KEY (`id`)
- ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
- -- ----------------------------
- -- Table structure for publicphones
- -- ----------------------------
- DROP TABLE IF EXISTS `publicphones`;
- CREATE TABLE `publicphones` (
- `id` int(10) unsigned NOT NULL,
- `x` float NOT NULL,
- `y` float NOT NULL,
- `z` float NOT NULL,
- `dimension` int(10) unsigned NOT NULL,
- PRIMARY KEY (`id`)
- ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
- -- ----------------------------
- -- Table structure for ramps
- -- ----------------------------
- DROP TABLE IF EXISTS `ramps`;
- CREATE TABLE `ramps` (
- `id` int(2) NOT NULL AUTO_INCREMENT,
- `position` text,
- `interior` int(2) DEFAULT NULL,
- `dimension` int(2) DEFAULT NULL,
- `rotation` int(5) DEFAULT NULL,
- `creator` text,
- `state` int(2) DEFAULT NULL,
- PRIMARY KEY (`id`)
- ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
- -- ----------------------------
- -- Table structure for settings
- -- ----------------------------
- DROP TABLE IF EXISTS `settings`;
- CREATE TABLE `settings` (
- `id` int(11) NOT NULL AUTO_INCREMENT,
- `name` text,
- `value` text,
- UNIQUE KEY `id` (`id`)
- ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=latin1;
- -- ----------------------------
- -- Table structure for shops
- -- ----------------------------
- DROP TABLE IF EXISTS `shops`;
- CREATE TABLE `shops` (
- `id` int(11) NOT NULL AUTO_INCREMENT,
- `x` float DEFAULT '0',
- `y` float DEFAULT '0',
- `z` float DEFAULT '0',
- `dimension` int(5) DEFAULT '0',
- `interior` int(5) DEFAULT '0',
- `shoptype` tinyint(4) DEFAULT '0',
- `rotation` float NOT NULL DEFAULT '0',
- `skin` int(11) DEFAULT '-1',
- `name` text,
- UNIQUE KEY `id` (`id`)
- ) ENGINE=InnoDB AUTO_INCREMENT=39 DEFAULT CHARSET=latin1;
- -- ----------------------------
- -- Table structure for speedcams
- -- ----------------------------
- DROP TABLE IF EXISTS `speedcams`;
- CREATE TABLE `speedcams` (
- `id` int(11) NOT NULL AUTO_INCREMENT,
- `x` float(11,7) NOT NULL DEFAULT '0.0000000',
- `y` float(11,7) NOT NULL DEFAULT '0.0000000',
- `z` float(11,7) NOT NULL DEFAULT '0.0000000',
- `interior` int(3) NOT NULL DEFAULT '0' COMMENT 'Stores the location of the pernament speedcams',
- `dimension` int(5) NOT NULL DEFAULT '0',
- `maxspeed` int(4) NOT NULL DEFAULT '120',
- `radius` int(4) NOT NULL DEFAULT '2',
- `enabled` smallint(1) DEFAULT '1',
- PRIMARY KEY (`id`)
- ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
- -- ----------------------------
- -- Table structure for speedingviolations
- -- ----------------------------
- DROP TABLE IF EXISTS `speedingviolations`;
- CREATE TABLE `speedingviolations` (
- `id` int(11) NOT NULL AUTO_INCREMENT,
- `carID` int(11) NOT NULL,
- `time` datetime NOT NULL,
- `speed` int(5) NOT NULL,
- `area` varchar(50) NOT NULL,
- `personVisible` int(11) NOT NULL,
- PRIMARY KEY (`id`)
- ) ENGINE=InnoDB AUTO_INCREMENT=132376 DEFAULT CHARSET=latin1;
- -- ----------------------------
- -- Table structure for supervisorhistory
- -- ----------------------------
- DROP TABLE IF EXISTS `supervisorhistory`;
- CREATE TABLE `supervisorhistory` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
- `user` int(10) unsigned NOT NULL,
- `user_char` text NOT NULL,
- `supervisor` int(10) unsigned NOT NULL,
- `supervisor_char` text NOT NULL,
- `date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
- `action` tinyint(3) unsigned NOT NULL,
- `duration` int(10) unsigned NOT NULL,
- `reason` text NOT NULL,
- `hiddensupervisor` tinyint(3) unsigned NOT NULL,
- PRIMARY KEY (`id`)
- ) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=latin1;
- -- ----------------------------
- -- Table structure for tags
- -- ----------------------------
- DROP TABLE IF EXISTS `tags`;
- CREATE TABLE `tags` (
- `id` int(11) NOT NULL AUTO_INCREMENT,
- `x` decimal(10,6) DEFAULT NULL,
- `y` decimal(10,6) DEFAULT NULL,
- `z` decimal(10,6) DEFAULT NULL,
- `interior` int(5) DEFAULT NULL,
- `dimension` int(5) DEFAULT NULL,
- `rx` decimal(10,6) DEFAULT NULL,
- `ry` decimal(10,6) DEFAULT NULL,
- `rz` decimal(10,6) DEFAULT NULL,
- `modelid` int(5) DEFAULT NULL,
- `creationdate` datetime DEFAULT NULL,
- `creator` int(11) NOT NULL DEFAULT '-1',
- UNIQUE KEY `id` (`id`)
- ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=latin1;
- -- ----------------------------
- -- Table structure for tempinteriors
- -- ----------------------------
- DROP TABLE IF EXISTS `tempinteriors`;
- CREATE TABLE `tempinteriors` (
- `id` int(11) NOT NULL AUTO_INCREMENT,
- `posX` float NOT NULL,
- `posY` float DEFAULT NULL,
- `posZ` float DEFAULT NULL,
- `interior` int(5) DEFAULT NULL,
- UNIQUE KEY `id` (`id`)
- ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
- -- ----------------------------
- -- Table structure for tempobjects
- -- ----------------------------
- DROP TABLE IF EXISTS `tempobjects`;
- CREATE TABLE `tempobjects` (
- `id` int(11) NOT NULL AUTO_INCREMENT,
- `model` int(6) NOT NULL DEFAULT '0',
- `posX` float(12,7) NOT NULL DEFAULT '0.0000000',
- `posY` float(12,7) NOT NULL DEFAULT '0.0000000',
- `posZ` float(12,7) NOT NULL DEFAULT '0.0000000',
- `rotX` float(12,7) NOT NULL DEFAULT '0.0000000',
- `rotY` float(12,7) NOT NULL DEFAULT '0.0000000',
- `rotZ` float(12,7) NOT NULL DEFAULT '0.0000000',
- `interior` int(5) NOT NULL,
- `dimension` int(5) NOT NULL,
- `comment` varchar(50) DEFAULT NULL,
- `solid` int(1) NOT NULL DEFAULT '1',
- `doublesided` int(1) NOT NULL DEFAULT '0',
- PRIMARY KEY (`id`)
- ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
- -- ----------------------------
- -- Table structure for vehicles
- -- ----------------------------
- DROP TABLE IF EXISTS `vehicles`;
- CREATE TABLE `vehicles` (
- `id` int(11) NOT NULL AUTO_INCREMENT,
- `shop_id` int(15) DEFAULT '0',
- `model` int(3) DEFAULT '0',
- `x` decimal(10,6) DEFAULT '0.000000',
- `y` decimal(10,6) DEFAULT '0.000000',
- `z` decimal(10,6) DEFAULT '0.000000',
- `rotx` decimal(10,6) DEFAULT '0.000000',
- `roty` decimal(10,6) DEFAULT '0.000000',
- `rotz` decimal(10,6) DEFAULT '0.000000',
- `currx` decimal(10,6) DEFAULT '0.000000',
- `curry` decimal(10,6) DEFAULT '0.000000',
- `currz` decimal(10,6) DEFAULT '0.000000',
- `currrx` decimal(10,6) DEFAULT '0.000000',
- `currry` decimal(10,6) DEFAULT '0.000000',
- `currrz` decimal(10,6) NOT NULL DEFAULT '0.000000',
- `fuel` int(3) DEFAULT '100',
- `engine` int(1) DEFAULT '0',
- `locked` int(1) DEFAULT '0',
- `lights` int(1) DEFAULT '0',
- `sirens` int(1) DEFAULT '0',
- `paintjob` int(11) DEFAULT '0',
- `hp` float DEFAULT '1000',
- `color1` varchar(50) DEFAULT '0',
- `color2` varchar(50) DEFAULT '0',
- `color3` varchar(50) DEFAULT NULL,
- `color4` varchar(50) DEFAULT NULL,
- `plate` text,
- `faction` int(11) DEFAULT '-1',
- `owner` int(11) DEFAULT '-1',
- `job` int(11) DEFAULT '-1',
- `tintedwindows` int(1) DEFAULT '0',
- `dimension` int(5) DEFAULT '0',
- `interior` int(5) DEFAULT '0',
- `currdimension` int(5) DEFAULT '0',
- `currinterior` int(5) DEFAULT '0',
- `enginebroke` int(1) DEFAULT '0',
- `items` text,
- `itemvalues` text,
- `Impounded` int(3) DEFAULT '0',
- `handbrake` int(1) DEFAULT '0',
- `safepositionX` float DEFAULT NULL,
- `safepositionY` float DEFAULT NULL,
- `safepositionZ` float DEFAULT NULL,
- `safepositionRZ` float DEFAULT NULL,
- `upgrades` varchar(150) DEFAULT '[ [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] ]',
- `wheelStates` varchar(30) DEFAULT '[ [ 0, 0, 0, 0 ] ]',
- `panelStates` varchar(40) DEFAULT '[ [ 0, 0, 0, 0, 0, 0, 0 ] ]',
- `doorStates` varchar(30) DEFAULT '[ [ 0, 0, 0, 0, 0, 0 ] ]',
- `odometer` int(15) DEFAULT '0',
- `headlights` varchar(30) DEFAULT '[ [ 255, 255, 255 ] ]',
- `variant1` tinyint(3) unsigned NOT NULL DEFAULT '255',
- `variant2` tinyint(3) unsigned NOT NULL DEFAULT '255',
- `desc1` text NOT NULL,
- `desc2` text NOT NULL,
- `desc3` text NOT NULL,
- `desc4` text NOT NULL,
- `desc5` text NOT NULL,
- `show_vin` int(1) NOT NULL DEFAULT '1',
- `show_plate` int(1) NOT NULL DEFAULT '1',
- `registered` int(1) NOT NULL DEFAULT '1',
- `paintjob_url` text,
- `handling` text,
- UNIQUE KEY `id` (`id`)
- ) ENGINE=InnoDB AUTO_INCREMENT=239 DEFAULT CHARSET=latin1;
- -- ----------------------------
- -- Table structure for vehicles_custom
- -- ----------------------------
- DROP TABLE IF EXISTS `vehicles_custom`;
- CREATE TABLE `vehicles_custom` (
- `id` int(15) NOT NULL AUTO_INCREMENT,
- `manufacturer` text NOT NULL,
- `model` text NOT NULL,
- `year` text NOT NULL,
- `cost` text NOT NULL,
- `tax` text NOT NULL,
- `handling` text NOT NULL,
- `notes` text NOT NULL,
- PRIMARY KEY (`id`)
- ) ENGINE=InnoDB AUTO_INCREMENT=232 DEFAULT CHARSET=latin1;
- -- ----------------------------
- -- Table structure for vehicles_shop
- -- ----------------------------
- DROP TABLE IF EXISTS `vehicles_shop`;
- CREATE TABLE `vehicles_shop` (
- `id` int(15) NOT NULL AUTO_INCREMENT,
- `gtaid` int(15) NOT NULL,
- `manufacturer` text NOT NULL,
- `model` text NOT NULL,
- `year` text NOT NULL,
- `cost` text NOT NULL,
- `tax` text NOT NULL,
- `enabled` int(1) NOT NULL DEFAULT '1',
- `createdby` int(15) NOT NULL,
- `updatedby` int(15) NOT NULL,
- `createdate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
- `updatedate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
- `notes` text NOT NULL,
- `handling` text NOT NULL,
- `shop_id` int(5) NOT NULL,
- `spawnto` int(2) NOT NULL,
- PRIMARY KEY (`id`)
- ) ENGINE=InnoDB AUTO_INCREMENT=364 DEFAULT CHARSET=latin1;
- -- ----------------------------
- -- Table structure for wiretransfers
- -- ----------------------------
- DROP TABLE IF EXISTS `wiretransfers`;
- CREATE TABLE `wiretransfers` (
- `id` int(10) NOT NULL AUTO_INCREMENT,
- `from` int(11) NOT NULL,
- `to` int(11) NOT NULL,
- `amount` int(11) NOT NULL,
- `reason` text NOT NULL,
- `time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
- `type` int(11) NOT NULL,
- PRIMARY KEY (`id`)
- ) ENGINE=InnoDB AUTO_INCREMENT=1339 DEFAULT CHARSET=latin1;
- -- ----------------------------
- -- Table structure for worlditems
- -- ----------------------------
- DROP TABLE IF EXISTS `worlditems`;
- CREATE TABLE `worlditems` (
- `id` int(11) NOT NULL AUTO_INCREMENT,
- `itemid` int(11) DEFAULT '0',
- `itemvalue` text,
- `x` float DEFAULT '0',
- `y` float DEFAULT '0',
- `z` float DEFAULT '0',
- `dimension` int(5) DEFAULT '0',
- `interior` int(5) DEFAULT '0',
- `creationdate` datetime DEFAULT NULL,
- `rz` float DEFAULT '0',
- `creator` int(10) unsigned DEFAULT '0',
- `protected` int(11) NOT NULL DEFAULT '0',
- UNIQUE KEY `id` (`id`)
- ) ENGINE=InnoDB AUTO_INCREMENT=233 DEFAULT CHARSET=latin1;
- -- ----------------------------
- -- Records
- -- ----------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement