ecrp.sql 71 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078
  1. -- MySQL dump 10.19 Distrib 10.3.38-MariaDB, for debian-linux-gnu (i686)
  2. --
  3. -- Host: localhost Database: ecrp
  4. -- ------------------------------------------------------
  5. -- Server version 10.3.38-MariaDB-0+deb10u1
  6. /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
  7. /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
  8. /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
  9. /*!40101 SET NAMES utf8mb4 */;
  10. /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
  11. /*!40103 SET TIME_ZONE='+00:00' */;
  12. /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
  13. /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
  14. /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
  15. /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
  16. --
  17. -- Table structure for table `achievements`
  18. --
  19. DROP TABLE IF EXISTS `achievements`;
  20. /*!40101 SET @saved_cs_client = @@character_set_client */;
  21. /*!40101 SET character_set_client = utf8 */;
  22. CREATE TABLE `achievements` (
  23. `uid` int(10) DEFAULT NULL,
  24. `achievement` varchar(32) DEFAULT NULL,
  25. `id` int(100) NOT NULL AUTO_INCREMENT,
  26. PRIMARY KEY (`id`),
  27. UNIQUE KEY `id_UNIQUE` (`id`),
  28. UNIQUE KEY `uid` (`uid`,`achievement`) USING BTREE
  29. ) ENGINE=InnoDB AUTO_INCREMENT=2872 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
  30. /*!40101 SET character_set_client = @saved_cs_client */;
  31. --
  32. -- Table structure for table `actordb`
  33. --
  34. DROP TABLE IF EXISTS `actordb`;
  35. /*!40101 SET @saved_cs_client = @@character_set_client */;
  36. /*!40101 SET character_set_client = utf8 */;
  37. CREATE TABLE `actordb` (
  38. `ID` int(11) NOT NULL AUTO_INCREMENT,
  39. `ActorName` text NOT NULL,
  40. `ActorVirtual` int(11) NOT NULL,
  41. `ActorX` float NOT NULL,
  42. `ActorA` float NOT NULL,
  43. `ActorY` float NOT NULL,
  44. `ActorZ` float NOT NULL,
  45. `Skin` int(11) NOT NULL,
  46. `AActive` int(11) NOT NULL,
  47. `Text` text NOT NULL,
  48. PRIMARY KEY (`ID`) USING BTREE,
  49. UNIQUE KEY `ID_UNIQUE` (`ID`)
  50. ) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
  51. /*!40101 SET character_set_client = @saved_cs_client */;
  52. --
  53. -- Table structure for table `admins`
  54. --
  55. DROP TABLE IF EXISTS `admins`;
  56. /*!40101 SET @saved_cs_client = @@character_set_client */;
  57. /*!40101 SET character_set_client = utf8 */;
  58. CREATE TABLE `admins` (
  59. `uid` int(11) NOT NULL,
  60. `username` varchar(255) NOT NULL,
  61. `aName` varchar(255) NOT NULL,
  62. `aLevel` int(11) NOT NULL,
  63. `totalReports` int(11) NOT NULL,
  64. `monthlyReports` int(11) NOT NULL,
  65. `weeklyReports` int(11) NOT NULL,
  66. `monthlyReset` int(11) NOT NULL,
  67. `weeklyReset` int(11) NOT NULL,
  68. `id` int(100) NOT NULL AUTO_INCREMENT,
  69. PRIMARY KEY (`id`),
  70. UNIQUE KEY `uid` (`uid`) USING BTREE,
  71. UNIQUE KEY `id_UNIQUE` (`id`)
  72. ) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
  73. /*!40101 SET character_set_client = @saved_cs_client */;
  74. --
  75. -- Table structure for table `arrestpoints`
  76. --
  77. DROP TABLE IF EXISTS `arrestpoints`;
  78. /*!40101 SET @saved_cs_client = @@character_set_client */;
  79. /*!40101 SET character_set_client = utf8 */;
  80. CREATE TABLE `arrestpoints` (
  81. `id` int(2) NOT NULL AUTO_INCREMENT,
  82. `PosX` float(10,5) NOT NULL DEFAULT 0.00000,
  83. `PosY` float(10,5) NOT NULL DEFAULT 0.00000,
  84. `PosZ` float(10,5) NOT NULL DEFAULT 0.00000,
  85. `VW` int(5) NOT NULL DEFAULT 0,
  86. `Int` int(5) NOT NULL DEFAULT 0,
  87. `Type` int(1) NOT NULL DEFAULT 0,
  88. `jailVW` int(5) NOT NULL DEFAULT 0,
  89. `jailInt` int(5) NOT NULL DEFAULT 0,
  90. `jailpos1x` float(10,5) NOT NULL DEFAULT 0.00000,
  91. `jailpos1y` float(10,5) NOT NULL DEFAULT 0.00000,
  92. `jailpos1z` float(10,5) NOT NULL DEFAULT 0.00000,
  93. `jailpos2x` float(10,5) NOT NULL DEFAULT 0.00000,
  94. `jailpos2y` float(10,5) NOT NULL DEFAULT 0.00000,
  95. `jailpos2z` float(10,5) NOT NULL DEFAULT 0.00000,
  96. `approved` bit(1) NOT NULL DEFAULT b'0',
  97. PRIMARY KEY (`id`),
  98. UNIQUE KEY `id_UNIQUE` (`id`)
  99. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
  100. /*!40101 SET character_set_client = @saved_cs_client */;
  101. --
  102. -- Table structure for table `atms`
  103. --
  104. DROP TABLE IF EXISTS `atms`;
  105. /*!40101 SET @saved_cs_client = @@character_set_client */;
  106. /*!40101 SET character_set_client = utf8 */;
  107. CREATE TABLE `atms` (
  108. `id` int(4) NOT NULL AUTO_INCREMENT,
  109. `pos_x` float DEFAULT NULL,
  110. `pos_y` float DEFAULT NULL,
  111. `pos_z` float DEFAULT NULL,
  112. `pos_r` float DEFAULT NULL,
  113. `approved` bit(1) NOT NULL DEFAULT b'0',
  114. PRIMARY KEY (`id`) USING BTREE,
  115. UNIQUE KEY `id_UNIQUE` (`id`)
  116. ) ENGINE=InnoDB AUTO_INCREMENT=18 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
  117. /*!40101 SET character_set_client = @saved_cs_client */;
  118. --
  119. -- Table structure for table `auctions`
  120. --
  121. DROP TABLE IF EXISTS `auctions`;
  122. /*!40101 SET @saved_cs_client = @@character_set_client */;
  123. /*!40101 SET character_set_client = utf8 */;
  124. CREATE TABLE `auctions` (
  125. `id` int(11) NOT NULL AUTO_INCREMENT,
  126. `BiddingFor` varchar(64) NOT NULL DEFAULT '(none)',
  127. `InProgress` int(11) NOT NULL DEFAULT 0,
  128. `Bid` int(11) NOT NULL DEFAULT 0,
  129. `Bidder` int(11) NOT NULL DEFAULT 0,
  130. `Expires` int(11) NOT NULL DEFAULT 0,
  131. `Wining` varchar(24) NOT NULL DEFAULT '(none)',
  132. `Increment` int(11) NOT NULL DEFAULT 0,
  133. PRIMARY KEY (`id`),
  134. UNIQUE KEY `id_UNIQUE` (`id`)
  135. ) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
  136. /*!40101 SET character_set_client = @saved_cs_client */;
  137. --
  138. -- Table structure for table `backpack`
  139. --
  140. DROP TABLE IF EXISTS `backpack`;
  141. /*!40101 SET @saved_cs_client = @@character_set_client */;
  142. /*!40101 SET character_set_client = utf8 */;
  143. CREATE TABLE `backpack` (
  144. `pid` int(11) NOT NULL,
  145. `type` int(2) NOT NULL,
  146. `store1` int(2) DEFAULT NULL,
  147. `store2` int(2) DEFAULT NULL,
  148. `food` int(11) NOT NULL DEFAULT 0,
  149. `food2` int(11) NOT NULL DEFAULT 0,
  150. `mats` int(11) NOT NULL DEFAULT 0,
  151. `pot` int(5) DEFAULT 0,
  152. `crack` int(5) DEFAULT 0,
  153. `heroine` int(5) DEFAULT 0,
  154. `weap1` varchar(50) DEFAULT NULL,
  155. `weap2` varchar(50) DEFAULT NULL,
  156. `weap3` varchar(50) DEFAULT NULL,
  157. `weap4` varchar(50) DEFAULT NULL,
  158. `weap5` varchar(50) DEFAULT NULL,
  159. `id` int(100) unsigned NOT NULL AUTO_INCREMENT,
  160. PRIMARY KEY (`id`)
  161. ) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
  162. /*!40101 SET character_set_client = @saved_cs_client */;
  163. --
  164. -- Table structure for table `bans`
  165. --
  166. DROP TABLE IF EXISTS `bans`;
  167. /*!40101 SET @saved_cs_client = @@character_set_client */;
  168. /*!40101 SET character_set_client = utf8 */;
  169. CREATE TABLE `bans` (
  170. `id` int(10) NOT NULL AUTO_INCREMENT,
  171. `username` varchar(24) DEFAULT NULL,
  172. `ip` varchar(16) DEFAULT NULL,
  173. `bannedby` varchar(24) DEFAULT NULL,
  174. `date` datetime DEFAULT NULL,
  175. `reason` varchar(128) DEFAULT NULL,
  176. `permanent` tinyint(1) DEFAULT 0,
  177. `approved` bit(1) NOT NULL DEFAULT b'0',
  178. PRIMARY KEY (`id`) USING BTREE,
  179. UNIQUE KEY `id_UNIQUE` (`id`)
  180. ) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
  181. /*!40101 SET character_set_client = @saved_cs_client */;
  182. --
  183. -- Table structure for table `businesses`
  184. --
  185. DROP TABLE IF EXISTS `businesses`;
  186. /*!40101 SET @saved_cs_client = @@character_set_client */;
  187. /*!40101 SET character_set_client = utf8 */;
  188. CREATE TABLE `businesses` (
  189. `id` int(10) NOT NULL AUTO_INCREMENT,
  190. `ownerid` int(10) DEFAULT 0,
  191. `owner` varchar(24) DEFAULT 'Nobody',
  192. `type` tinyint(2) DEFAULT 0,
  193. `price` int(10) DEFAULT 0,
  194. `entryfee` int(10) DEFAULT 0,
  195. `locked` tinyint(1) DEFAULT 0,
  196. `timestamp` int(10) DEFAULT 0,
  197. `pos_x` float DEFAULT 0,
  198. `pos_y` float DEFAULT 0,
  199. `pos_z` float DEFAULT 0,
  200. `pos_a` float DEFAULT 0,
  201. `int_x` float DEFAULT 0,
  202. `int_y` float DEFAULT 0,
  203. `int_z` float DEFAULT 0,
  204. `int_a` float DEFAULT 0,
  205. `interior` tinyint(2) DEFAULT 0,
  206. `world` int(10) DEFAULT 0,
  207. `outsideint` tinyint(2) DEFAULT 0,
  208. `outsidevw` int(10) DEFAULT 0,
  209. `cash` int(10) DEFAULT 0,
  210. `products` int(10) DEFAULT 500,
  211. `materials` int(10) DEFAULT 0,
  212. `color` int(10) DEFAULT -256,
  213. `description` varchar(128) DEFAULT 'None',
  214. `approved` bit(1) NOT NULL DEFAULT b'0',
  215. PRIMARY KEY (`id`),
  216. UNIQUE KEY `id_UNIQUE` (`id`)
  217. ) ENGINE=InnoDB AUTO_INCREMENT=77 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
  218. /*!40101 SET character_set_client = @saved_cs_client */;
  219. --
  220. -- Table structure for table `changes`
  221. --
  222. DROP TABLE IF EXISTS `changes`;
  223. /*!40101 SET @saved_cs_client = @@character_set_client */;
  224. /*!40101 SET character_set_client = utf8 */;
  225. CREATE TABLE `changes` (
  226. `slot` tinyint(2) DEFAULT NULL,
  227. `text` varchar(64) DEFAULT NULL,
  228. `id` int(100) unsigned NOT NULL AUTO_INCREMENT,
  229. PRIMARY KEY (`id`),
  230. UNIQUE KEY `slot` (`slot`) USING BTREE
  231. ) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
  232. /*!40101 SET character_set_client = @saved_cs_client */;
  233. --
  234. -- Table structure for table `charges`
  235. --
  236. DROP TABLE IF EXISTS `charges`;
  237. /*!40101 SET @saved_cs_client = @@character_set_client */;
  238. /*!40101 SET character_set_client = utf8 */;
  239. CREATE TABLE `charges` (
  240. `id` int(10) NOT NULL AUTO_INCREMENT,
  241. `uid` int(10) DEFAULT NULL,
  242. `chargedby` varchar(24) DEFAULT NULL,
  243. `date` datetime DEFAULT NULL,
  244. `reason` varchar(128) DEFAULT NULL,
  245. PRIMARY KEY (`id`) USING BTREE,
  246. UNIQUE KEY `id_UNIQUE` (`id`)
  247. ) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
  248. /*!40101 SET character_set_client = @saved_cs_client */;
  249. --
  250. -- Table structure for table `clothing`
  251. --
  252. DROP TABLE IF EXISTS `clothing`;
  253. /*!40101 SET @saved_cs_client = @@character_set_client */;
  254. /*!40101 SET character_set_client = utf8 */;
  255. CREATE TABLE `clothing` (
  256. `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  257. `uid` int(10) DEFAULT NULL,
  258. `name` varchar(32) DEFAULT NULL,
  259. `modelid` smallint(5) DEFAULT NULL,
  260. `boneid` tinyint(2) DEFAULT NULL,
  261. `attached` tinyint(1) DEFAULT NULL,
  262. `pos_x` float DEFAULT NULL,
  263. `pos_y` float DEFAULT NULL,
  264. `pos_z` float DEFAULT NULL,
  265. `rot_x` float DEFAULT NULL,
  266. `rot_y` float DEFAULT NULL,
  267. `rot_z` float DEFAULT NULL,
  268. `scale_x` float DEFAULT NULL,
  269. `scale_y` float DEFAULT NULL,
  270. `scale_z` float DEFAULT NULL,
  271. PRIMARY KEY (`id`) USING BTREE
  272. ) ENGINE=InnoDB AUTO_INCREMENT=92 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
  273. /*!40101 SET character_set_client = @saved_cs_client */;
  274. --
  275. -- Table structure for table `crates`
  276. --
  277. DROP TABLE IF EXISTS `crates`;
  278. /*!40101 SET @saved_cs_client = @@character_set_client */;
  279. /*!40101 SET character_set_client = utf8 */;
  280. CREATE TABLE `crates` (
  281. `id` int(11) NOT NULL AUTO_INCREMENT,
  282. `Active` int(11) NOT NULL DEFAULT 0,
  283. `CrateX` float NOT NULL DEFAULT 0,
  284. `CrateY` float NOT NULL DEFAULT 0,
  285. `CrateZ` float NOT NULL DEFAULT 0,
  286. `GunQuantity` int(11) NOT NULL DEFAULT 50,
  287. `InVehicle` int(11) NOT NULL DEFAULT 0,
  288. `Int` int(11) NOT NULL DEFAULT 0,
  289. `VW` int(11) NOT NULL DEFAULT 0,
  290. `PlacedBy` varchar(24) NOT NULL DEFAULT 'Unknown',
  291. `approved` bit(1) NOT NULL DEFAULT b'0',
  292. PRIMARY KEY (`id`),
  293. UNIQUE KEY `id_UNIQUE` (`id`)
  294. ) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
  295. /*!40101 SET character_set_client = @saved_cs_client */;
  296. --
  297. -- Table structure for table `crews`
  298. --
  299. DROP TABLE IF EXISTS `crews`;
  300. /*!40101 SET @saved_cs_client = @@character_set_client */;
  301. /*!40101 SET character_set_client = utf8 */;
  302. CREATE TABLE `crews` (
  303. `id` tinyint(2) NOT NULL AUTO_INCREMENT,
  304. `crewid` tinyint(2) DEFAULT NULL,
  305. `name` varchar(32) DEFAULT NULL,
  306. PRIMARY KEY (`id`),
  307. UNIQUE KEY `id_UNIQUE` (`id`),
  308. UNIQUE KEY `id` (`id`,`crewid`) USING BTREE
  309. ) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
  310. /*!40101 SET character_set_client = @saved_cs_client */;
  311. --
  312. -- Table structure for table `dealerships`
  313. --
  314. DROP TABLE IF EXISTS `dealerships`;
  315. /*!40101 SET @saved_cs_client = @@character_set_client */;
  316. /*!40101 SET character_set_client = utf8 */;
  317. CREATE TABLE `dealerships` (
  318. `id` int(10) NOT NULL AUTO_INCREMENT,
  319. `name` varchar(40) NOT NULL,
  320. `type` int(10) NOT NULL,
  321. `range` varchar(10) NOT NULL,
  322. `posx` varchar(10) NOT NULL,
  323. `posy` varchar(10) NOT NULL,
  324. `posz` varchar(10) NOT NULL,
  325. `spawnposx` varchar(10) NOT NULL,
  326. `spawnposy` varchar(10) NOT NULL,
  327. `spawnposz` varchar(10) NOT NULL,
  328. `spawnposfa` varchar(10) NOT NULL,
  329. PRIMARY KEY (`id`),
  330. UNIQUE KEY `id_UNIQUE` (`id`)
  331. ) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
  332. /*!40101 SET character_set_client = @saved_cs_client */;
  333. --
  334. -- Table structure for table `dealervehs`
  335. --
  336. DROP TABLE IF EXISTS `dealervehs`;
  337. /*!40101 SET @saved_cs_client = @@character_set_client */;
  338. /*!40101 SET character_set_client = utf8 */;
  339. CREATE TABLE `dealervehs` (
  340. `id` int(10) NOT NULL AUTO_INCREMENT,
  341. `model` int(5) NOT NULL,
  342. `price` int(10) NOT NULL,
  343. `posx` varchar(10) NOT NULL,
  344. `posy` varchar(10) NOT NULL,
  345. `posz` varchar(10) NOT NULL,
  346. `facingangle` varchar(10) NOT NULL,
  347. `approved` bit(1) NOT NULL DEFAULT b'0',
  348. PRIMARY KEY (`id`),
  349. UNIQUE KEY `id_UNIQUE` (`id`)
  350. ) ENGINE=InnoDB AUTO_INCREMENT=164 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
  351. /*!40101 SET character_set_client = @saved_cs_client */;
  352. --
  353. -- Table structure for table `divisions`
  354. --
  355. DROP TABLE IF EXISTS `divisions`;
  356. /*!40101 SET @saved_cs_client = @@character_set_client */;
  357. /*!40101 SET character_set_client = utf8 */;
  358. CREATE TABLE `divisions` (
  359. `id` tinyint(2) DEFAULT NULL,
  360. `divisionid` tinyint(2) DEFAULT NULL,
  361. `name` varchar(32) DEFAULT NULL,
  362. `pk` int(10) NOT NULL AUTO_INCREMENT,
  363. PRIMARY KEY (`pk`),
  364. UNIQUE KEY `pk_UNIQUE` (`pk`),
  365. UNIQUE KEY `id` (`id`,`divisionid`) USING BTREE
  366. ) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
  367. /*!40101 SET character_set_client = @saved_cs_client */;
  368. --
  369. -- Table structure for table `entrances`
  370. --
  371. DROP TABLE IF EXISTS `entrances`;
  372. /*!40101 SET @saved_cs_client = @@character_set_client */;
  373. /*!40101 SET character_set_client = utf8 */;
  374. CREATE TABLE `entrances` (
  375. `id` int(10) NOT NULL AUTO_INCREMENT,
  376. `ownerid` int(10) DEFAULT 0,
  377. `owner` varchar(24) DEFAULT NULL,
  378. `name` varchar(40) DEFAULT NULL,
  379. `iconid` smallint(5) DEFAULT 1239,
  380. `locked` tinyint(1) DEFAULT 0,
  381. `radius` float DEFAULT 3,
  382. `pos_x` float DEFAULT 0,
  383. `pos_y` float DEFAULT 0,
  384. `pos_z` float DEFAULT 0,
  385. `pos_a` float DEFAULT 0,
  386. `int_x` float DEFAULT 0,
  387. `int_y` float DEFAULT 0,
  388. `int_z` float DEFAULT 0,
  389. `int_a` float DEFAULT 0,
  390. `interior` tinyint(2) DEFAULT 0,
  391. `world` int(10) DEFAULT 0,
  392. `outsideint` tinyint(2) DEFAULT 0,
  393. `outsidevw` int(10) DEFAULT 0,
  394. `adminlevel` tinyint(2) DEFAULT 0,
  395. `factiontype` tinyint(2) DEFAULT 0,
  396. `vip` tinyint(2) DEFAULT 0,
  397. `vehicles` tinyint(1) DEFAULT 0,
  398. `freeze` tinyint(1) DEFAULT 0,
  399. `password` varchar(64) DEFAULT 'None',
  400. `label` tinyint(1) DEFAULT 1,
  401. `mapicon` tinyint(3) NOT NULL DEFAULT 0,
  402. `gang` tinyint(2) DEFAULT -1,
  403. `type` tinyint(2) DEFAULT 0,
  404. `color` int(10) DEFAULT -256,
  405. `approved` bit(1) NOT NULL,
  406. PRIMARY KEY (`id`) USING BTREE,
  407. UNIQUE KEY `id_UNIQUE` (`id`)
  408. ) ENGINE=InnoDB AUTO_INCREMENT=32 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
  409. /*!40101 SET character_set_client = @saved_cs_client */;
  410. --
  411. -- Table structure for table `factionlockers`
  412. --
  413. DROP TABLE IF EXISTS `factionlockers`;
  414. /*!40101 SET @saved_cs_client = @@character_set_client */;
  415. /*!40101 SET character_set_client = utf8 */;
  416. CREATE TABLE `factionlockers` (
  417. `id` int(10) NOT NULL AUTO_INCREMENT,
  418. `factionid` tinyint(2) DEFAULT NULL,
  419. `pos_x` float DEFAULT 0,
  420. `pos_y` float DEFAULT 0,
  421. `pos_z` float DEFAULT 0,
  422. `interior` tinyint(2) DEFAULT 0,
  423. `world` int(10) DEFAULT 0,
  424. `iconid` smallint(5) DEFAULT 1239,
  425. `label` tinyint(1) DEFAULT 1,
  426. `weapon_kevlar` tinyint(1) DEFAULT 1,
  427. `weapon_medkit` tinyint(1) DEFAULT 1,
  428. `weapon_nitestick` varchar(1) DEFAULT '0',
  429. `weapon_mace` tinyint(1) DEFAULT 0,
  430. `weapon_deagle` tinyint(1) DEFAULT 1,
  431. `weapon_shotgun` tinyint(1) DEFAULT 1,
  432. `weapon_mp5` tinyint(1) DEFAULT 1,
  433. `weapon_m4` tinyint(1) DEFAULT 1,
  434. `weapon_spas12` tinyint(1) DEFAULT 1,
  435. `weapon_sniper` tinyint(1) DEFAULT 1,
  436. `weapon_camera` tinyint(1) DEFAULT 0,
  437. `weapon_fire_extinguisher` tinyint(1) DEFAULT 0,
  438. `weapon_painkillers` tinyint(1) DEFAULT 0,
  439. `price_kevlar` smallint(5) DEFAULT 100,
  440. `price_medkit` smallint(5) DEFAULT 50,
  441. `price_nitestick` smallint(5) DEFAULT 0,
  442. `price_mace` smallint(5) DEFAULT 0,
  443. `price_deagle` smallint(5) DEFAULT 850,
  444. `price_shotgun` smallint(5) DEFAULT 1000,
  445. `price_mp5` smallint(5) DEFAULT 1500,
  446. `price_m4` smallint(5) DEFAULT 2500,
  447. `price_spas12` smallint(5) DEFAULT 3500,
  448. `price_sniper` smallint(5) DEFAULT 5000,
  449. `price_camera` smallint(5) DEFAULT 0,
  450. `price_fire_extinguisher` smallint(5) DEFAULT 0,
  451. `price_painkillers` smallint(5) DEFAULT 0,
  452. `approved` bit(1) NOT NULL DEFAULT b'0',
  453. PRIMARY KEY (`id`) USING BTREE,
  454. UNIQUE KEY `id_UNIQUE` (`id`)
  455. ) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
  456. /*!40101 SET character_set_client = @saved_cs_client */;
  457. --
  458. -- Table structure for table `factionpay`
  459. --
  460. DROP TABLE IF EXISTS `factionpay`;
  461. /*!40101 SET @saved_cs_client = @@character_set_client */;
  462. /*!40101 SET character_set_client = utf8 */;
  463. CREATE TABLE `factionpay` (
  464. `id` tinyint(2) DEFAULT NULL,
  465. `rank` tinyint(2) DEFAULT NULL,
  466. `amount` int(10) DEFAULT NULL,
  467. `pk` int(10) NOT NULL AUTO_INCREMENT,
  468. PRIMARY KEY (`pk`),
  469. UNIQUE KEY `pk_UNIQUE` (`pk`),
  470. UNIQUE KEY `id` (`id`,`rank`) USING BTREE
  471. ) ENGINE=InnoDB AUTO_INCREMENT=55 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
  472. /*!40101 SET character_set_client = @saved_cs_client */;
  473. --
  474. -- Table structure for table `factionranks`
  475. --
  476. DROP TABLE IF EXISTS `factionranks`;
  477. /*!40101 SET @saved_cs_client = @@character_set_client */;
  478. /*!40101 SET character_set_client = utf8 */;
  479. CREATE TABLE `factionranks` (
  480. `id` tinyint(2) DEFAULT NULL,
  481. `rank` tinyint(2) DEFAULT NULL,
  482. `name` varchar(32) DEFAULT NULL,
  483. `pk` int(10) NOT NULL AUTO_INCREMENT,
  484. PRIMARY KEY (`pk`),
  485. UNIQUE KEY `pk_UNIQUE` (`pk`),
  486. UNIQUE KEY `id` (`id`,`rank`) USING BTREE
  487. ) ENGINE=InnoDB AUTO_INCREMENT=57 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
  488. /*!40101 SET character_set_client = @saved_cs_client */;
  489. --
  490. -- Table structure for table `factions`
  491. --
  492. DROP TABLE IF EXISTS `factions`;
  493. /*!40101 SET @saved_cs_client = @@character_set_client */;
  494. /*!40101 SET character_set_client = utf8 */;
  495. CREATE TABLE `factions` (
  496. `id` tinyint(2) NOT NULL AUTO_INCREMENT,
  497. `name` varchar(48) DEFAULT NULL,
  498. `leader` varchar(24) DEFAULT 'No-one',
  499. `type` tinyint(2) DEFAULT 0,
  500. `color` int(10) DEFAULT -1,
  501. `rankcount` tinyint(2) DEFAULT 6,
  502. `lockerx` float DEFAULT 0,
  503. `lockery` float DEFAULT 0,
  504. `lockerz` float DEFAULT 0,
  505. `lockerinterior` tinyint(2) DEFAULT 0,
  506. `lockerworld` int(10) DEFAULT 0,
  507. `turftokens` int(10) DEFAULT NULL,
  508. `shortname` varchar(64) DEFAULT NULL,
  509. `motd` varchar(128) DEFAULT NULL,
  510. `budget` int(8) DEFAULT 0,
  511. `approved` bit(1) NOT NULL DEFAULT b'0',
  512. PRIMARY KEY (`id`),
  513. UNIQUE KEY `id` (`id`) USING BTREE
  514. ) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
  515. /*!40101 SET character_set_client = @saved_cs_client */;
  516. --
  517. -- Table structure for table `factionskins`
  518. --
  519. DROP TABLE IF EXISTS `factionskins`;
  520. /*!40101 SET @saved_cs_client = @@character_set_client */;
  521. /*!40101 SET character_set_client = utf8 */;
  522. CREATE TABLE `factionskins` (
  523. `id` tinyint(2) DEFAULT NULL,
  524. `slot` tinyint(2) DEFAULT NULL,
  525. `skinid` smallint(3) DEFAULT NULL,
  526. UNIQUE KEY `id` (`id`,`slot`) USING BTREE
  527. ) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
  528. /*!40101 SET character_set_client = @saved_cs_client */;
  529. --
  530. -- Table structure for table `flags`
  531. --
  532. DROP TABLE IF EXISTS `flags`;
  533. /*!40101 SET @saved_cs_client = @@character_set_client */;
  534. /*!40101 SET character_set_client = utf8 */;
  535. CREATE TABLE `flags` (
  536. `id` int(10) NOT NULL AUTO_INCREMENT,
  537. `uid` int(10) DEFAULT NULL,
  538. `flaggedby` varchar(24) DEFAULT NULL,
  539. `date` datetime DEFAULT NULL,
  540. `description` varchar(128) DEFAULT NULL,
  541. `approved` bit(1) NOT NULL DEFAULT b'0',
  542. PRIMARY KEY (`id`) USING BTREE,
  543. UNIQUE KEY `id_UNIQUE` (`id`)
  544. ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
  545. /*!40101 SET character_set_client = @saved_cs_client */;
  546. --
  547. -- Table structure for table `furniture`
  548. --
  549. DROP TABLE IF EXISTS `furniture`;
  550. /*!40101 SET @saved_cs_client = @@character_set_client */;
  551. /*!40101 SET character_set_client = utf8 */;
  552. CREATE TABLE `furniture` (
  553. `id` int(10) NOT NULL AUTO_INCREMENT,
  554. `houseid` int(10) DEFAULT NULL,
  555. `modelid` smallint(5) DEFAULT NULL,
  556. `name` varchar(32) DEFAULT NULL,
  557. `price` int(10) DEFAULT NULL,
  558. `pos_x` float DEFAULT NULL,
  559. `pos_y` float DEFAULT NULL,
  560. `pos_z` float DEFAULT NULL,
  561. `rot_x` float DEFAULT NULL,
  562. `rot_y` float DEFAULT NULL,
  563. `rot_z` float DEFAULT NULL,
  564. `interior` tinyint(2) DEFAULT NULL,
  565. `world` int(10) DEFAULT NULL,
  566. `door_opened` tinyint(1) DEFAULT 0,
  567. `door_locked` tinyint(1) DEFAULT 0,
  568. PRIMARY KEY (`id`) USING BTREE,
  569. UNIQUE KEY `id_UNIQUE` (`id`)
  570. ) ENGINE=InnoDB AUTO_INCREMENT=327 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
  571. /*!40101 SET character_set_client = @saved_cs_client */;
  572. --
  573. -- Table structure for table `gangranks`
  574. --
  575. DROP TABLE IF EXISTS `gangranks`;
  576. /*!40101 SET @saved_cs_client = @@character_set_client */;
  577. /*!40101 SET character_set_client = utf8 */;
  578. CREATE TABLE `gangranks` (
  579. `id` tinyint(2) DEFAULT NULL,
  580. `rank` tinyint(2) DEFAULT NULL,
  581. `name` varchar(32) DEFAULT NULL,
  582. `pk` int(10) NOT NULL AUTO_INCREMENT,
  583. PRIMARY KEY (`pk`),
  584. UNIQUE KEY `pk_UNIQUE` (`pk`),
  585. UNIQUE KEY `id` (`id`,`rank`) USING BTREE
  586. ) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
  587. /*!40101 SET character_set_client = @saved_cs_client */;
  588. --
  589. -- Table structure for table `gangs`
  590. --
  591. DROP TABLE IF EXISTS `gangs`;
  592. /*!40101 SET @saved_cs_client = @@character_set_client */;
  593. /*!40101 SET character_set_client = utf8 */;
  594. CREATE TABLE `gangs` (
  595. `id` tinyint(2) NOT NULL AUTO_INCREMENT,
  596. `name` varchar(32) DEFAULT 'None',
  597. `motd` varchar(128) DEFAULT 'None',
  598. `leader` varchar(24) DEFAULT 'No-one',
  599. `color` int(10) DEFAULT -256,
  600. `strikes` tinyint(1) DEFAULT 0,
  601. `level` tinyint(2) DEFAULT 1,
  602. `points` int(10) DEFAULT 0,
  603. `turftokens` int(10) DEFAULT 0,
  604. `stash_x` float DEFAULT 0,
  605. `stash_y` float DEFAULT 0,
  606. `stash_z` float DEFAULT 0,
  607. `stashinterior` tinyint(2) DEFAULT 0,
  608. `stashworld` int(10) DEFAULT 0,
  609. `cash` int(10) DEFAULT 0,
  610. `materials` int(10) DEFAULT 0,
  611. `weed` int(10) DEFAULT 0,
  612. `cocaine` int(10) DEFAULT 0,
  613. `meth` int(10) DEFAULT 0,
  614. `painkillers` int(10) DEFAULT 0,
  615. `pistolammo` int(10) DEFAULT 0,
  616. `shotgunammo` int(10) DEFAULT 0,
  617. `smgammo` int(10) DEFAULT 0,
  618. `arammo` int(10) DEFAULT 0,
  619. `rifleammo` int(10) DEFAULT 0,
  620. `hpammo` int(10) DEFAULT 0,
  621. `poisonammo` int(10) DEFAULT 0,
  622. `fmjammo` int(10) DEFAULT 0,
  623. `weapon_9mm` int(10) DEFAULT 0,
  624. `weapon_sdpistol` int(10) DEFAULT 0,
  625. `weapon_deagle` int(10) DEFAULT 0,
  626. `weapon_shotgun` int(10) DEFAULT 0,
  627. `weapon_spas12` int(10) DEFAULT 0,
  628. `weapon_sawnoff` int(10) DEFAULT 0,
  629. `weapon_tec9` int(10) DEFAULT 0,
  630. `weapon_uzi` int(10) DEFAULT 0,
  631. `weapon_mp5` int(10) DEFAULT 0,
  632. `weapon_ak47` int(10) DEFAULT 0,
  633. `weapon_m4` int(10) DEFAULT 0,
  634. `weapon_rifle` int(10) DEFAULT 0,
  635. `weapon_sniper` int(10) DEFAULT 0,
  636. `weapon_molotov` int(10) DEFAULT 0,
  637. `armsdealer` tinyint(1) DEFAULT 0,
  638. `drugdealer` tinyint(1) DEFAULT 0,
  639. `arms_x` float DEFAULT 0,
  640. `arms_y` float DEFAULT 0,
  641. `arms_z` float DEFAULT 0,
  642. `arms_a` float DEFAULT 0,
  643. `drug_x` float DEFAULT 0,
  644. `drug_y` float DEFAULT 0,
  645. `drug_z` float DEFAULT 0,
  646. `drug_a` float DEFAULT 0,
  647. `armsworld` int(10) DEFAULT 0,
  648. `drugworld` int(10) DEFAULT 0,
  649. `drugweed` int(10) DEFAULT 0,
  650. `drugcocaine` int(10) DEFAULT 0,
  651. `drugmeth` int(10) DEFAULT 0,
  652. `armsmaterials` int(10) DEFAULT 0,
  653. `armsprice_1` int(10) DEFAULT 0,
  654. `armsprice_2` int(10) DEFAULT 0,
  655. `armsprice_3` int(10) DEFAULT 0,
  656. `armsprice_4` int(10) DEFAULT 0,
  657. `armsprice_5` int(10) DEFAULT 0,
  658. `armsprice_6` int(10) DEFAULT 0,
  659. `armsprice_7` int(10) DEFAULT 0,
  660. `armsprice_8` int(10) DEFAULT 0,
  661. `armsprice_9` int(10) NOT NULL DEFAULT 0,
  662. `armsprice_10` int(10) NOT NULL DEFAULT 0,
  663. `armsprice_11` int(10) NOT NULL DEFAULT 0,
  664. `armsprice_12` tinyint(2) NOT NULL DEFAULT 0,
  665. `weed_price` int(10) DEFAULT 0,
  666. `cocaine_price` int(10) DEFAULT 0,
  667. `meth_price` int(10) DEFAULT 0,
  668. `matlevel` tinyint(3) NOT NULL DEFAULT 0,
  669. `gunlevel` tinyint(3) NOT NULL DEFAULT 0,
  670. `alliance` tinyint(4) NOT NULL DEFAULT -1,
  671. `rivals` tinyint(4) DEFAULT -1,
  672. `war1` tinyint(2) NOT NULL DEFAULT 0,
  673. `war2` tinyint(2) NOT NULL DEFAULT 0,
  674. `war3` tinyint(2) NOT NULL DEFAULT 0,
  675. `rank_9mm` tinyint(2) NOT NULL DEFAULT 1,
  676. `rank_sdpistol` tinyint(2) NOT NULL DEFAULT 1,
  677. `rank_deagle` tinyint(2) NOT NULL DEFAULT 2,
  678. `rank_shotgun` tinyint(2) NOT NULL DEFAULT 1,
  679. `rank_spas12` tinyint(2) NOT NULL DEFAULT 4,
  680. `rank_sawnoff` tinyint(2) NOT NULL DEFAULT 4,
  681. `rank_tec9` tinyint(2) NOT NULL DEFAULT 1,
  682. `rank_uzi` tinyint(2) NOT NULL DEFAULT 1,
  683. `rank_mp5` tinyint(2) NOT NULL DEFAULT 2,
  684. `rank_ak47` tinyint(2) NOT NULL DEFAULT 3,
  685. `rank_m4` tinyint(2) NOT NULL DEFAULT 4,
  686. `rank_rifle` tinyint(2) NOT NULL DEFAULT 2,
  687. `rank_sniper` tinyint(2) NOT NULL DEFAULT 5,
  688. `rank_molotov` tinyint(2) NOT NULL DEFAULT 5,
  689. `rank_vest` tinyint(2) NOT NULL DEFAULT 0,
  690. `approved` bit(1) NOT NULL DEFAULT b'0',
  691. PRIMARY KEY (`id`),
  692. UNIQUE KEY `id_UNIQUE` (`id`)
  693. ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
  694. /*!40101 SET character_set_client = @saved_cs_client */;
  695. --
  696. -- Table structure for table `gangskins`
  697. --
  698. DROP TABLE IF EXISTS `gangskins`;
  699. /*!40101 SET @saved_cs_client = @@character_set_client */;
  700. /*!40101 SET character_set_client = utf8 */;
  701. CREATE TABLE `gangskins` (
  702. `id` tinyint(2) DEFAULT NULL,
  703. `slot` tinyint(2) DEFAULT NULL,
  704. `skinid` smallint(3) DEFAULT NULL,
  705. `pk` int(100) NOT NULL AUTO_INCREMENT,
  706. PRIMARY KEY (`pk`),
  707. UNIQUE KEY `pk_UNIQUE` (`pk`),
  708. UNIQUE KEY `id` (`id`,`slot`) USING BTREE
  709. ) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
  710. /*!40101 SET character_set_client = @saved_cs_client */;
  711. --
  712. -- Table structure for table `gangsold`
  713. --
  714. DROP TABLE IF EXISTS `gangsold`;
  715. /*!40101 SET @saved_cs_client = @@character_set_client */;
  716. /*!40101 SET character_set_client = utf8 */;
  717. CREATE TABLE `gangsold` (
  718. `id` tinyint(2) NOT NULL AUTO_INCREMENT,
  719. `name` varchar(32) DEFAULT 'None',
  720. `motd` varchar(128) DEFAULT 'None',
  721. `leader` varchar(24) DEFAULT 'No-one',
  722. `color` int(10) DEFAULT -256,
  723. `strikes` tinyint(1) DEFAULT 0,
  724. `level` tinyint(2) DEFAULT 1,
  725. `points` int(10) DEFAULT 0,
  726. `turftokens` int(10) DEFAULT 0,
  727. `stash_x` float DEFAULT 0,
  728. `stash_y` float DEFAULT 0,
  729. `stash_z` float DEFAULT 0,
  730. `stashinterior` tinyint(2) DEFAULT 0,
  731. `stashworld` int(10) DEFAULT 0,
  732. `cash` int(10) DEFAULT 0,
  733. `materials` int(10) DEFAULT 0,
  734. `weed` int(10) DEFAULT 0,
  735. `cocaine` int(10) DEFAULT 0,
  736. `meth` int(10) DEFAULT 0,
  737. `painkillers` int(10) DEFAULT 0,
  738. `pistolammo` int(10) DEFAULT 0,
  739. `shotgunammo` int(10) DEFAULT 0,
  740. `smgammo` int(10) DEFAULT 0,
  741. `arammo` int(10) DEFAULT 0,
  742. `rifleammo` int(10) DEFAULT 0,
  743. `hpammo` int(10) DEFAULT 0,
  744. `poisonammo` int(10) DEFAULT 0,
  745. `fmjammo` int(10) DEFAULT 0,
  746. `weapon_9mm` int(10) DEFAULT 0,
  747. `weapon_sdpistol` int(10) DEFAULT 0,
  748. `weapon_deagle` int(10) DEFAULT 0,
  749. `weapon_shotgun` int(10) DEFAULT 0,
  750. `weapon_spas12` int(10) DEFAULT 0,
  751. `weapon_sawnoff` int(10) DEFAULT 0,
  752. `weapon_tec9` int(10) DEFAULT 0,
  753. `weapon_uzi` int(10) DEFAULT 0,
  754. `weapon_mp5` int(10) DEFAULT 0,
  755. `weapon_ak47` int(10) DEFAULT 0,
  756. `weapon_m4` int(10) DEFAULT 0,
  757. `weapon_rifle` int(10) DEFAULT 0,
  758. `weapon_sniper` int(10) DEFAULT 0,
  759. `weapon_molotov` int(10) DEFAULT 0,
  760. `armsdealer` tinyint(1) DEFAULT 0,
  761. `drugdealer` tinyint(1) DEFAULT 0,
  762. `arms_x` float DEFAULT 0,
  763. `arms_y` float DEFAULT 0,
  764. `arms_z` float DEFAULT 0,
  765. `arms_a` float DEFAULT 0,
  766. `drug_x` float DEFAULT 0,
  767. `drug_y` float DEFAULT 0,
  768. `drug_z` float DEFAULT 0,
  769. `drug_a` float DEFAULT 0,
  770. `armsworld` int(10) DEFAULT 0,
  771. `drugworld` int(10) DEFAULT 0,
  772. `drugweed` int(10) DEFAULT 0,
  773. `drugcocaine` int(10) DEFAULT 0,
  774. `drugmeth` int(10) DEFAULT 0,
  775. `armsmaterials` int(10) DEFAULT 0,
  776. `armsprice_1` int(10) DEFAULT 0,
  777. `armsprice_2` int(10) DEFAULT 0,
  778. `armsprice_3` int(10) DEFAULT 0,
  779. `armsprice_4` int(10) DEFAULT 0,
  780. `armsprice_5` int(10) DEFAULT 0,
  781. `armsprice_6` int(10) DEFAULT 0,
  782. `armsprice_7` int(10) DEFAULT 0,
  783. `armsprice_8` int(10) DEFAULT 0,
  784. `armsprice_9` int(10) NOT NULL DEFAULT 0,
  785. `armsprice_10` int(10) NOT NULL DEFAULT 0,
  786. `armsprice_11` int(10) NOT NULL DEFAULT 0,
  787. `armsprice_12` tinyint(2) NOT NULL DEFAULT 0,
  788. `weed_price` int(10) DEFAULT 0,
  789. `cocaine_price` int(10) DEFAULT 0,
  790. `meth_price` int(10) DEFAULT 0,
  791. `matlevel` tinyint(3) NOT NULL DEFAULT 0,
  792. `gunlevel` tinyint(3) NOT NULL DEFAULT 0,
  793. `alliance` tinyint(4) NOT NULL DEFAULT -1,
  794. `war1` tinyint(2) NOT NULL DEFAULT 0,
  795. `war2` tinyint(2) NOT NULL DEFAULT 0,
  796. `war3` tinyint(2) NOT NULL DEFAULT 0,
  797. `rank_9mm` tinyint(2) NOT NULL DEFAULT 1,
  798. `rank_sdpistol` tinyint(2) NOT NULL DEFAULT 1,
  799. `rank_deagle` tinyint(2) NOT NULL DEFAULT 2,
  800. `rank_shotgun` tinyint(2) NOT NULL DEFAULT 1,
  801. `rank_spas12` tinyint(2) NOT NULL DEFAULT 4,
  802. `rank_sawnoff` tinyint(2) NOT NULL DEFAULT 4,
  803. `rank_tec9` tinyint(2) NOT NULL DEFAULT 1,
  804. `rank_uzi` tinyint(2) NOT NULL DEFAULT 1,
  805. `rank_mp5` tinyint(2) NOT NULL DEFAULT 2,
  806. `rank_ak47` tinyint(2) NOT NULL DEFAULT 3,
  807. `rank_m4` tinyint(2) NOT NULL DEFAULT 4,
  808. `rank_rifle` tinyint(2) NOT NULL DEFAULT 2,
  809. `rank_sniper` tinyint(2) NOT NULL DEFAULT 5,
  810. `rank_molotov` tinyint(2) NOT NULL DEFAULT 5,
  811. `rank_vest` tinyint(2) NOT NULL DEFAULT 0,
  812. PRIMARY KEY (`id`),
  813. UNIQUE KEY `id` (`id`) USING BTREE
  814. ) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
  815. /*!40101 SET character_set_client = @saved_cs_client */;
  816. --
  817. -- Table structure for table `gangtags`
  818. --
  819. DROP TABLE IF EXISTS `gangtags`;
  820. /*!40101 SET @saved_cs_client = @@character_set_client */;
  821. /*!40101 SET character_set_client = utf8 */;
  822. CREATE TABLE `gangtags` (
  823. `gangid` int(11) NOT NULL,
  824. `text` text NOT NULL,
  825. `fontid` int(11) NOT NULL,
  826. `pname` text NOT NULL,
  827. `color` int(11) NOT NULL,
  828. `x` float(11,4) NOT NULL DEFAULT 0.0000,
  829. `y` float(11,4) NOT NULL DEFAULT 0.0000,
  830. `z` float(11,4) NOT NULL DEFAULT 0.0000,
  831. `rx` float(11,4) NOT NULL DEFAULT 0.0000,
  832. `ry` float(11,4) NOT NULL DEFAULT 0.0000,
  833. `rz` float(11,4) NOT NULL DEFAULT 0.0000,
  834. `ID` int(11) NOT NULL AUTO_INCREMENT,
  835. `pdbid` int(11) NOT NULL,
  836. `approved` bit(1) NOT NULL DEFAULT b'0',
  837. PRIMARY KEY (`ID`),
  838. UNIQUE KEY `ID_UNIQUE` (`ID`)
  839. ) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
  840. /*!40101 SET character_set_client = @saved_cs_client */;
  841. --
  842. -- Table structure for table `garages`
  843. --
  844. DROP TABLE IF EXISTS `garages`;
  845. /*!40101 SET @saved_cs_client = @@character_set_client */;
  846. /*!40101 SET character_set_client = utf8 */;
  847. CREATE TABLE `garages` (
  848. `id` int(10) NOT NULL AUTO_INCREMENT,
  849. `ownerid` int(10) DEFAULT 0,
  850. `owner` varchar(24) DEFAULT NULL,
  851. `type` tinyint(1) DEFAULT 0,
  852. `price` int(10) DEFAULT 0,
  853. `locked` tinyint(1) DEFAULT 0,
  854. `freeze` tinyint(1) NOT NULL DEFAULT 0,
  855. `timestamp` int(10) DEFAULT 0,
  856. `pos_x` float DEFAULT 0,
  857. `pos_y` float DEFAULT 0,
  858. `pos_z` float DEFAULT 0,
  859. `pos_a` float DEFAULT 0,
  860. `exit_x` float DEFAULT 0,
  861. `exit_y` float DEFAULT 0,
  862. `exit_z` float DEFAULT 0,
  863. `exit_a` float DEFAULT 0,
  864. `world` int(10) DEFAULT 0,
  865. `approved` bit(1) NOT NULL DEFAULT b'0',
  866. PRIMARY KEY (`id`) USING BTREE,
  867. UNIQUE KEY `id_UNIQUE` (`id`)
  868. ) ENGINE=InnoDB AUTO_INCREMENT=95 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
  869. /*!40101 SET character_set_client = @saved_cs_client */;
  870. --
  871. -- Table structure for table `gates`
  872. --
  873. DROP TABLE IF EXISTS `gates`;
  874. /*!40101 SET @saved_cs_client = @@character_set_client */;
  875. /*!40101 SET character_set_client = utf8 */;
  876. CREATE TABLE `gates` (
  877. `ID` int(11) NOT NULL AUTO_INCREMENT,
  878. `HID` int(11) NOT NULL DEFAULT -1,
  879. `Speed` float NOT NULL DEFAULT 10,
  880. `Range` float NOT NULL DEFAULT 10,
  881. `Model` int(11) NOT NULL DEFAULT 18631,
  882. `VW` int(11) NOT NULL DEFAULT 0,
  883. `Int` int(11) NOT NULL DEFAULT 0,
  884. `Pass` varchar(24) NOT NULL DEFAULT '',
  885. `PosX` float NOT NULL DEFAULT 0,
  886. `PosY` float NOT NULL DEFAULT 0,
  887. `PosZ` float NOT NULL DEFAULT 0,
  888. `RotX` float NOT NULL DEFAULT 0,
  889. `RotY` float NOT NULL DEFAULT 0,
  890. `RotZ` float NOT NULL DEFAULT 0,
  891. `PosXM` float NOT NULL DEFAULT 0,
  892. `PosYM` float NOT NULL DEFAULT 0,
  893. `PosZM` float NOT NULL DEFAULT 0,
  894. `RotXM` float NOT NULL DEFAULT 0,
  895. `RotYM` float NOT NULL DEFAULT 0,
  896. `RotZM` float NOT NULL DEFAULT 0,
  897. `Allegiance` int(11) NOT NULL DEFAULT 0,
  898. `GroupType` int(11) NOT NULL DEFAULT 0,
  899. `GroupID` int(2) NOT NULL DEFAULT -1,
  900. `GangID` int(2) NOT NULL DEFAULT -1,
  901. `RenderHQ` int(11) NOT NULL DEFAULT 1,
  902. `Timer` int(1) NOT NULL DEFAULT 0,
  903. `Automate` int(11) NOT NULL,
  904. `Locked` int(11) NOT NULL,
  905. `TIndex` int(11) NOT NULL,
  906. `TModel` int(11) NOT NULL,
  907. `TColor` int(11) NOT NULL,
  908. `Facility` int(11) NOT NULL,
  909. `TTXD` varchar(32) NOT NULL,
  910. `TTexture` varchar(42) NOT NULL,
  911. PRIMARY KEY (`ID`),
  912. UNIQUE KEY `ID_UNIQUE` (`ID`)
  913. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
  914. /*!40101 SET character_set_client = @saved_cs_client */;
  915. --
  916. -- Table structure for table `graffiti`
  917. --
  918. DROP TABLE IF EXISTS `graffiti`;
  919. /*!40101 SET @saved_cs_client = @@character_set_client */;
  920. /*!40101 SET character_set_client = utf8 */;
  921. CREATE TABLE `graffiti` (
  922. `graffitiID` int(12) NOT NULL AUTO_INCREMENT,
  923. `graffitiX` float DEFAULT 0,
  924. `graffitiY` float DEFAULT 0,
  925. `graffitiZ` float DEFAULT 0,
  926. `graffitiAngle` float DEFAULT 0,
  927. `graffitiColor` int(12) DEFAULT 0,
  928. `graffitiText` varchar(64) DEFAULT NULL,
  929. PRIMARY KEY (`graffitiID`) USING BTREE,
  930. UNIQUE KEY `graffitiID_UNIQUE` (`graffitiID`)
  931. ) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=DYNAMIC;
  932. /*!40101 SET character_set_client = @saved_cs_client */;
  933. --
  934. -- Table structure for table `gunracks`
  935. --
  936. DROP TABLE IF EXISTS `gunracks`;
  937. /*!40101 SET @saved_cs_client = @@character_set_client */;
  938. /*!40101 SET character_set_client = utf8 */;
  939. CREATE TABLE `gunracks` (
  940. `1` int(11) NOT NULL,
  941. `rackID` int(11) NOT NULL,
  942. `rackHouse` int(11) NOT NULL,
  943. `rackX` int(11) NOT NULL,
  944. `rackY` int(11) NOT NULL,
  945. `rackZ` int(11) NOT NULL,
  946. `rackA` int(11) NOT NULL,
  947. `rackInterior` int(11) NOT NULL,
  948. `rackWorld` int(11) NOT NULL,
  949. `rackObjects` int(11) NOT NULL,
  950. `rackWeapon1` int(11) NOT NULL,
  951. `rackWeapon2` int(11) NOT NULL,
  952. `rackWeapon3` int(11) NOT NULL,
  953. `rackWeapon4` int(11) NOT NULL
  954. ) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
  955. /*!40101 SET character_set_client = @saved_cs_client */;
  956. --
  957. -- Table structure for table `houses`
  958. --
  959. DROP TABLE IF EXISTS `houses`;
  960. /*!40101 SET @saved_cs_client = @@character_set_client */;
  961. /*!40101 SET character_set_client = utf8 */;
  962. CREATE TABLE `houses` (
  963. `id` int(10) NOT NULL AUTO_INCREMENT,
  964. `ownerid` int(10) DEFAULT 0,
  965. `owner` varchar(24) DEFAULT 'Nobody',
  966. `type` tinyint(2) DEFAULT 0,
  967. `price` int(10) DEFAULT 0,
  968. `rentprice` int(10) DEFAULT 0,
  969. `level` tinyint(2) DEFAULT 1,
  970. `locked` tinyint(1) DEFAULT 0,
  971. `timestamp` int(10) DEFAULT 0,
  972. `pos_x` float DEFAULT 0,
  973. `pos_y` float DEFAULT 0,
  974. `pos_z` float DEFAULT 0,
  975. `pos_a` float DEFAULT 0,
  976. `int_x` float DEFAULT 0,
  977. `int_y` float DEFAULT 0,
  978. `int_z` float DEFAULT 0,
  979. `int_a` float DEFAULT 0,
  980. `interior` tinyint(2) DEFAULT 0,
  981. `world` int(10) DEFAULT 0,
  982. `outsideint` int(10) DEFAULT 0,
  983. `outsidevw` int(10) DEFAULT 0,
  984. `cash` int(10) DEFAULT 0,
  985. `materials` int(10) DEFAULT 0,
  986. `weed` int(10) DEFAULT 0,
  987. `cocaine` int(10) DEFAULT 0,
  988. `meth` int(10) DEFAULT 0,
  989. `painkillers` int(10) DEFAULT 0,
  990. `weapon_1` tinyint(2) DEFAULT 0,
  991. `weapon_2` tinyint(2) DEFAULT 0,
  992. `weapon_3` tinyint(2) DEFAULT 0,
  993. `weapon_4` tinyint(2) DEFAULT 0,
  994. `weapon_5` tinyint(2) DEFAULT 0,
  995. `weapon_6` tinyint(2) DEFAULT 0,
  996. `weapon_7` tinyint(2) DEFAULT 0,
  997. `weapon_8` tinyint(2) DEFAULT 0,
  998. `weapon_9` tinyint(2) DEFAULT 0,
  999. `weapon_10` tinyint(2) DEFAULT 0,
  1000. `ammo_1` smallint(5) DEFAULT 0,
  1001. `ammo_2` smallint(5) DEFAULT 0,
  1002. `ammo_3` smallint(5) DEFAULT 0,
  1003. `ammo_4` smallint(5) DEFAULT 0,
  1004. `ammo_5` smallint(5) DEFAULT 0,
  1005. `ammo_6` tinyint(2) DEFAULT 0,
  1006. `ammo_7` tinyint(2) DEFAULT 0,
  1007. `ammo_8` tinyint(2) DEFAULT 0,
  1008. `ammo_9` tinyint(2) DEFAULT 0,
  1009. `ammo_10` tinyint(2) DEFAULT 0,
  1010. `pistolammo` smallint(5) DEFAULT 0,
  1011. `shotgunammo` smallint(5) DEFAULT 0,
  1012. `smgammo` smallint(5) DEFAULT 0,
  1013. `arammo` smallint(5) DEFAULT 0,
  1014. `rifleammo` smallint(5) DEFAULT 0,
  1015. `hpammo` smallint(5) DEFAULT 0,
  1016. `poisonammo` smallint(5) DEFAULT 0,
  1017. `fmjammo` smallint(5) DEFAULT 0,
  1018. `delivery` tinyint(2) DEFAULT 1,
  1019. `lights` tinyint(1) DEFAULT 1,
  1020. `approved` bit(1) NOT NULL DEFAULT b'0',
  1021. PRIMARY KEY (`id`),
  1022. UNIQUE KEY `id_UNIQUE` (`id`)
  1023. ) ENGINE=InnoDB AUTO_INCREMENT=175 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
  1024. /*!40101 SET character_set_client = @saved_cs_client */;
  1025. --
  1026. -- Table structure for table `kills`
  1027. --
  1028. DROP TABLE IF EXISTS `kills`;
  1029. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1030. /*!40101 SET character_set_client = utf8 */;
  1031. CREATE TABLE `kills` (
  1032. `id` int(10) NOT NULL AUTO_INCREMENT,
  1033. `killer_uid` int(10) DEFAULT NULL,
  1034. `target_uid` int(10) DEFAULT NULL,
  1035. `killer` varchar(24) DEFAULT NULL,
  1036. `target` varchar(24) DEFAULT NULL,
  1037. `reason` varchar(24) DEFAULT NULL,
  1038. `date` datetime DEFAULT NULL,
  1039. PRIMARY KEY (`id`) USING BTREE,
  1040. UNIQUE KEY `id_UNIQUE` (`id`)
  1041. ) ENGINE=InnoDB AUTO_INCREMENT=299 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
  1042. /*!40101 SET character_set_client = @saved_cs_client */;
  1043. --
  1044. -- Table structure for table `landobjects`
  1045. --
  1046. DROP TABLE IF EXISTS `landobjects`;
  1047. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1048. /*!40101 SET character_set_client = utf8 */;
  1049. CREATE TABLE `landobjects` (
  1050. `id` int(10) NOT NULL AUTO_INCREMENT,
  1051. `landid` int(10) DEFAULT NULL,
  1052. `modelid` smallint(5) DEFAULT NULL,
  1053. `name` varchar(32) DEFAULT NULL,
  1054. `price` int(10) DEFAULT NULL,
  1055. `pos_x` float DEFAULT NULL,
  1056. `pos_y` float DEFAULT NULL,
  1057. `pos_z` float DEFAULT NULL,
  1058. `rot_x` float DEFAULT NULL,
  1059. `rot_y` float DEFAULT NULL,
  1060. `rot_z` float DEFAULT NULL,
  1061. `door_opened` tinyint(1) DEFAULT 0,
  1062. `door_locked` tinyint(1) DEFAULT 0,
  1063. `move_x` float DEFAULT 0,
  1064. `move_y` float DEFAULT 0,
  1065. `move_z` float DEFAULT 0,
  1066. `move_rx` float DEFAULT 0,
  1067. `move_ry` float DEFAULT 0,
  1068. `move_rz` float DEFAULT 0,
  1069. PRIMARY KEY (`id`) USING BTREE,
  1070. UNIQUE KEY `id_UNIQUE` (`id`)
  1071. ) ENGINE=InnoDB AUTO_INCREMENT=2051 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
  1072. /*!40101 SET character_set_client = @saved_cs_client */;
  1073. --
  1074. -- Table structure for table `lands`
  1075. --
  1076. DROP TABLE IF EXISTS `lands`;
  1077. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1078. /*!40101 SET character_set_client = utf8 */;
  1079. CREATE TABLE `lands` (
  1080. `id` int(10) NOT NULL AUTO_INCREMENT,
  1081. `ownerid` int(10) DEFAULT 0,
  1082. `owner` varchar(24) DEFAULT 'Nobody',
  1083. `price` int(10) DEFAULT 0,
  1084. `min_x` float DEFAULT 0,
  1085. `min_y` float DEFAULT 0,
  1086. `max_x` float DEFAULT 0,
  1087. `max_y` float DEFAULT 0,
  1088. `heightx` float DEFAULT 0,
  1089. `heighty` float NOT NULL DEFAULT 0,
  1090. `level` tinyint(2) DEFAULT 1,
  1091. `heightz` float NOT NULL DEFAULT 0,
  1092. `height` int(11) NOT NULL,
  1093. `approved` bit(1) NOT NULL DEFAULT b'0',
  1094. PRIMARY KEY (`id`) USING BTREE
  1095. ) ENGINE=InnoDB AUTO_INCREMENT=25 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
  1096. /*!40101 SET character_set_client = @saved_cs_client */;
  1097. --
  1098. -- Table structure for table `locations`
  1099. --
  1100. DROP TABLE IF EXISTS `locations`;
  1101. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1102. /*!40101 SET character_set_client = utf8 */;
  1103. CREATE TABLE `locations` (
  1104. `id` int(4) NOT NULL AUTO_INCREMENT,
  1105. `name` varchar(64) NOT NULL,
  1106. `pos_x` float NOT NULL,
  1107. `pos_y` float NOT NULL,
  1108. `pos_z` float NOT NULL,
  1109. `approved` bit(1) NOT NULL DEFAULT b'0',
  1110. PRIMARY KEY (`id`) USING BTREE,
  1111. UNIQUE KEY `id_UNIQUE` (`id`)
  1112. ) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
  1113. /*!40101 SET character_set_client = @saved_cs_client */;
  1114. --
  1115. -- Table structure for table `log_admin`
  1116. --
  1117. DROP TABLE IF EXISTS `log_admin`;
  1118. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1119. /*!40101 SET character_set_client = utf8 */;
  1120. CREATE TABLE `log_admin` (
  1121. `id` int(10) NOT NULL AUTO_INCREMENT,
  1122. `date` datetime DEFAULT NULL,
  1123. `description` varchar(255) DEFAULT NULL,
  1124. PRIMARY KEY (`id`) USING BTREE,
  1125. UNIQUE KEY `id_UNIQUE` (`id`)
  1126. ) ENGINE=InnoDB AUTO_INCREMENT=270 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
  1127. /*!40101 SET character_set_client = @saved_cs_client */;
  1128. --
  1129. -- Table structure for table `log_bans`
  1130. --
  1131. DROP TABLE IF EXISTS `log_bans`;
  1132. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1133. /*!40101 SET character_set_client = utf8 */;
  1134. CREATE TABLE `log_bans` (
  1135. `id` int(10) NOT NULL AUTO_INCREMENT,
  1136. `uid` int(10) DEFAULT NULL,
  1137. `date` datetime DEFAULT NULL,
  1138. `description` varchar(255) DEFAULT NULL,
  1139. PRIMARY KEY (`id`) USING BTREE,
  1140. UNIQUE KEY `id_UNIQUE` (`id`)
  1141. ) ENGINE=InnoDB AUTO_INCREMENT=30 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
  1142. /*!40101 SET character_set_client = @saved_cs_client */;
  1143. --
  1144. -- Table structure for table `log_cheat`
  1145. --
  1146. DROP TABLE IF EXISTS `log_cheat`;
  1147. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1148. /*!40101 SET character_set_client = utf8 */;
  1149. CREATE TABLE `log_cheat` (
  1150. `id` int(10) NOT NULL AUTO_INCREMENT,
  1151. `date` datetime DEFAULT NULL,
  1152. `description` varchar(255) DEFAULT NULL,
  1153. PRIMARY KEY (`id`) USING BTREE,
  1154. UNIQUE KEY `id_UNIQUE` (`id`)
  1155. ) ENGINE=InnoDB AUTO_INCREMENT=168 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
  1156. /*!40101 SET character_set_client = @saved_cs_client */;
  1157. --
  1158. -- Table structure for table `log_contracts`
  1159. --
  1160. DROP TABLE IF EXISTS `log_contracts`;
  1161. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1162. /*!40101 SET character_set_client = utf8 */;
  1163. CREATE TABLE `log_contracts` (
  1164. `id` int(10) NOT NULL AUTO_INCREMENT,
  1165. `date` datetime DEFAULT NULL,
  1166. `description` varchar(255) DEFAULT NULL,
  1167. PRIMARY KEY (`id`) USING BTREE,
  1168. UNIQUE KEY `id_UNIQUE` (`id`)
  1169. ) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
  1170. /*!40101 SET character_set_client = @saved_cs_client */;
  1171. --
  1172. -- Table structure for table `log_cp`
  1173. --
  1174. DROP TABLE IF EXISTS `log_cp`;
  1175. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1176. /*!40101 SET character_set_client = utf8 */;
  1177. CREATE TABLE `log_cp` (
  1178. `id` int(11) NOT NULL AUTO_INCREMENT,
  1179. `executer` text DEFAULT NULL,
  1180. `description` text DEFAULT NULL,
  1181. `date` timestamp NULL DEFAULT current_timestamp(),
  1182. PRIMARY KEY (`id`) USING BTREE,
  1183. UNIQUE KEY `id_UNIQUE` (`id`)
  1184. ) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
  1185. /*!40101 SET character_set_client = @saved_cs_client */;
  1186. --
  1187. -- Table structure for table `log_dicebet`
  1188. --
  1189. DROP TABLE IF EXISTS `log_dicebet`;
  1190. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1191. /*!40101 SET character_set_client = utf8 */;
  1192. CREATE TABLE `log_dicebet` (
  1193. `id` int(10) NOT NULL AUTO_INCREMENT,
  1194. `date` datetime DEFAULT NULL,
  1195. `description` varchar(255) DEFAULT NULL,
  1196. PRIMARY KEY (`id`) USING BTREE,
  1197. UNIQUE KEY `id_UNIQUE` (`id`)
  1198. ) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
  1199. /*!40101 SET character_set_client = @saved_cs_client */;
  1200. --
  1201. -- Table structure for table `log_faction`
  1202. --
  1203. DROP TABLE IF EXISTS `log_faction`;
  1204. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1205. /*!40101 SET character_set_client = utf8 */;
  1206. CREATE TABLE `log_faction` (
  1207. `id` int(10) NOT NULL AUTO_INCREMENT,
  1208. `date` datetime DEFAULT NULL,
  1209. `description` varchar(255) DEFAULT NULL,
  1210. PRIMARY KEY (`id`) USING BTREE,
  1211. UNIQUE KEY `id_UNIQUE` (`id`)
  1212. ) ENGINE=InnoDB AUTO_INCREMENT=325 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
  1213. /*!40101 SET character_set_client = @saved_cs_client */;
  1214. --
  1215. -- Table structure for table `log_gang`
  1216. --
  1217. DROP TABLE IF EXISTS `log_gang`;
  1218. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1219. /*!40101 SET character_set_client = utf8 */;
  1220. CREATE TABLE `log_gang` (
  1221. `id` int(10) NOT NULL AUTO_INCREMENT,
  1222. `date` datetime DEFAULT NULL,
  1223. `description` varchar(255) DEFAULT NULL,
  1224. PRIMARY KEY (`id`) USING BTREE,
  1225. UNIQUE KEY `id_UNIQUE` (`id`)
  1226. ) ENGINE=InnoDB AUTO_INCREMENT=490 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
  1227. /*!40101 SET character_set_client = @saved_cs_client */;
  1228. --
  1229. -- Table structure for table `log_give`
  1230. --
  1231. DROP TABLE IF EXISTS `log_give`;
  1232. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1233. /*!40101 SET character_set_client = utf8 */;
  1234. CREATE TABLE `log_give` (
  1235. `id` int(10) NOT NULL AUTO_INCREMENT,
  1236. `date` datetime DEFAULT NULL,
  1237. `description` varchar(255) DEFAULT NULL,
  1238. PRIMARY KEY (`id`) USING BTREE,
  1239. UNIQUE KEY `id_UNIQUE` (`id`)
  1240. ) ENGINE=InnoDB AUTO_INCREMENT=131 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
  1241. /*!40101 SET character_set_client = @saved_cs_client */;
  1242. --
  1243. -- Table structure for table `log_givecookie`
  1244. --
  1245. DROP TABLE IF EXISTS `log_givecookie`;
  1246. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1247. /*!40101 SET character_set_client = utf8 */;
  1248. CREATE TABLE `log_givecookie` (
  1249. `id` int(10) NOT NULL AUTO_INCREMENT,
  1250. `date` datetime DEFAULT NULL,
  1251. `description` varchar(255) DEFAULT NULL,
  1252. PRIMARY KEY (`id`) USING BTREE,
  1253. UNIQUE KEY `id_UNIQUE` (`id`)
  1254. ) ENGINE=InnoDB AUTO_INCREMENT=256 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
  1255. /*!40101 SET character_set_client = @saved_cs_client */;
  1256. --
  1257. -- Table structure for table `log_givegun`
  1258. --
  1259. DROP TABLE IF EXISTS `log_givegun`;
  1260. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1261. /*!40101 SET character_set_client = utf8 */;
  1262. CREATE TABLE `log_givegun` (
  1263. `id` int(10) NOT NULL AUTO_INCREMENT,
  1264. `date` datetime DEFAULT NULL,
  1265. `description` varchar(255) DEFAULT NULL,
  1266. PRIMARY KEY (`id`) USING BTREE,
  1267. UNIQUE KEY `id_UNIQUE` (`id`)
  1268. ) ENGINE=InnoDB AUTO_INCREMENT=276 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
  1269. /*!40101 SET character_set_client = @saved_cs_client */;
  1270. --
  1271. -- Table structure for table `log_givemoney`
  1272. --
  1273. DROP TABLE IF EXISTS `log_givemoney`;
  1274. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1275. /*!40101 SET character_set_client = utf8 */;
  1276. CREATE TABLE `log_givemoney` (
  1277. `id` int(10) NOT NULL AUTO_INCREMENT,
  1278. `date` datetime DEFAULT NULL,
  1279. `description` varchar(255) DEFAULT NULL,
  1280. PRIMARY KEY (`id`) USING BTREE,
  1281. UNIQUE KEY `id_UNIQUE` (`id`)
  1282. ) ENGINE=InnoDB AUTO_INCREMENT=162 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
  1283. /*!40101 SET character_set_client = @saved_cs_client */;
  1284. --
  1285. -- Table structure for table `log_makeadmin`
  1286. --
  1287. DROP TABLE IF EXISTS `log_makeadmin`;
  1288. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1289. /*!40101 SET character_set_client = utf8 */;
  1290. CREATE TABLE `log_makeadmin` (
  1291. `id` int(10) NOT NULL AUTO_INCREMENT,
  1292. `date` datetime DEFAULT NULL,
  1293. `description` varchar(255) DEFAULT NULL,
  1294. PRIMARY KEY (`id`) USING BTREE,
  1295. UNIQUE KEY `id_UNIQUE` (`id`)
  1296. ) ENGINE=InnoDB AUTO_INCREMENT=191 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
  1297. /*!40101 SET character_set_client = @saved_cs_client */;
  1298. --
  1299. -- Table structure for table `log_makehelper`
  1300. --
  1301. DROP TABLE IF EXISTS `log_makehelper`;
  1302. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1303. /*!40101 SET character_set_client = utf8 */;
  1304. CREATE TABLE `log_makehelper` (
  1305. `id` int(10) NOT NULL AUTO_INCREMENT,
  1306. `date` datetime DEFAULT NULL,
  1307. `description` varchar(255) DEFAULT NULL,
  1308. PRIMARY KEY (`id`) USING BTREE,
  1309. UNIQUE KEY `id_UNIQUE` (`id`)
  1310. ) ENGINE=InnoDB AUTO_INCREMENT=34 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
  1311. /*!40101 SET character_set_client = @saved_cs_client */;
  1312. --
  1313. -- Table structure for table `log_namechanges`
  1314. --
  1315. DROP TABLE IF EXISTS `log_namechanges`;
  1316. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1317. /*!40101 SET character_set_client = utf8 */;
  1318. CREATE TABLE `log_namechanges` (
  1319. `id` int(10) NOT NULL AUTO_INCREMENT,
  1320. `date` datetime DEFAULT NULL,
  1321. `description` varchar(255) DEFAULT NULL,
  1322. PRIMARY KEY (`id`) USING BTREE,
  1323. UNIQUE KEY `id_UNIQUE` (`id`)
  1324. ) ENGINE=InnoDB AUTO_INCREMENT=42 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
  1325. /*!40101 SET character_set_client = @saved_cs_client */;
  1326. --
  1327. -- Table structure for table `log_namehistory`
  1328. --
  1329. DROP TABLE IF EXISTS `log_namehistory`;
  1330. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1331. /*!40101 SET character_set_client = utf8 */;
  1332. CREATE TABLE `log_namehistory` (
  1333. `id` int(10) NOT NULL AUTO_INCREMENT,
  1334. `uid` int(10) DEFAULT NULL,
  1335. `oldname` varchar(24) DEFAULT NULL,
  1336. `newname` varchar(24) DEFAULT NULL,
  1337. `changedby` varchar(24) DEFAULT NULL,
  1338. `date` datetime DEFAULT NULL,
  1339. PRIMARY KEY (`id`) USING BTREE,
  1340. UNIQUE KEY `id_UNIQUE` (`id`)
  1341. ) ENGINE=InnoDB AUTO_INCREMENT=42 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
  1342. /*!40101 SET character_set_client = @saved_cs_client */;
  1343. --
  1344. -- Table structure for table `log_property`
  1345. --
  1346. DROP TABLE IF EXISTS `log_property`;
  1347. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1348. /*!40101 SET character_set_client = utf8 */;
  1349. CREATE TABLE `log_property` (
  1350. `id` int(10) NOT NULL AUTO_INCREMENT,
  1351. `date` datetime DEFAULT NULL,
  1352. `description` varchar(255) DEFAULT NULL,
  1353. PRIMARY KEY (`id`) USING BTREE,
  1354. UNIQUE KEY `id_UNIQUE` (`id`)
  1355. ) ENGINE=InnoDB AUTO_INCREMENT=188 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
  1356. /*!40101 SET character_set_client = @saved_cs_client */;
  1357. --
  1358. -- Table structure for table `log_punishments`
  1359. --
  1360. DROP TABLE IF EXISTS `log_punishments`;
  1361. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1362. /*!40101 SET character_set_client = utf8 */;
  1363. CREATE TABLE `log_punishments` (
  1364. `id` int(10) NOT NULL AUTO_INCREMENT,
  1365. `date` datetime DEFAULT NULL,
  1366. `description` varchar(255) DEFAULT NULL,
  1367. PRIMARY KEY (`id`) USING BTREE,
  1368. UNIQUE KEY `id_UNIQUE` (`id`)
  1369. ) ENGINE=InnoDB AUTO_INCREMENT=62 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
  1370. /*!40101 SET character_set_client = @saved_cs_client */;
  1371. --
  1372. -- Table structure for table `log_referrals`
  1373. --
  1374. DROP TABLE IF EXISTS `log_referrals`;
  1375. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1376. /*!40101 SET character_set_client = utf8 */;
  1377. CREATE TABLE `log_referrals` (
  1378. `id` int(10) NOT NULL AUTO_INCREMENT,
  1379. `date` datetime DEFAULT NULL,
  1380. `description` varchar(255) DEFAULT NULL,
  1381. PRIMARY KEY (`id`) USING BTREE,
  1382. UNIQUE KEY `id_UNIQUE` (`id`)
  1383. ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
  1384. /*!40101 SET character_set_client = @saved_cs_client */;
  1385. --
  1386. -- Table structure for table `log_setstat`
  1387. --
  1388. DROP TABLE IF EXISTS `log_setstat`;
  1389. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1390. /*!40101 SET character_set_client = utf8 */;
  1391. CREATE TABLE `log_setstat` (
  1392. `id` int(10) NOT NULL AUTO_INCREMENT,
  1393. `date` datetime DEFAULT NULL,
  1394. `description` varchar(255) DEFAULT NULL,
  1395. PRIMARY KEY (`id`) USING BTREE,
  1396. UNIQUE KEY `id_UNIQUE` (`id`)
  1397. ) ENGINE=InnoDB AUTO_INCREMENT=202 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
  1398. /*!40101 SET character_set_client = @saved_cs_client */;
  1399. --
  1400. -- Table structure for table `log_vip`
  1401. --
  1402. DROP TABLE IF EXISTS `log_vip`;
  1403. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1404. /*!40101 SET character_set_client = utf8 */;
  1405. CREATE TABLE `log_vip` (
  1406. `id` int(10) NOT NULL AUTO_INCREMENT,
  1407. `date` datetime DEFAULT NULL,
  1408. `description` varchar(255) DEFAULT NULL,
  1409. PRIMARY KEY (`id`) USING BTREE,
  1410. UNIQUE KEY `id_UNIQUE` (`id`)
  1411. ) ENGINE=InnoDB AUTO_INCREMENT=31 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
  1412. /*!40101 SET character_set_client = @saved_cs_client */;
  1413. --
  1414. -- Table structure for table `phonebook`
  1415. --
  1416. DROP TABLE IF EXISTS `phonebook`;
  1417. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1418. /*!40101 SET character_set_client = utf8 */;
  1419. CREATE TABLE `phonebook` (
  1420. `name` varchar(24) DEFAULT NULL,
  1421. `number` int(10) unsigned DEFAULT NULL,
  1422. `id` int(100) NOT NULL AUTO_INCREMENT,
  1423. PRIMARY KEY (`id`),
  1424. UNIQUE KEY `id_UNIQUE` (`id`),
  1425. UNIQUE KEY `number` (`number`) USING BTREE
  1426. ) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
  1427. /*!40101 SET character_set_client = @saved_cs_client */;
  1428. --
  1429. -- Table structure for table `playerbackpack`
  1430. --
  1431. DROP TABLE IF EXISTS `playerbackpack`;
  1432. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1433. /*!40101 SET character_set_client = utf8 */;
  1434. CREATE TABLE `playerbackpack` (
  1435. `ID` int(10) NOT NULL AUTO_INCREMENT,
  1436. `BackpackOwner` int(11) NOT NULL DEFAULT -1,
  1437. `BackpackSize` int(11) NOT NULL DEFAULT 0,
  1438. `HouseStored` int(11) NOT NULL DEFAULT 0,
  1439. `VehicleStored` int(11) NOT NULL DEFAULT 0,
  1440. `Cash` int(11) NOT NULL DEFAULT 0,
  1441. `Crack` int(11) NOT NULL DEFAULT 0,
  1442. `Pot` int(11) NOT NULL DEFAULT 0,
  1443. `Mats` int(11) NOT NULL DEFAULT 0,
  1444. `Gun0` int(11) NOT NULL DEFAULT 0,
  1445. `Gun1` int(11) NOT NULL DEFAULT 0,
  1446. `Gun2` int(11) NOT NULL DEFAULT 0,
  1447. `Gun3` int(11) NOT NULL DEFAULT 0,
  1448. `Gun4` int(11) NOT NULL DEFAULT 0,
  1449. `Spraycans` int(11) NOT NULL DEFAULT 0,
  1450. `Ropes` int(11) NOT NULL DEFAULT 0,
  1451. `Skins` int(1) DEFAULT NULL,
  1452. PRIMARY KEY (`ID`),
  1453. UNIQUE KEY `ID_UNIQUE` (`ID`)
  1454. ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
  1455. /*!40101 SET character_set_client = @saved_cs_client */;
  1456. --
  1457. -- Table structure for table `points`
  1458. --
  1459. DROP TABLE IF EXISTS `points`;
  1460. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1461. /*!40101 SET character_set_client = utf8 */;
  1462. CREATE TABLE `points` (
  1463. `id` tinyint(2) NOT NULL AUTO_INCREMENT,
  1464. `name` varchar(32) DEFAULT NULL,
  1465. `capturedby` varchar(24) DEFAULT 'No-one',
  1466. `capturedgang` tinyint(2) DEFAULT -1,
  1467. `type` tinyint(2) DEFAULT 0,
  1468. `profits` int(10) DEFAULT 0,
  1469. `time` tinyint(2) DEFAULT 24,
  1470. `point_x` float DEFAULT 0,
  1471. `point_y` float DEFAULT 0,
  1472. `point_z` float DEFAULT 0,
  1473. `pointinterior` tinyint(2) DEFAULT 0,
  1474. `pointworld` int(10) DEFAULT 0,
  1475. `approved` bit(1) NOT NULL DEFAULT b'0',
  1476. PRIMARY KEY (`id`),
  1477. UNIQUE KEY `id` (`id`) USING BTREE
  1478. ) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
  1479. /*!40101 SET character_set_client = @saved_cs_client */;
  1480. --
  1481. -- Table structure for table `shots`
  1482. --
  1483. DROP TABLE IF EXISTS `shots`;
  1484. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1485. /*!40101 SET character_set_client = utf8 */;
  1486. CREATE TABLE `shots` (
  1487. `id` int(10) NOT NULL AUTO_INCREMENT,
  1488. `playerid` smallint(3) DEFAULT NULL,
  1489. `weaponid` tinyint(2) DEFAULT NULL,
  1490. `hittype` tinyint(2) DEFAULT NULL,
  1491. `hitid` int(10) DEFAULT NULL,
  1492. `hitplayer` varchar(24) DEFAULT NULL,
  1493. `pos_x` float DEFAULT NULL,
  1494. `pos_y` float DEFAULT NULL,
  1495. `pos_z` float DEFAULT NULL,
  1496. `timestamp` int(10) DEFAULT NULL,
  1497. PRIMARY KEY (`id`) USING BTREE,
  1498. UNIQUE KEY `id_UNIQUE` (`id`)
  1499. ) ENGINE=InnoDB AUTO_INCREMENT=923 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
  1500. /*!40101 SET character_set_client = @saved_cs_client */;
  1501. --
  1502. -- Table structure for table `speedcameras`
  1503. --
  1504. DROP TABLE IF EXISTS `speedcameras`;
  1505. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1506. /*!40101 SET character_set_client = utf8 */;
  1507. CREATE TABLE `speedcameras` (
  1508. `1` int(11) NOT NULL,
  1509. `speedRange` int(11) NOT NULL,
  1510. `speedLimit` int(11) NOT NULL,
  1511. `speedObjects` int(11) NOT NULL,
  1512. `speedID` int(11) NOT NULL,
  1513. `speedX` int(11) NOT NULL,
  1514. `speedY` int(11) NOT NULL,
  1515. `speedZ` int(11) NOT NULL,
  1516. `speedAngle` int(11) NOT NULL,
  1517. `id` int(10) NOT NULL AUTO_INCREMENT,
  1518. `approved` bit(1) NOT NULL DEFAULT b'0',
  1519. PRIMARY KEY (`id`),
  1520. UNIQUE KEY `id_UNIQUE` (`id`)
  1521. ) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;
  1522. /*!40101 SET character_set_client = @saved_cs_client */;
  1523. --
  1524. -- Table structure for table `texts`
  1525. --
  1526. DROP TABLE IF EXISTS `texts`;
  1527. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1528. /*!40101 SET character_set_client = utf8 */;
  1529. CREATE TABLE `texts` (
  1530. `id` int(10) NOT NULL AUTO_INCREMENT,
  1531. `sender_number` int(10) DEFAULT NULL,
  1532. `recipient_number` int(10) DEFAULT NULL,
  1533. `sender` varchar(24) DEFAULT NULL,
  1534. `date` datetime DEFAULT NULL,
  1535. `message` varchar(255) DEFAULT NULL,
  1536. PRIMARY KEY (`id`) USING BTREE,
  1537. UNIQUE KEY `id_UNIQUE` (`id`)
  1538. ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
  1539. /*!40101 SET character_set_client = @saved_cs_client */;
  1540. --
  1541. -- Table structure for table `turfs`
  1542. --
  1543. DROP TABLE IF EXISTS `turfs`;
  1544. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1545. /*!40101 SET character_set_client = utf8 */;
  1546. CREATE TABLE `turfs` (
  1547. `id` tinyint(2) unsigned NOT NULL,
  1548. `name` varchar(32) DEFAULT NULL,
  1549. `capturedby` varchar(24) DEFAULT 'No-one',
  1550. `capturedgang` tinyint(2) DEFAULT -1,
  1551. `type` tinyint(2) DEFAULT 0,
  1552. `time` tinyint(2) DEFAULT 12,
  1553. `min_x` float DEFAULT 0,
  1554. `min_y` float DEFAULT 0,
  1555. `max_x` float DEFAULT 0,
  1556. `max_y` float DEFAULT 0,
  1557. `height` float DEFAULT 0,
  1558. `approved` bit(1) NOT NULL DEFAULT b'0',
  1559. PRIMARY KEY (`id`),
  1560. UNIQUE KEY `id` (`id`) USING BTREE
  1561. ) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
  1562. /*!40101 SET character_set_client = @saved_cs_client */;
  1563. --
  1564. -- Table structure for table `users`
  1565. --
  1566. DROP TABLE IF EXISTS `users`;
  1567. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1568. /*!40101 SET character_set_client = utf8 */;
  1569. CREATE TABLE `users` (
  1570. `passwordchanged` tinyint(1) NOT NULL DEFAULT 0,
  1571. `uid` int(10) NOT NULL AUTO_INCREMENT,
  1572. `username` varchar(24) DEFAULT NULL,
  1573. `password` varchar(129) DEFAULT NULL,
  1574. `regdate` datetime DEFAULT NULL,
  1575. `lastlogin` datetime DEFAULT NULL,
  1576. `ip` varchar(16) DEFAULT NULL,
  1577. `setup` tinyint(1) DEFAULT 1,
  1578. `gender` tinyint(1) DEFAULT 0,
  1579. `age` tinyint(3) DEFAULT 18,
  1580. `skin` smallint(3) DEFAULT 299,
  1581. `camera_x` float DEFAULT 0,
  1582. `camera_y` float DEFAULT 0,
  1583. `camera_z` float DEFAULT 0,
  1584. `pos_x` float DEFAULT 0,
  1585. `pos_y` float DEFAULT 0,
  1586. `pos_z` float DEFAULT 0,
  1587. `pos_a` float DEFAULT 0,
  1588. `interior` tinyint(2) DEFAULT 0,
  1589. `world` int(10) DEFAULT 0,
  1590. `cash` int(10) DEFAULT 5000,
  1591. `bank` int(10) DEFAULT 10000,
  1592. `paycheck` int(10) DEFAULT 0,
  1593. `level` int(10) DEFAULT 1,
  1594. `exp` int(10) DEFAULT 0,
  1595. `minutes` tinyint(2) DEFAULT 0,
  1596. `hours` int(10) DEFAULT 0,
  1597. `adminlevel` int(10) DEFAULT 0,
  1598. `adminname` varchar(24) DEFAULT 'None',
  1599. `helperlevel` tinyint(2) DEFAULT 0,
  1600. `health` float DEFAULT 100,
  1601. `armor` float DEFAULT 0,
  1602. `upgradepoints` int(10) DEFAULT 0,
  1603. `warnings` tinyint(3) DEFAULT 0,
  1604. `injured` tinyint(1) DEFAULT 0,
  1605. `hospital` tinyint(1) DEFAULT 0,
  1606. `spawnhealth` float DEFAULT 50,
  1607. `spawnarmor` float DEFAULT 0,
  1608. `jailtype` tinyint(1) DEFAULT 0,
  1609. `jailtime` int(10) DEFAULT 0,
  1610. `newbiemuted` tinyint(1) DEFAULT 0,
  1611. `helpmuted` tinyint(1) DEFAULT 0,
  1612. `admuted` tinyint(1) DEFAULT 0,
  1613. `livemuted` tinyint(1) DEFAULT 0,
  1614. `globalmuted` tinyint(1) DEFAULT 0,
  1615. `reportmuted` tinyint(2) DEFAULT 0,
  1616. `reportwarns` tinyint(2) DEFAULT 0,
  1617. `fightstyle` tinyint(2) DEFAULT 4,
  1618. `locked` tinyint(1) DEFAULT 0,
  1619. `accent` varchar(16) DEFAULT 'None',
  1620. `cookies` int(10) DEFAULT 0,
  1621. `phone` int(10) DEFAULT 0,
  1622. `job` int(10) DEFAULT -1,
  1623. `secondjob` tinyint(2) DEFAULT -1,
  1624. `crimes` int(10) DEFAULT 0,
  1625. `arrested` int(10) DEFAULT 0,
  1626. `wantedlevel` tinyint(2) DEFAULT 0,
  1627. `materials` int(10) DEFAULT 0,
  1628. `weed` int(10) DEFAULT 0,
  1629. `cocaine` int(10) DEFAULT 0,
  1630. `meth` int(10) DEFAULT 0,
  1631. `painkillers` int(10) DEFAULT 0,
  1632. `seeds` int(10) DEFAULT 0,
  1633. `ephedrine` int(10) DEFAULT 0,
  1634. `muriaticacid` int(10) DEFAULT 0,
  1635. `bakingsoda` int(10) DEFAULT 0,
  1636. `cigars` int(10) DEFAULT 0,
  1637. `walkietalkie` tinyint(1) DEFAULT 0,
  1638. `channel` int(10) DEFAULT 0,
  1639. `rentinghouse` int(10) DEFAULT 0,
  1640. `spraycans` int(10) DEFAULT 0,
  1641. `boombox` tinyint(1) DEFAULT 0,
  1642. `mp3player` tinyint(1) DEFAULT 0,
  1643. `phonebook` tinyint(1) DEFAULT 0,
  1644. `fishingrod` tinyint(1) DEFAULT 0,
  1645. `fishingbait` int(10) DEFAULT 0,
  1646. `fishweight` int(10) DEFAULT 0,
  1647. `components` int(10) DEFAULT 0,
  1648. `courierskill` int(10) DEFAULT 0,
  1649. `fishingskill` int(10) DEFAULT 0,
  1650. `guardskill` int(10) DEFAULT 0,
  1651. `weaponskill` int(10) DEFAULT 0,
  1652. `mechanicskill` int(10) DEFAULT 0,
  1653. `lawyerskill` int(10) DEFAULT 0,
  1654. `detectiveskill` int(10) DEFAULT 0,
  1655. `smugglerskill` int(10) DEFAULT 0,
  1656. `toggletextdraws` tinyint(1) DEFAULT 0,
  1657. `togglebug` tinyint(1) DEFAULT 0,
  1658. `toggleooc` tinyint(1) DEFAULT 0,
  1659. `togglephone` tinyint(1) DEFAULT 0,
  1660. `toggleadmin` tinyint(1) DEFAULT 0,
  1661. `togglehelper` tinyint(1) DEFAULT 0,
  1662. `togglenewbie` tinyint(1) DEFAULT 0,
  1663. `togglewt` tinyint(1) DEFAULT 0,
  1664. `toggleradio` tinyint(1) DEFAULT 0,
  1665. `togglevip` tinyint(1) DEFAULT 0,
  1666. `togglemusic` tinyint(1) DEFAULT 0,
  1667. `togglefaction` tinyint(1) DEFAULT 0,
  1668. `togglegang` tinyint(1) DEFAULT 0,
  1669. `togglenews` tinyint(1) DEFAULT 0,
  1670. `toggleglobal` tinyint(1) DEFAULT 1,
  1671. `togglecam` tinyint(1) DEFAULT 0,
  1672. `carlicense` tinyint(1) DEFAULT 0,
  1673. `vippackage` tinyint(2) DEFAULT 0,
  1674. `viptime` int(10) DEFAULT 0,
  1675. `vipcooldown` int(10) DEFAULT 0,
  1676. `weapon_0` tinyint(2) DEFAULT 0,
  1677. `weapon_1` tinyint(2) DEFAULT 0,
  1678. `weapon_2` tinyint(2) DEFAULT 0,
  1679. `weapon_3` tinyint(2) DEFAULT 0,
  1680. `weapon_4` tinyint(2) DEFAULT 0,
  1681. `weapon_5` tinyint(2) DEFAULT 0,
  1682. `weapon_6` tinyint(2) DEFAULT 0,
  1683. `weapon_7` tinyint(2) DEFAULT 0,
  1684. `weapon_8` tinyint(2) DEFAULT 0,
  1685. `weapon_9` tinyint(2) DEFAULT 0,
  1686. `weapon_10` tinyint(2) DEFAULT 0,
  1687. `weapon_11` tinyint(2) DEFAULT 0,
  1688. `weapon_12` tinyint(2) DEFAULT 0,
  1689. `ammo_0` smallint(5) DEFAULT 0,
  1690. `ammo_1` smallint(5) DEFAULT 0,
  1691. `ammo_2` smallint(5) DEFAULT 0,
  1692. `ammo_3` smallint(5) DEFAULT 0,
  1693. `ammo_4` smallint(5) DEFAULT 0,
  1694. `ammo_5` smallint(5) DEFAULT 0,
  1695. `ammo_6` smallint(5) DEFAULT 0,
  1696. `ammo_7` smallint(5) DEFAULT 0,
  1697. `ammo_8` smallint(5) DEFAULT 0,
  1698. `ammo_9` smallint(5) DEFAULT 0,
  1699. `ammo_10` smallint(5) DEFAULT 0,
  1700. `ammo_11` smallint(5) DEFAULT 0,
  1701. `ammo_12` smallint(5) DEFAULT 0,
  1702. `faction` tinyint(2) DEFAULT -1,
  1703. `gang` tinyint(2) DEFAULT -1,
  1704. `factionrank` tinyint(2) DEFAULT 0,
  1705. `gangrank` tinyint(2) DEFAULT 0,
  1706. `division` tinyint(2) DEFAULT -1,
  1707. `contracted` int(10) DEFAULT 0,
  1708. `contractby` varchar(24) DEFAULT 'Nobody',
  1709. `bombs` int(10) DEFAULT 0,
  1710. `completedhits` int(10) DEFAULT 0,
  1711. `failedhits` int(10) DEFAULT 0,
  1712. `reports` int(10) DEFAULT 0,
  1713. `helprequests` int(10) DEFAULT 0,
  1714. `speedometer` tinyint(1) DEFAULT 1,
  1715. `factionmod` tinyint(1) DEFAULT 0,
  1716. `gangmod` tinyint(1) DEFAULT 0,
  1717. `banappealer` tinyint(1) DEFAULT 0,
  1718. `helpermanager` tinyint(1) DEFAULT 0,
  1719. `dynamicadmin` tinyint(1) DEFAULT 0,
  1720. `adminpersonnel` tinyint(1) DEFAULT 0,
  1721. `weedplanted` tinyint(1) DEFAULT 0,
  1722. `weedtime` int(10) DEFAULT 0,
  1723. `weedgrams` int(10) DEFAULT 0,
  1724. `weed_x` float DEFAULT 0,
  1725. `weed_y` float DEFAULT 0,
  1726. `weed_z` float DEFAULT 0,
  1727. `weed_a` float DEFAULT 0,
  1728. `inventoryupgrade` int(10) DEFAULT 0,
  1729. `addictupgrade` int(10) DEFAULT 0,
  1730. `traderupgrade` int(10) DEFAULT 0,
  1731. `assetupgrade` int(10) DEFAULT 0,
  1732. `pistolammo` smallint(5) DEFAULT 0,
  1733. `shotgunammo` smallint(5) DEFAULT 0,
  1734. `smgammo` smallint(5) DEFAULT 0,
  1735. `arammo` smallint(5) DEFAULT 0,
  1736. `rifleammo` smallint(5) DEFAULT 0,
  1737. `hpammo` smallint(5) DEFAULT 0,
  1738. `poisonammo` smallint(5) DEFAULT 0,
  1739. `fmjammo` smallint(5) DEFAULT 0,
  1740. `ammotype` tinyint(2) DEFAULT 0,
  1741. `ammoweapon` tinyint(2) DEFAULT 0,
  1742. `dmwarnings` tinyint(2) DEFAULT 0,
  1743. `weaponrestricted` int(10) DEFAULT 0,
  1744. `referral_uid` int(10) DEFAULT 0,
  1745. `refercount` int(10) DEFAULT 0,
  1746. `watch` tinyint(1) DEFAULT 0,
  1747. `gps` tinyint(1) DEFAULT 0,
  1748. `prisonedby` varchar(24) DEFAULT 'No-one',
  1749. `prisonreason` varchar(128) DEFAULT 'None',
  1750. `togglehud` tinyint(1) DEFAULT 1,
  1751. `clothes` smallint(3) DEFAULT -1,
  1752. `showturfs` tinyint(1) DEFAULT 0,
  1753. `showlands` tinyint(1) DEFAULT 0,
  1754. `watchon` tinyint(1) DEFAULT 0,
  1755. `gpson` tinyint(1) DEFAULT 0,
  1756. `doublexp` int(10) DEFAULT 0,
  1757. `couriercooldown` int(10) DEFAULT 0,
  1758. `pizzacooldown` int(10) DEFAULT 0,
  1759. `detectivecooldown` int(10) DEFAULT 0,
  1760. `gascan` tinyint(1) DEFAULT NULL,
  1761. `duty` int(1) DEFAULT NULL,
  1762. `bandana` tinyint(10) DEFAULT NULL,
  1763. `login_date` date DEFAULT NULL,
  1764. `FormerAdmin` tinyint(3) NOT NULL DEFAULT 0,
  1765. `customtitle` varchar(128) NOT NULL DEFAULT '',
  1766. `customcolor` int(10) NOT NULL DEFAULT -256,
  1767. `scanneron` tinyint(1) DEFAULT 0,
  1768. `rimkits` int(10) DEFAULT 0,
  1769. `bodykits` int(10) DEFAULT 0,
  1770. `policescanner` tinyint(1) DEFAULT 0,
  1771. `firstaid` int(10) DEFAULT 0,
  1772. `extraSongs` int(11) NOT NULL DEFAULT 0,
  1773. `top10` tinyint(1) NOT NULL DEFAULT 1,
  1774. `totalfires` int(10) DEFAULT 0,
  1775. `totalpatients` int(10) DEFAULT 0,
  1776. `money_earned` bigint(20) DEFAULT 0,
  1777. `money_spent` bigint(20) DEFAULT 0,
  1778. `rope` int(10) DEFAULT 0,
  1779. `insurance` tinyint(1) DEFAULT 0,
  1780. `adminhide` tinyint(1) DEFAULT 0,
  1781. `passportphone` int(10) DEFAULT 0,
  1782. `passportskin` smallint(3) DEFAULT 0,
  1783. `passportlevel` int(10) DEFAULT 0,
  1784. `passportname` varchar(24) DEFAULT 'None',
  1785. `passport` tinyint(1) DEFAULT 0,
  1786. `globalmutetime` int(10) DEFAULT 0,
  1787. `reportmutetime` int(10) DEFAULT 0,
  1788. `newbiemutetime` int(10) DEFAULT 0,
  1789. `togglereports` tinyint(1) DEFAULT 0,
  1790. `thiefcooldown` int(10) DEFAULT 0,
  1791. `crackcooldown` int(10) DEFAULT 0,
  1792. `laborupgrade` int(10) DEFAULT 0,
  1793. `scripter` tinyint(1) DEFAULT 0,
  1794. `factionleader` tinyint(1) DEFAULT 0,
  1795. `thiefskill` int(10) DEFAULT 0,
  1796. `togglewhisper` tinyint(1) DEFAULT 0,
  1797. `landkeys` tinyint(3) NOT NULL DEFAULT -1,
  1798. `rarecooldown` int(8) DEFAULT 0,
  1799. `diamonds` smallint(5) DEFAULT 0,
  1800. `bugged` tinyint(1) DEFAULT 0,
  1801. `gameaffairs` tinyint(1) DEFAULT 0,
  1802. `crew` tinyint(2) DEFAULT -1,
  1803. `newbies` mediumint(5) DEFAULT 0,
  1804. `rollerskates` tinyint(2) DEFAULT 0,
  1805. `marriedto` int(10) DEFAULT -1,
  1806. `humanresources` tinyint(1) DEFAULT 0,
  1807. `complaintmod` tinyint(1) DEFAULT 0,
  1808. `webdev` tinyint(1) DEFAULT 0,
  1809. `graphic` tinyint(1) DEFAULT 0,
  1810. `vehlock` tinyint(1) DEFAULT 0,
  1811. `sprunk` int(10) DEFAULT 0,
  1812. `truckinglevel` int(10) DEFAULT 0,
  1813. `truckingxp` int(10) DEFAULT 0,
  1814. `santagifts` int(10) DEFAULT 0,
  1815. `seckey` int(11) DEFAULT NULL,
  1816. `togglepoint` tinyint(4) NOT NULL DEFAULT 0,
  1817. `togglepm` tinyint(1) DEFAULT 0,
  1818. `toggleturfs` tinyint(1) DEFAULT 0,
  1819. `togglepoints` tinyint(1) DEFAULT 0,
  1820. `tuckinglevel` int(10) NOT NULL DEFAULT 1,
  1821. `notoriety` int(11) DEFAULT 0,
  1822. `gunlicense` int(11) NOT NULL DEFAULT 0,
  1823. `togglevehicle` tinyint(1) NOT NULL DEFAULT 0,
  1824. `hunger` int(10) NOT NULL DEFAULT 100,
  1825. `thirst` int(10) NOT NULL DEFAULT 100,
  1826. `mask` int(10) DEFAULT 0,
  1827. PRIMARY KEY (`uid`) USING BTREE,
  1828. UNIQUE KEY `uid_UNIQUE` (`uid`)
  1829. ) ENGINE=InnoDB AUTO_INCREMENT=273 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
  1830. /*!40101 SET character_set_client = @saved_cs_client */;
  1831. --
  1832. -- Table structure for table `vehicles`
  1833. --
  1834. DROP TABLE IF EXISTS `vehicles`;
  1835. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1836. /*!40101 SET character_set_client = utf8 */;
  1837. CREATE TABLE `vehicles` (
  1838. `id` int(10) NOT NULL AUTO_INCREMENT,
  1839. `ownerid` int(10) DEFAULT 0,
  1840. `owner` varchar(24) DEFAULT 'Nobody',
  1841. `modelid` smallint(3) DEFAULT 0,
  1842. `price` int(10) DEFAULT 0,
  1843. `tickets` int(10) DEFAULT 0,
  1844. `locked` tinyint(1) DEFAULT 0,
  1845. `plate` varchar(32) DEFAULT 'None',
  1846. `fuel` tinyint(3) DEFAULT 100,
  1847. `health` float DEFAULT 1000,
  1848. `pos_x` float DEFAULT 0,
  1849. `pos_y` float DEFAULT 0,
  1850. `pos_z` float DEFAULT 0,
  1851. `pos_a` float DEFAULT 0,
  1852. `color1` smallint(3) DEFAULT 0,
  1853. `color2` smallint(3) DEFAULT 0,
  1854. `paintjob` tinyint(2) DEFAULT -1,
  1855. `interior` tinyint(2) DEFAULT 0,
  1856. `world` int(10) DEFAULT 0,
  1857. `neon` smallint(5) DEFAULT 0,
  1858. `neonenabled` tinyint(1) DEFAULT 0,
  1859. `trunk` tinyint(1) DEFAULT 0,
  1860. `mod_1` smallint(4) DEFAULT 0,
  1861. `mod_2` smallint(4) DEFAULT 0,
  1862. `mod_3` smallint(4) DEFAULT 0,
  1863. `mod_4` smallint(4) DEFAULT 0,
  1864. `mod_5` smallint(4) DEFAULT 0,
  1865. `mod_6` smallint(4) DEFAULT 0,
  1866. `mod_7` smallint(4) DEFAULT 0,
  1867. `mod_8` smallint(4) DEFAULT 0,
  1868. `mod_9` smallint(4) DEFAULT 0,
  1869. `mod_10` smallint(4) DEFAULT 0,
  1870. `mod_11` smallint(4) DEFAULT 0,
  1871. `mod_12` smallint(4) DEFAULT 0,
  1872. `mod_13` smallint(4) DEFAULT 0,
  1873. `mod_14` smallint(4) DEFAULT 0,
  1874. `cash` int(10) DEFAULT 0,
  1875. `materials` int(10) DEFAULT 0,
  1876. `weed` int(10) DEFAULT 0,
  1877. `cocaine` int(10) DEFAULT 0,
  1878. `meth` int(10) DEFAULT 0,
  1879. `painkillers` int(10) DEFAULT 0,
  1880. `weapon_1` tinyint(2) DEFAULT 0,
  1881. `weapon_2` tinyint(2) DEFAULT 0,
  1882. `weapon_3` tinyint(2) DEFAULT 0,
  1883. `ammo_1` smallint(5) DEFAULT 0,
  1884. `ammo_2` smallint(5) DEFAULT 0,
  1885. `ammo_3` smallint(5) DEFAULT 0,
  1886. `gangid` tinyint(2) DEFAULT -1,
  1887. `factiontype` tinyint(2) DEFAULT 0,
  1888. `vippackage` tinyint(2) NOT NULL DEFAULT 0,
  1889. `job` tinyint(2) DEFAULT -1,
  1890. `respawndelay` int(10) DEFAULT 0,
  1891. `pistolammo` smallint(5) DEFAULT 0,
  1892. `shotgunammo` smallint(5) DEFAULT 0,
  1893. `smgammo` smallint(5) DEFAULT 0,
  1894. `arammo` smallint(5) DEFAULT 0,
  1895. `rifleammo` smallint(5) DEFAULT 0,
  1896. `hpammo` smallint(5) DEFAULT 0,
  1897. `poisonammo` smallint(5) DEFAULT 0,
  1898. `fmjammo` smallint(5) DEFAULT 0,
  1899. `alarm` tinyint(2) NOT NULL DEFAULT 0,
  1900. `weapon_4` tinyint(2) NOT NULL DEFAULT 0,
  1901. `weapon_5` tinyint(2) NOT NULL DEFAULT 0,
  1902. `siren` tinyint(2) DEFAULT 0,
  1903. `rank` tinyint(3) DEFAULT 0,
  1904. `approved` bit(1) NOT NULL DEFAULT b'0',
  1905. `rented` int(1) DEFAULT 0,
  1906. PRIMARY KEY (`id`) USING BTREE,
  1907. UNIQUE KEY `id_UNIQUE` (`id`)
  1908. ) ENGINE=InnoDB AUTO_INCREMENT=300 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
  1909. /*!40101 SET character_set_client = @saved_cs_client */;
  1910. --
  1911. -- Table structure for table `weapons`
  1912. --
  1913. DROP TABLE IF EXISTS `weapons`;
  1914. /*!40101 SET @saved_cs_client = @@character_set_client */;
  1915. /*!40101 SET character_set_client = utf8 */;
  1916. CREATE TABLE `weapons` (
  1917. `uid` int(10) DEFAULT NULL,
  1918. `slot` tinyint(2) DEFAULT NULL,
  1919. `weaponid` tinyint(2) DEFAULT NULL,
  1920. `ammo` smallint(5) DEFAULT NULL,
  1921. `id` int(100) NOT NULL AUTO_INCREMENT,
  1922. PRIMARY KEY (`id`),
  1923. UNIQUE KEY `id_UNIQUE` (`id`),
  1924. UNIQUE KEY `uid` (`uid`,`slot`) USING BTREE
  1925. ) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ROW_FORMAT=COMPACT;
  1926. /*!40101 SET character_set_client = @saved_cs_client */;
  1927. /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
  1928. /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
  1929. /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
  1930. /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
  1931. /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
  1932. /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
  1933. /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
  1934. /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
  1935. -- Dump completed on 2023-12-12 1:16:10