1
0

prime_roleplay.sql 53 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910
  1. -- phpMyAdmin SQL Dump
  2. -- version 5.1.1
  3. -- https://www.phpmyadmin.net/
  4. --
  5. -- Host: 127.0.0.1
  6. -- Generation Time: Aug 14, 2022 at 06:13 PM
  7. -- Server version: 10.4.22-MariaDB
  8. -- PHP Version: 7.4.27
  9. SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
  10. START TRANSACTION;
  11. SET time_zone = "+00:00";
  12. /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
  13. /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
  14. /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
  15. /*!40101 SET NAMES utf8mb4 */;
  16. --
  17. -- Database: `ssarp_novolsrp`
  18. --
  19. -- --------------------------------------------------------
  20. --
  21. -- Table structure for table `accounts`
  22. --
  23. CREATE TABLE `accounts` (
  24. `ID` int(11) NOT NULL,
  25. `Username` varchar(24) DEFAULT NULL,
  26. `Password` varchar(129) DEFAULT NULL,
  27. `Online` int(11) NOT NULL DEFAULT 0,
  28. `Quiz` int(11) NOT NULL DEFAULT 0,
  29. `Admin` int(11) NOT NULL DEFAULT 0,
  30. `DonateRank` int(11) NOT NULL DEFAULT 0,
  31. `Email` varchar(32) NOT NULL,
  32. `SecretWord` varchar(24) NOT NULL,
  33. `SecretHint` varchar(24) NOT NULL,
  34. `RegisterDate` timestamp NOT NULL DEFAULT current_timestamp(),
  35. `LoginDate` int(11) NOT NULL DEFAULT 0,
  36. `IP` varchar(16) DEFAULT 'n/a',
  37. `LastIP` varchar(60) NOT NULL DEFAULT 'N/A',
  38. `answer1` varchar(5000) NOT NULL,
  39. `answer2` varchar(5000) NOT NULL,
  40. `answered_questions` int(11) NOT NULL DEFAULT 0,
  41. `Namechanges` int(11) NOT NULL DEFAULT 0,
  42. `Phonechanges` int(11) NOT NULL DEFAULT 0,
  43. `Discord` varchar(256) NOT NULL,
  44. `Forum` varchar(60) NOT NULL,
  45. `AdminNote` varchar(256) NOT NULL,
  46. `Serial` varchar(128) NOT NULL
  47. ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  48. --
  49. -- Dumping data for table `accounts`
  50. --
  51. INSERT INTO `accounts` (`ID`, `Username`, `Password`, `Online`, `Quiz`, `Admin`, `DonateRank`, `Email`, `SecretWord`, `SecretHint`, `RegisterDate`, `LoginDate`, `IP`, `LastIP`, `answer1`, `answer2`, `answered_questions`, `Namechanges`, `Phonechanges`, `Discord`, `Forum`, `AdminNote`, `Serial`) VALUES
  52. (1, 'Pitix', '4E0658D00F47D86D19A0E792E4BB94B16DB2E902D307DA5637F57CF60E7A174CB4BB6D7095621745B2065DF0C87B77AF69F5D0FBD63359AD3CC6B72F076C3E1E', 0, 0, 6, 0, 'pitix@gmail.com', '0', '', '2022-08-09 15:48:53', 1660061509, 'n/a', '127.0.0.1', '', '', 0, 0, 0, '', '', '', 'F8CF9F4E9DECC554C89CDD05E4FA9C4D48FD08C5');
  53. -- --------------------------------------------------------
  54. --
  55. -- Table structure for table `advertisement`
  56. --
  57. CREATE TABLE `advertisement` (
  58. `a_id` int(11) NOT NULL,
  59. `charid` int(11) NOT NULL,
  60. `text` text NOT NULL,
  61. `time` int(11) NOT NULL
  62. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  63. -- --------------------------------------------------------
  64. --
  65. -- Table structure for table `apartments`
  66. --
  67. CREATE TABLE `apartments` (
  68. `ID` int(11) NOT NULL,
  69. `ePosX` float NOT NULL,
  70. `ePosY` float NOT NULL,
  71. `ePosZ` float NOT NULL,
  72. `iPosX` float NOT NULL DEFAULT 0,
  73. `iPosY` float NOT NULL DEFAULT 0,
  74. `iPosZ` float NOT NULL DEFAULT 0,
  75. `interior` int(11) NOT NULL DEFAULT 0,
  76. `world` int(11) NOT NULL DEFAULT 0,
  77. `name` varchar(60) NOT NULL,
  78. `ownerSQLID` int(11) NOT NULL DEFAULT -1,
  79. `owner` varchar(24) NOT NULL DEFAULT 'The State',
  80. `owned` int(11) NOT NULL DEFAULT 0,
  81. `locked` int(11) NOT NULL DEFAULT 0,
  82. `price` int(11) NOT NULL DEFAULT 100000,
  83. `levelbuy` int(11) NOT NULL DEFAULT 1,
  84. `rentprice` int(11) NOT NULL DEFAULT 0,
  85. `rentable` int(11) NOT NULL DEFAULT 0,
  86. `faction` int(11) NOT NULL DEFAULT -1,
  87. `pickup` int(11) NOT NULL DEFAULT 1
  88. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  89. -- --------------------------------------------------------
  90. --
  91. -- Table structure for table `application`
  92. --
  93. CREATE TABLE `application` (
  94. `id` int(10) UNSIGNED NOT NULL,
  95. `master` int(11) NOT NULL,
  96. `char_name` varchar(24) NOT NULL,
  97. `story` varchar(5000) NOT NULL,
  98. `ip_address` varchar(60) NOT NULL,
  99. `country_name` varchar(40) NOT NULL,
  100. `country_code` varchar(10) NOT NULL,
  101. `status` int(11) NOT NULL DEFAULT 0,
  102. `reviewed_by` int(11) NOT NULL DEFAULT -1,
  103. `accepted` int(11) NOT NULL DEFAULT 0,
  104. `reason` varchar(3000) NOT NULL,
  105. `date_of_submit` timestamp NOT NULL DEFAULT current_timestamp(),
  106. `date_of_review` varchar(24) NOT NULL,
  107. `date_of_verdict` varchar(60) NOT NULL,
  108. `origin` varchar(26) NOT NULL,
  109. `gender` varchar(26) NOT NULL,
  110. `age` int(11) NOT NULL,
  111. `skin` int(11) NOT NULL DEFAULT 264
  112. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  113. -- --------------------------------------------------------
  114. --
  115. -- Table structure for table `ateles`
  116. --
  117. CREATE TABLE `ateles` (
  118. `id` int(11) NOT NULL,
  119. `mapname` varchar(255) DEFAULT NULL,
  120. `posx` float DEFAULT NULL,
  121. `posy` float DEFAULT NULL,
  122. `posz` float DEFAULT NULL,
  123. `interior` int(11) DEFAULT NULL
  124. ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  125. -- --------------------------------------------------------
  126. --
  127. -- Table structure for table `atms`
  128. --
  129. CREATE TABLE `atms` (
  130. `ID` int(11) NOT NULL,
  131. `posX` float NOT NULL,
  132. `posY` float NOT NULL,
  133. `posZ` float NOT NULL,
  134. `rotX` float NOT NULL,
  135. `rotY` float NOT NULL,
  136. `rotZ` float NOT NULL,
  137. `CreatedBy` varchar(24) NOT NULL
  138. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  139. -- --------------------------------------------------------
  140. --
  141. -- Table structure for table `bans`
  142. --
  143. CREATE TABLE `bans` (
  144. `id` int(11) NOT NULL,
  145. `name` varchar(24) DEFAULT NULL,
  146. `bannedby` varchar(24) NOT NULL,
  147. `reason` varchar(100) DEFAULT NULL,
  148. `playerIP` varchar(100) DEFAULT NULL,
  149. `perm` int(11) NOT NULL DEFAULT 1,
  150. `date` timestamp NOT NULL DEFAULT current_timestamp(),
  151. `expire` datetime NOT NULL,
  152. `serial` varchar(80) NOT NULL
  153. ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  154. -- --------------------------------------------------------
  155. --
  156. -- Table structure for table `business`
  157. --
  158. CREATE TABLE `business` (
  159. `biz_id` int(11) NOT NULL,
  160. `biz_owned` int(11) NOT NULL,
  161. `biz_owner` varchar(32) NOT NULL DEFAULT 'The State',
  162. `biz_info` varchar(256) NOT NULL,
  163. `biz_items` varchar(256) NOT NULL,
  164. `biz_type` int(11) NOT NULL,
  165. `biz_subtype` int(11) NOT NULL,
  166. `biz_enX` float NOT NULL,
  167. `biz_enY` float NOT NULL,
  168. `biz_enZ` float NOT NULL,
  169. `biz_etX` float NOT NULL,
  170. `biz_etY` float NOT NULL,
  171. `biz_etZ` float NOT NULL,
  172. `biz_level` int(11) NOT NULL,
  173. `biz_price` int(11) NOT NULL,
  174. `biz_encost` int(11) NOT NULL,
  175. `biz_till` int(11) NOT NULL,
  176. `biz_locked` int(11) NOT NULL,
  177. `biz_interior` int(11) NOT NULL,
  178. `biz_world` int(11) NOT NULL,
  179. `biz_prod` int(11) NOT NULL,
  180. `biz_maxprod` int(11) NOT NULL,
  181. `biz_priceprod` int(11) NOT NULL,
  182. `biz_carX` float NOT NULL DEFAULT 0,
  183. `biz_carY` float NOT NULL DEFAULT 0,
  184. `biz_carZ` float NOT NULL DEFAULT 0,
  185. `biz_carA` float NOT NULL DEFAULT 0,
  186. `biz_boatX` float NOT NULL DEFAULT 0,
  187. `biz_boatY` float NOT NULL DEFAULT 0,
  188. `biz_boatZ` float NOT NULL DEFAULT 0,
  189. `biz_boatA` float NOT NULL DEFAULT 0,
  190. `biz_airX` float NOT NULL DEFAULT 0,
  191. `biz_airY` float NOT NULL DEFAULT 0,
  192. `biz_airZ` float NOT NULL DEFAULT 0,
  193. `biz_airA` int(11) NOT NULL DEFAULT 0
  194. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  195. -- --------------------------------------------------------
  196. --
  197. -- Table structure for table `business_furnitures`
  198. --
  199. CREATE TABLE `business_furnitures` (
  200. `id` int(11) NOT NULL,
  201. `model` int(11) DEFAULT -1,
  202. `name` varchar(255) DEFAULT NULL,
  203. `houseid` int(11) DEFAULT -1,
  204. `interior` int(11) DEFAULT 0,
  205. `virworld` int(11) DEFAULT 0,
  206. `marketprice` int(11) DEFAULT 0,
  207. `posx` float DEFAULT 0,
  208. `posy` float DEFAULT 0,
  209. `posz` float DEFAULT 0,
  210. `posrx` float DEFAULT 0,
  211. `posry` float DEFAULT 0,
  212. `posrz` float DEFAULT 0,
  213. `matModel1` int(11) NOT NULL DEFAULT -1,
  214. `matModel2` int(11) NOT NULL DEFAULT -1,
  215. `matModel3` int(11) NOT NULL DEFAULT -1,
  216. `matTxd1` varchar(32) NOT NULL DEFAULT 'none',
  217. `matTxd2` varchar(32) NOT NULL DEFAULT 'none',
  218. `matTxd3` varchar(32) NOT NULL DEFAULT 'none',
  219. `matTexture1` varchar(32) NOT NULL DEFAULT 'none',
  220. `matTexture2` varchar(32) NOT NULL DEFAULT 'none',
  221. `matTexture3` varchar(32) NOT NULL DEFAULT 'none',
  222. `matColor1` varchar(32) NOT NULL DEFAULT '0xFFFFFFFF',
  223. `matColor2` varchar(32) NOT NULL DEFAULT '0xFFFFFFFF',
  224. `matColor3` varchar(32) NOT NULL DEFAULT '0xFFFFFFFF'
  225. ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  226. -- --------------------------------------------------------
  227. --
  228. -- Table structure for table `cars`
  229. --
  230. CREATE TABLE `cars` (
  231. `carID` int(11) NOT NULL,
  232. `carModel` int(11) DEFAULT 0,
  233. `carOwner` int(11) DEFAULT 0,
  234. `carName` varchar(64) NOT NULL,
  235. `carUItag` varchar(15) NOT NULL,
  236. `carPosX` float DEFAULT 0,
  237. `carPosY` float DEFAULT 0,
  238. `carPosZ` float DEFAULT 0,
  239. `carPosR` float DEFAULT 0,
  240. `carColor1` int(11) DEFAULT 0,
  241. `carColor2` int(11) DEFAULT 0,
  242. `carPaintjob` int(11) DEFAULT 3,
  243. `carLocked` int(11) DEFAULT 0,
  244. `carMod1` int(11) DEFAULT 0,
  245. `carMod2` int(11) DEFAULT 0,
  246. `carMod3` int(11) DEFAULT 0,
  247. `carMod4` int(11) DEFAULT 0,
  248. `carMod5` int(11) DEFAULT 0,
  249. `carMod6` int(11) DEFAULT 0,
  250. `carMod7` int(11) DEFAULT 0,
  251. `carMod8` int(11) DEFAULT 0,
  252. `carMod9` int(11) DEFAULT 0,
  253. `carMod10` int(11) DEFAULT 0,
  254. `carMod11` int(11) DEFAULT 0,
  255. `carMod12` int(11) DEFAULT 0,
  256. `carMod13` int(11) DEFAULT 0,
  257. `carMod14` int(11) DEFAULT 0,
  258. `carFuel` float DEFAULT 100,
  259. `carXM` int(11) NOT NULL DEFAULT 0,
  260. `carInsurance` int(11) DEFAULT 0,
  261. `carInsuranceOwe` int(11) NOT NULL,
  262. `carInsuranceTime` int(11) NOT NULL,
  263. `carDamage1` int(11) DEFAULT 0,
  264. `carDamage2` int(11) DEFAULT 0,
  265. `carDamage3` int(11) DEFAULT 0,
  266. `carDamage4` int(11) DEFAULT 0,
  267. `carDestroyed` int(11) DEFAULT 0,
  268. `carHealth` float DEFAULT 0,
  269. `carArmour` float NOT NULL DEFAULT 0,
  270. `carLock` int(11) DEFAULT 0,
  271. `carMileage` float DEFAULT 0,
  272. `carImmob` int(11) DEFAULT 0,
  273. `carAlarm` int(11) NOT NULL DEFAULT 0,
  274. `carBatteryL` float NOT NULL DEFAULT 100,
  275. `carEngineL` float NOT NULL DEFAULT 100,
  276. `carPlate` varchar(32) NOT NULL DEFAULT 'None',
  277. `carDate` int(11) DEFAULT NULL,
  278. `carComps` int(11) NOT NULL DEFAULT 0,
  279. `carDuplicate` int(11) NOT NULL,
  280. `licenseWeapons` varchar(255) NOT NULL,
  281. `carWeapon0` int(11) NOT NULL,
  282. `carWeapon1` int(11) NOT NULL,
  283. `carWeapon2` int(11) NOT NULL,
  284. `carWeapon3` int(11) NOT NULL,
  285. `carAmmo0` int(11) NOT NULL,
  286. `carAmmo1` int(11) NOT NULL,
  287. `carAmmo2` int(11) NOT NULL,
  288. `carAmmo3` int(11) NOT NULL,
  289. `carPlacePos` varchar(255) NOT NULL,
  290. `carPackageWeapons` varchar(255) NOT NULL
  291. ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  292. -- --------------------------------------------------------
  293. --
  294. -- Table structure for table `characters`
  295. --
  296. CREATE TABLE `characters` (
  297. `ID` int(11) NOT NULL,
  298. `master` int(11) NOT NULL,
  299. `char_name` varchar(24) NOT NULL DEFAULT 'Test_Test',
  300. `Online` int(11) NOT NULL DEFAULT 0,
  301. `Tutorial` int(11) DEFAULT 0,
  302. `Activated` int(11) NOT NULL DEFAULT 0,
  303. `Model` int(11) DEFAULT 264,
  304. `PhoneNumbr` int(11) NOT NULL DEFAULT 0,
  305. `PhoneModel` int(11) NOT NULL DEFAULT 0,
  306. `PhoneSilent` int(11) NOT NULL DEFAULT 0,
  307. `PhoneAir` int(11) NOT NULL DEFAULT 0,
  308. `PhoneRingtone` int(11) NOT NULL DEFAULT 0,
  309. `PhoneTextRingtone` int(11) NOT NULL,
  310. `PosX` float DEFAULT 0,
  311. `PosY` float DEFAULT 0,
  312. `PosZ` float DEFAULT 0,
  313. `PosA` float DEFAULT 0,
  314. `Local` int(11) NOT NULL DEFAULT 255,
  315. `SpawnHealth` float NOT NULL DEFAULT 50,
  316. `Hunger` float NOT NULL DEFAULT 0,
  317. `Health` float NOT NULL DEFAULT 150,
  318. `Armour` float NOT NULL DEFAULT 0,
  319. `Interior` int(11) DEFAULT 0,
  320. `World` int(11) DEFAULT 0,
  321. `Faction` int(11) NOT NULL DEFAULT -1,
  322. `FactionRank` int(11) NOT NULL DEFAULT 0,
  323. `FactionSpawn` int(11) NOT NULL DEFAULT 0,
  324. `Injured` int(11) NOT NULL DEFAULT 0,
  325. `playerTimeout` int(11) NOT NULL DEFAULT 0,
  326. `timeoutProp` int(11) NOT NULL DEFAULT -1,
  327. `timeoutApp` int(11) NOT NULL DEFAULT -1,
  328. `timeoutBizz` int(11) NOT NULL DEFAULT -1,
  329. `SpawnPoint` int(11) NOT NULL DEFAULT 0,
  330. `PlayingHours` int(11) NOT NULL DEFAULT 0,
  331. `PlayingSeconds` int(11) NOT NULL DEFAULT 0,
  332. `CreateDate` int(11) DEFAULT 0,
  333. `LastLogin` int(11) DEFAULT 0,
  334. `LastIP` varchar(16) NOT NULL,
  335. `Level` int(11) NOT NULL DEFAULT 1,
  336. `Exp` int(11) NOT NULL DEFAULT 0,
  337. `ExpCounter` int(11) NOT NULL DEFAULT 0,
  338. `MedicBill` int(11) NOT NULL DEFAULT 0,
  339. `plaUpgrade` int(11) NOT NULL DEFAULT 0,
  340. `DonateRank` int(11) NOT NULL DEFAULT 0,
  341. `DonateExpired` int(11) NOT NULL DEFAULT 0,
  342. `PayDay` int(11) NOT NULL DEFAULT 0,
  343. `PayDayHad` int(11) NOT NULL DEFAULT 0,
  344. `PayCheck` int(11) NOT NULL DEFAULT 0,
  345. `ChequeCash` int(11) NOT NULL,
  346. `BankAccount` int(11) NOT NULL DEFAULT 5000,
  347. `Cash` int(11) NOT NULL DEFAULT 10000,
  348. `Savings` int(11) NOT NULL DEFAULT 0,
  349. `SavingsCollect` int(11) NOT NULL,
  350. `playerHouseKey` int(11) NOT NULL DEFAULT -1,
  351. `playerComplexKey` int(11) NOT NULL DEFAULT -1,
  352. `PlayerBusinessKey` int(11) NOT NULL DEFAULT -1,
  353. `Gun1` int(11) NOT NULL DEFAULT 0,
  354. `Gun2` int(11) NOT NULL DEFAULT 0,
  355. `Gun3` int(11) NOT NULL DEFAULT 0,
  356. `Ammo1` int(11) NOT NULL DEFAULT 0,
  357. `Ammo2` int(11) NOT NULL DEFAULT 0,
  358. `Ammo3` int(11) NOT NULL DEFAULT 0,
  359. `OnDuty` int(11) NOT NULL DEFAULT 0,
  360. `OnDutySkin` int(11) NOT NULL DEFAULT 0,
  361. `FavUniform` int(11) NOT NULL DEFAULT 0,
  362. `Radio` int(11) NOT NULL DEFAULT 0,
  363. `RadioChannel` int(11) NOT NULL DEFAULT 0,
  364. `RadioSlot` int(11) NOT NULL DEFAULT 0,
  365. `playerJob` int(11) NOT NULL DEFAULT 0,
  366. `playerSideJob` int(11) NOT NULL DEFAULT 0,
  367. `playerJobRank` int(11) NOT NULL DEFAULT 0,
  368. `ContractTime` int(11) NOT NULL DEFAULT 0,
  369. `playerCareer` int(11) NOT NULL DEFAULT 0,
  370. `PlayerCarkey` int(11) NOT NULL DEFAULT 9999,
  371. `Checkpoint_Type` int(11) NOT NULL DEFAULT -1,
  372. `Checkpoint_X` float NOT NULL DEFAULT 0,
  373. `Checkpoint_Y` float NOT NULL DEFAULT 0,
  374. `Checkpoint_Z` float NOT NULL DEFAULT 0,
  375. `Fishes` int(11) NOT NULL DEFAULT 0,
  376. `QAPoint` int(11) NOT NULL DEFAULT 0,
  377. `Masked` int(11) NOT NULL DEFAULT 0,
  378. `MaskID` int(11) NOT NULL DEFAULT 0,
  379. `MaskIDEx` int(11) NOT NULL DEFAULT 0,
  380. `Attribute` varchar(500) NOT NULL,
  381. `Jailed` int(11) NOT NULL,
  382. `SentenceTime` int(11) NOT NULL,
  383. `Incarcerated` int(11) NOT NULL DEFAULT 0,
  384. `FightStyle` int(11) NOT NULL DEFAULT 1,
  385. `CarLic` int(11) NOT NULL,
  386. `CarLicWarns` int(11) NOT NULL DEFAULT 0,
  387. `CarLicSuspended` int(11) NOT NULL DEFAULT 0,
  388. `FlyLic` int(11) NOT NULL DEFAULT 0,
  389. `MedLic` int(11) NOT NULL DEFAULT 0,
  390. `TruckLic` int(11) NOT NULL DEFAULT 0,
  391. `WepLic` int(11) NOT NULL,
  392. `ADPoint` int(11) NOT NULL,
  393. `PackageWeapons` varchar(255) NOT NULL,
  394. `PrimaryLicense` int(11) NOT NULL,
  395. `SecondaryLicense` int(11) NOT NULL,
  396. `CCWLicense` int(11) NOT NULL,
  397. `pWalk` int(11) NOT NULL DEFAULT 1,
  398. `pTalk` int(11) NOT NULL DEFAULT 0,
  399. `pJog` int(11) NOT NULL DEFAULT 1,
  400. `pHUDStyle` int(11) NOT NULL DEFAULT 0,
  401. `HudToggle` int(11) NOT NULL DEFAULT 0,
  402. `LoginToggle` int(11) NOT NULL DEFAULT 0,
  403. `LoginSound` int(11) NOT NULL DEFAULT 0,
  404. `LoginNotify` int(11) NOT NULL DEFAULT 0,
  405. `MainSlot` int(11) NOT NULL DEFAULT 1,
  406. `PrisonSkin` int(11) NOT NULL DEFAULT 0,
  407. `PrisonTimes` int(11) NOT NULL DEFAULT 0,
  408. `JailTimes` int(11) NOT NULL DEFAULT 0,
  409. `ActiveListings` int(11) NOT NULL DEFAULT 0,
  410. `SprayBanned` int(11) NOT NULL DEFAULT 0,
  411. `Cigarettes` int(11) NOT NULL DEFAULT 0,
  412. `Drinks` int(11) NOT NULL DEFAULT 0,
  413. `GasCan` int(11) NOT NULL DEFAULT 0,
  414. `TotalDamages` int(11) NOT NULL DEFAULT 0,
  415. `LastBlow` int(11) NOT NULL DEFAULT 0,
  416. `Knockout` int(11) NOT NULL DEFAULT 0,
  417. `DrugStamp` int(11) NOT NULL DEFAULT 0,
  418. `AdminDuty` int(11) NOT NULL DEFAULT 0,
  419. `TesterDuty` int(11) NOT NULL DEFAULT 0
  420. ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  421. --
  422. -- Dumping data for table `characters`
  423. --
  424. INSERT INTO `characters` (`ID`, `master`, `char_name`, `Online`, `Tutorial`, `Activated`, `Model`, `PhoneNumbr`, `PhoneModel`, `PhoneSilent`, `PhoneAir`, `PhoneRingtone`, `PhoneTextRingtone`, `PosX`, `PosY`, `PosZ`, `PosA`, `Local`, `SpawnHealth`, `Hunger`, `Health`, `Armour`, `Interior`, `World`, `Faction`, `FactionRank`, `FactionSpawn`, `Injured`, `playerTimeout`, `timeoutProp`, `timeoutApp`, `timeoutBizz`, `SpawnPoint`, `PlayingHours`, `PlayingSeconds`, `CreateDate`, `LastLogin`, `LastIP`, `Level`, `Exp`, `ExpCounter`, `MedicBill`, `plaUpgrade`, `DonateRank`, `DonateExpired`, `PayDay`, `PayDayHad`, `PayCheck`, `ChequeCash`, `BankAccount`, `Cash`, `Savings`, `SavingsCollect`, `playerHouseKey`, `playerComplexKey`, `PlayerBusinessKey`, `Gun1`, `Gun2`, `Gun3`, `Ammo1`, `Ammo2`, `Ammo3`, `OnDuty`, `OnDutySkin`, `FavUniform`, `Radio`, `RadioChannel`, `RadioSlot`, `playerJob`, `playerSideJob`, `playerJobRank`, `ContractTime`, `playerCareer`, `PlayerCarkey`, `Checkpoint_Type`, `Checkpoint_X`, `Checkpoint_Y`, `Checkpoint_Z`, `Fishes`, `QAPoint`, `Masked`, `MaskID`, `MaskIDEx`, `Attribute`, `Jailed`, `SentenceTime`, `Incarcerated`, `FightStyle`, `CarLic`, `CarLicWarns`, `CarLicSuspended`, `FlyLic`, `MedLic`, `TruckLic`, `WepLic`, `ADPoint`, `PackageWeapons`, `PrimaryLicense`, `SecondaryLicense`, `CCWLicense`, `pWalk`, `pTalk`, `pJog`, `pHUDStyle`, `HudToggle`, `LoginToggle`, `LoginSound`, `LoginNotify`, `MainSlot`, `PrisonSkin`, `PrisonTimes`, `JailTimes`, `ActiveListings`, `SprayBanned`, `Cigarettes`, `Drinks`, `GasCan`, `TotalDamages`, `LastBlow`, `Knockout`, `DrugStamp`, `AdminDuty`, `TesterDuty`) VALUES
  425. (1, 1, 'Pitix_Test', 0, 1, 1, 264, 132221, 0, 0, 0, 0, 0, 1042.46, 757.609, 10.8719, 232.058, 255, 50, 0, 150, 0, 0, 0, 5, 1, 0, 0, 0, -1, -1, -1, 0, 0, 1277, 0, 1660061510, '127.0.0.1', 1, 0, 1277, 0, 0, 0, 0, 1277, 0, 0, 0, 5000, 9350, 0, 0, -1, -1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9999, -1, 0, 0, 0, 0, 0, 0, 334786, 59, '', 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
  426. -- --------------------------------------------------------
  427. --
  428. -- Table structure for table `cheques`
  429. --
  430. CREATE TABLE `cheques` (
  431. `id` int(6) UNSIGNED ZEROFILL NOT NULL,
  432. `owner_ID` int(11) NOT NULL,
  433. `sender` varchar(255) NOT NULL,
  434. `reciever` varchar(255) NOT NULL,
  435. `amount` int(11) NOT NULL,
  436. `code` varchar(255) NOT NULL,
  437. `stamp` timestamp NOT NULL DEFAULT current_timestamp()
  438. ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  439. -- --------------------------------------------------------
  440. --
  441. -- Table structure for table `clothing`
  442. --
  443. CREATE TABLE `clothing` (
  444. `id` int(11) NOT NULL,
  445. `object` int(11) NOT NULL,
  446. `x` float NOT NULL,
  447. `y` float NOT NULL,
  448. `z` float NOT NULL,
  449. `rx` float NOT NULL,
  450. `ry` float NOT NULL,
  451. `rz` float NOT NULL,
  452. `bone` int(11) NOT NULL,
  453. `slot` int(11) NOT NULL,
  454. `owner` int(11) NOT NULL,
  455. `equip` tinyint(1) NOT NULL,
  456. `scalex` float NOT NULL DEFAULT 1,
  457. `scaley` float NOT NULL DEFAULT 1,
  458. `scalez` float NOT NULL DEFAULT 1,
  459. `name` varchar(32) NOT NULL
  460. ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  461. -- --------------------------------------------------------
  462. --
  463. -- Table structure for table `criminal_record`
  464. --
  465. CREATE TABLE `criminal_record` (
  466. `idx` int(11) NOT NULL,
  467. `userid` int(11) NOT NULL,
  468. `player_name` varchar(32) NOT NULL,
  469. `issuer_name` varchar(32) NOT NULL,
  470. `charge_type` int(11) NOT NULL,
  471. `charge_quote` varchar(128) NOT NULL,
  472. `charges_count` int(11) NOT NULL DEFAULT 0,
  473. `charge_idx` int(11) NOT NULL DEFAULT 0,
  474. `charge_row` int(11) NOT NULL DEFAULT 0,
  475. `add_date` varchar(90) NOT NULL,
  476. `add_time` varchar(90) NOT NULL,
  477. `arrest_record` varchar(2000) NOT NULL
  478. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  479. -- --------------------------------------------------------
  480. --
  481. -- Table structure for table `damages`
  482. --
  483. CREATE TABLE `damages` (
  484. `ID` int(11) NOT NULL,
  485. `damageTaken` int(11) NOT NULL,
  486. `damageTime` int(11) NOT NULL,
  487. `damageWeapon` int(11) NOT NULL,
  488. `damageBodypart` int(11) NOT NULL,
  489. `damageArmor` int(11) NOT NULL,
  490. `damageBy` int(11) NOT NULL,
  491. `playerID` int(11) NOT NULL
  492. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  493. -- --------------------------------------------------------
  494. --
  495. -- Table structure for table `emergency`
  496. --
  497. CREATE TABLE `emergency` (
  498. `id` int(11) NOT NULL,
  499. `name` varchar(32) NOT NULL,
  500. `number` int(11) NOT NULL,
  501. `service` varchar(16) NOT NULL,
  502. `trace` varchar(32) NOT NULL,
  503. `location` varchar(32) NOT NULL,
  504. `situation` varchar(128) NOT NULL,
  505. `time` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
  506. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  507. -- --------------------------------------------------------
  508. --
  509. -- Table structure for table `factions`
  510. --
  511. CREATE TABLE `factions` (
  512. `factionID` int(11) NOT NULL,
  513. `factionName` varchar(60) DEFAULT NULL,
  514. `factionLeader` varchar(24) NOT NULL,
  515. `factionShort` varchar(20) NOT NULL,
  516. `factionColor` int(11) DEFAULT 0,
  517. `factionColorChat` int(11) NOT NULL,
  518. `factionType` int(11) DEFAULT 0,
  519. `factionMaxMembers` int(11) NOT NULL DEFAULT 90,
  520. `factionMaxVehicles` int(11) NOT NULL DEFAULT 10,
  521. `factionRanks` int(11) DEFAULT 0,
  522. `factionRank1` varchar(32) DEFAULT NULL,
  523. `factionRank2` varchar(32) DEFAULT NULL,
  524. `factionRank3` varchar(32) DEFAULT NULL,
  525. `factionRank4` varchar(32) DEFAULT NULL,
  526. `factionRank5` varchar(32) DEFAULT NULL,
  527. `factionRank6` varchar(32) DEFAULT NULL,
  528. `factionRank7` varchar(32) DEFAULT NULL,
  529. `factionRank8` varchar(32) DEFAULT NULL,
  530. `factionRank9` varchar(32) DEFAULT NULL,
  531. `factionRank10` varchar(32) DEFAULT NULL,
  532. `factionRank11` varchar(32) DEFAULT NULL,
  533. `factionRank12` varchar(32) DEFAULT NULL,
  534. `factionRank13` varchar(32) DEFAULT NULL,
  535. `factionRank14` varchar(32) DEFAULT NULL,
  536. `factionRank15` varchar(32) DEFAULT NULL,
  537. `factionRank16` varchar(32) DEFAULT NULL,
  538. `factionRank17` varchar(32) DEFAULT NULL,
  539. `factionRank18` varchar(32) DEFAULT NULL,
  540. `factionRank19` varchar(32) DEFAULT NULL
  541. ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  542. --
  543. -- Dumping data for table `factions`
  544. --
  545. INSERT INTO `factions` (`factionID`, `factionName`, `factionLeader`, `factionShort`, `factionColor`, `factionColorChat`, `factionType`, `factionMaxMembers`, `factionMaxVehicles`, `factionRanks`, `factionRank1`, `factionRank2`, `factionRank3`, `factionRank4`, `factionRank5`, `factionRank6`, `factionRank7`, `factionRank8`, `factionRank9`, `factionRank10`, `factionRank11`, `factionRank12`, `factionRank13`, `factionRank14`, `factionRank15`, `factionRank16`, `factionRank17`, `factionRank18`, `factionRank19`) VALUES
  546. (1, 'POLICIJA', 'Pitix_Test', 'N/A', -1, 33357823, 1, 90, 100, 19, 'Rank 1', 'Rank 2', 'Rank 3', 'Rank 4', '', '', '', '', '', '', '', '', '', '', '', '', '', '', NULL),
  547. (2, 'POLICIJA', 'Pitix_Test', 'N/A', -1, 33357823, 1, 90, 100, 19, 'Rank 1', 'Rank 2', 'Rank 3', 'Rank 4', '', '', '', '', '', '', '', '', '', '', '', '', '', '', NULL),
  548. (3, 'HIGH', 'Pitix_Test', 'N/A', -1, 33357823, 6, 90, 100, 19, 'Rank 1', 'Rank 2', 'Rank 3', 'Rank 4', '', '', '', '', '', '', '', '', '', '', '', '', '', '', NULL),
  549. (4, 'najjaci', 'Pitix_Test', 'N/A', -1, 33357823, 7, 90, 100, 19, 'Rank 1', 'Rank 2', 'Rank 3', 'Rank 4', '', '', '', '', '', '', '', '', '', '', '', '', '', '', NULL),
  550. (5, 'VATROGASCI', 'Pitix_Test', 'N/A', -1, 33357823, 3, 90, 100, 19, 'Rank 1', 'Rank 2', 'Rank 3', 'Rank 4', '', '', '', '', '', '', '', '', '', '', '', '', '', '', NULL);
  551. -- --------------------------------------------------------
  552. --
  553. -- Table structure for table `factionspawns`
  554. --
  555. CREATE TABLE `factionspawns` (
  556. `id` int(11) NOT NULL,
  557. `factionID` float NOT NULL,
  558. `SpawnX` float NOT NULL,
  559. `SpawnY` float NOT NULL,
  560. `SpawnZ` float NOT NULL,
  561. `SpawnA` float NOT NULL,
  562. `Interior` int(11) NOT NULL,
  563. `World` int(11) NOT NULL,
  564. `Apartment` int(11) NOT NULL DEFAULT -1,
  565. `Local` int(11) NOT NULL,
  566. `Name` varchar(64) NOT NULL
  567. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  568. --
  569. -- Dumping data for table `factionspawns`
  570. --
  571. INSERT INTO `factionspawns` (`id`, `factionID`, `SpawnX`, `SpawnY`, `SpawnZ`, `SpawnA`, `Interior`, `World`, `Apartment`, `Local`, `Name`) VALUES
  572. (1, 1, 0, 0, 0, 0, 0, 0, -1, 0, 'Primary Spawn'),
  573. (2, 2, 0, 0, 0, 0, 0, 0, -1, 0, 'Primary Spawn'),
  574. (3, 3, 0, 0, 0, 0, 0, 0, -1, 0, 'Primary Spawn'),
  575. (4, 4, 0, 0, 0, 0, 0, 0, -1, 0, 'Primary Spawn'),
  576. (5, 5, 0, 0, 0, 0, 0, 0, -1, 0, 'Primary Spawn');
  577. -- --------------------------------------------------------
  578. --
  579. -- Table structure for table `fines`
  580. --
  581. CREATE TABLE `fines` (
  582. `id` int(11) NOT NULL,
  583. `cop` varchar(255) NOT NULL,
  584. `addressee` varchar(255) NOT NULL,
  585. `agency` varchar(255) NOT NULL,
  586. `date` timestamp NOT NULL DEFAULT current_timestamp(),
  587. `price` int(11) NOT NULL,
  588. `reason` varchar(255) NOT NULL,
  589. `exp` int(11) NOT NULL,
  590. `type` int(11) NOT NULL COMMENT '0 - Player, 1 - Vehicle'
  591. ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  592. -- --------------------------------------------------------
  593. --
  594. -- Table structure for table `flags`
  595. --
  596. CREATE TABLE `flags` (
  597. `ID` int(11) NOT NULL,
  598. `Text` varchar(256) NOT NULL,
  599. `userid` int(11) NOT NULL,
  600. `master_name` varchar(24) NOT NULL,
  601. `char_name` varchar(24) NOT NULL,
  602. `admin_name` varchar(24) NOT NULL
  603. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  604. -- --------------------------------------------------------
  605. --
  606. -- Table structure for table `gates`
  607. --
  608. CREATE TABLE `gates` (
  609. `id` int(11) NOT NULL,
  610. `model` int(11) DEFAULT NULL,
  611. `faction` int(11) DEFAULT NULL,
  612. `posx` float DEFAULT NULL,
  613. `posy` float DEFAULT NULL,
  614. `posz` float DEFAULT NULL,
  615. `posrx` float DEFAULT NULL,
  616. `posry` float DEFAULT NULL,
  617. `posrz` float DEFAULT NULL,
  618. `interior` int(11) DEFAULT NULL,
  619. `virworld` int(11) DEFAULT NULL,
  620. `name` varchar(255) DEFAULT NULL,
  621. `openspeed` float NOT NULL,
  622. `movex` float NOT NULL,
  623. `movey` float NOT NULL,
  624. `movez` float NOT NULL,
  625. `moverx` float NOT NULL,
  626. `movery` float NOT NULL,
  627. `moverz` float NOT NULL
  628. ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  629. -- --------------------------------------------------------
  630. --
  631. -- Table structure for table `houses`
  632. --
  633. CREATE TABLE `houses` (
  634. `id` int(11) NOT NULL,
  635. `posx` float DEFAULT 0,
  636. `posy` float DEFAULT 0,
  637. `posz` float DEFAULT 0,
  638. `exitx` float DEFAULT 0,
  639. `exity` float DEFAULT 0,
  640. `exitz` float DEFAULT 0,
  641. `info` varchar(128) NOT NULL,
  642. `ownerSQLID` int(11) NOT NULL DEFAULT -1,
  643. `owner` varchar(255) DEFAULT NULL,
  644. `owned` int(11) DEFAULT 0,
  645. `locked` int(11) DEFAULT 0,
  646. `price` int(11) DEFAULT 0,
  647. `levelbuy` int(11) DEFAULT 0,
  648. `rentprice` int(11) DEFAULT 0,
  649. `rentable` int(11) DEFAULT 0,
  650. `interior` int(11) DEFAULT 0,
  651. `world` int(11) DEFAULT 0,
  652. `cash` int(11) DEFAULT 0,
  653. `weapons` text DEFAULT NULL,
  654. `checkx` float DEFAULT 0,
  655. `checky` float DEFAULT 0,
  656. `checkz` float DEFAULT 0,
  657. `radio` int(11) DEFAULT NULL,
  658. `subid` int(11) NOT NULL DEFAULT -1,
  659. `items` varchar(64) NOT NULL,
  660. `complex` int(11) NOT NULL DEFAULT -1,
  661. `scriptid` int(11) NOT NULL DEFAULT -1
  662. ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  663. --
  664. -- Dumping data for table `houses`
  665. --
  666. INSERT INTO `houses` (`id`, `posx`, `posy`, `posz`, `exitx`, `exity`, `exitz`, `info`, `ownerSQLID`, `owner`, `owned`, `locked`, `price`, `levelbuy`, `rentprice`, `rentable`, `interior`, `world`, `cash`, `weapons`, `checkx`, `checky`, `checkz`, `radio`, `subid`, `items`, `complex`, `scriptid`) VALUES
  667. (1, 1638.4, -1865.79, 25.3662, 45.8963, 1439.56, 1082.41, 'Azalea Street, Verdant Bluffs, Los Santos 216', -1, 'The State', 0, 1, 1, 0, 0, 0, 0, 600, 0, NULL, 45.8963, 1439.56, 1082.41, 0, -1, '', -1, 0);
  668. -- --------------------------------------------------------
  669. --
  670. -- Table structure for table `house_furnitures`
  671. --
  672. CREATE TABLE `house_furnitures` (
  673. `id` int(11) NOT NULL,
  674. `model` int(11) DEFAULT -1,
  675. `name` varchar(255) DEFAULT NULL,
  676. `houseid` int(11) DEFAULT -1,
  677. `interior` int(11) DEFAULT 0,
  678. `virworld` int(11) DEFAULT 0,
  679. `marketprice` int(11) DEFAULT 0,
  680. `posx` float DEFAULT 0,
  681. `posy` float DEFAULT 0,
  682. `posz` float DEFAULT 0,
  683. `posrx` float DEFAULT 0,
  684. `posry` float DEFAULT 0,
  685. `posrz` float DEFAULT 0,
  686. `matModel1` int(11) NOT NULL DEFAULT -1,
  687. `matModel2` int(11) NOT NULL DEFAULT -1,
  688. `matModel3` int(11) NOT NULL DEFAULT -1,
  689. `matTxd1` varchar(32) NOT NULL DEFAULT 'none',
  690. `matTxd2` varchar(32) NOT NULL DEFAULT 'none',
  691. `matTxd3` varchar(32) NOT NULL DEFAULT 'none',
  692. `matTexture1` varchar(32) NOT NULL DEFAULT 'none',
  693. `matTexture2` varchar(32) NOT NULL DEFAULT 'none',
  694. `matTexture3` varchar(32) NOT NULL DEFAULT 'none',
  695. `matColor1` varchar(32) NOT NULL DEFAULT '0xFFFFFFFF',
  696. `matColor2` varchar(32) NOT NULL DEFAULT '0xFFFFFFFF',
  697. `matColor3` varchar(32) NOT NULL DEFAULT '0xFFFFFFFF'
  698. ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  699. -- --------------------------------------------------------
  700. --
  701. -- Table structure for table `industry`
  702. --
  703. CREATE TABLE `industry` (
  704. `id` int(11) NOT NULL,
  705. `posx` float NOT NULL,
  706. `posy` float NOT NULL,
  707. `posz` float NOT NULL,
  708. `item` int(11) NOT NULL,
  709. `industryid` int(11) NOT NULL,
  710. `trading_type` int(11) NOT NULL,
  711. `price` int(11) NOT NULL,
  712. `consumption` int(11) NOT NULL,
  713. `stock` int(11) NOT NULL,
  714. `maximum` int(11) NOT NULL
  715. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  716. -- --------------------------------------------------------
  717. --
  718. -- Table structure for table `logs_all`
  719. --
  720. CREATE TABLE `logs_all` (
  721. `ID` int(11) NOT NULL,
  722. `User` int(11) NOT NULL,
  723. `Log` varchar(256) NOT NULL,
  724. `Timestamp` int(11) NOT NULL
  725. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  726. --
  727. -- Dumping data for table `logs_all`
  728. --
  729. INSERT INTO `logs_all` (`ID`, `User`, `Log`, `Timestamp`) VALUES
  730. (1, 1, 'SPECTATING to SPAWNED', 1660060237),
  731. (2, 1, 'SPAWNED to ON FOOT', 1660060237),
  732. (3, 1, 'ON FOOT to FRONT SEAT (VID 9, DB -1)', 1660060246),
  733. (4, 1, 'FRONT SEAT to ON FOOT', 1660060276),
  734. (5, 1, 'ON FOOT to FRONT SEAT (VID 22, DB -1)', 1660060361),
  735. (6, 1, 'SPAWNED to ON FOOT', 1660060481),
  736. (7, 1, 'Killed by with Fists', 1660060484),
  737. (8, 1, 'SPAWNED to ON FOOT', 1660060484),
  738. (9, 1, 'SPAWNED to ON FOOT', 1660060487),
  739. (10, 1, 'SPAWNED to ON FOOT', 1660060490),
  740. (11, 1, 'ON FOOT to FRONT SEAT (VID 23, DB -1)', 1660060557),
  741. (12, 1, 'FRONT SEAT to ON FOOT', 1660060710),
  742. (13, 1, 'ON FOOT to FRONT SEAT (VID 24, DB -1)', 1660060903),
  743. (14, 1, 'FRONT SEAT to ON FOOT', 1660061139),
  744. (15, 1, 'ON FOOT to FRONT SEAT (VID 24, DB -1)', 1660061146),
  745. (16, 1, 'FRONT SEAT to ON FOOT', 1660061286),
  746. (17, 1, 'ON FOOT to FRONT SEAT (VID 24, DB -1)', 1660061300),
  747. (18, 1, 'FRONT SEAT to ON FOOT', 1660061319),
  748. (19, 1, 'Left the server (timeout) [P:18, PL:2.068326]', 1660061447),
  749. (20, 1, 'Logged In', 1660061510),
  750. (21, 1, 'SPECTATING to SPAWNED', 1660061510),
  751. (22, 1, 'SPAWNED to ON FOOT', 1660061510),
  752. (23, 1, 'Left the server (quit) [P:-1, PL:0.000000]', 1660061635);
  753. -- --------------------------------------------------------
  754. --
  755. -- Table structure for table `logs_ban`
  756. --
  757. CREATE TABLE `logs_ban` (
  758. `id` int(11) NOT NULL,
  759. `IP` varchar(16) DEFAULT '0.0.0.0',
  760. `Character` varchar(24) DEFAULT NULL,
  761. `BannedBy` varchar(24) DEFAULT NULL,
  762. `Reason` varchar(128) DEFAULT NULL,
  763. `Date` timestamp NOT NULL DEFAULT current_timestamp(),
  764. `character_id` int(11) NOT NULL DEFAULT -1,
  765. `user_id` int(11) NOT NULL DEFAULT -1
  766. ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  767. -- --------------------------------------------------------
  768. --
  769. -- Table structure for table `logs_connection`
  770. --
  771. CREATE TABLE `logs_connection` (
  772. `id` int(11) NOT NULL,
  773. `ip` varchar(255) NOT NULL,
  774. `master` varchar(24) NOT NULL,
  775. `char_name` varchar(24) NOT NULL,
  776. `stamp` timestamp NOT NULL DEFAULT current_timestamp(),
  777. `disconnected` datetime NOT NULL,
  778. `serial` varchar(128) NOT NULL
  779. ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  780. --
  781. -- Dumping data for table `logs_connection`
  782. --
  783. INSERT INTO `logs_connection` (`id`, `ip`, `master`, `char_name`, `stamp`, `disconnected`, `serial`) VALUES
  784. (1, '127.0.0.1', 'Pitiks_Test', '', '2022-08-09 15:45:01', '0000-00-00 00:00:00', 'F8CF9F4E9DECC554C89CDD05E4FA9C4D48FD08C5'),
  785. (2, '127.0.0.1', 'Pitix', 'Pitix_Test', '2022-08-09 15:49:21', '2022-08-09 18:10:47', 'F8CF9F4E9DECC554C89CDD05E4FA9C4D48FD08C5'),
  786. (3, '127.0.0.1', 'Pitix', 'Pitix_Test', '2022-08-09 16:11:25', '2022-08-09 18:13:55', 'F8CF9F4E9DECC554C89CDD05E4FA9C4D48FD08C5');
  787. -- --------------------------------------------------------
  788. --
  789. -- Table structure for table `logs_death`
  790. --
  791. CREATE TABLE `logs_death` (
  792. `id` int(10) UNSIGNED NOT NULL,
  793. `killer` varchar(64) NOT NULL,
  794. `victim` varchar(64) NOT NULL,
  795. `reason` smallint(6) NOT NULL,
  796. `killerid` int(11) NOT NULL,
  797. `victimid` int(11) NOT NULL,
  798. `stamp` timestamp NOT NULL DEFAULT current_timestamp()
  799. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  800. --
  801. -- Dumping data for table `logs_death`
  802. --
  803. INSERT INTO `logs_death` (`id`, `killer`, `victim`, `reason`, `killerid`, `victimid`, `stamp`) VALUES
  804. (1, 'N/A', 'Pitix Test', 54, -1, 1, '2022-08-09 15:54:35'),
  805. (2, 'N/A', 'Pitix Test', 255, -1, 1, '2022-08-09 15:54:41'),
  806. (3, 'N/A', 'Pitix Test', 255, -1, 1, '2022-08-09 15:54:44'),
  807. (4, 'N/A', 'Pitix Test', 255, -1, 1, '2022-08-09 15:54:47');
  808. -- --------------------------------------------------------
  809. --
  810. -- Table structure for table `logs_jail`
  811. --
  812. CREATE TABLE `logs_jail` (
  813. `id` int(11) NOT NULL,
  814. `IP` varchar(16) DEFAULT '0.0.0.0',
  815. `Character` varchar(24) DEFAULT NULL,
  816. `JailedBy` varchar(24) DEFAULT NULL,
  817. `Minutes` int(11) NOT NULL,
  818. `Reason` varchar(128) DEFAULT NULL,
  819. `Date` timestamp NOT NULL DEFAULT current_timestamp(),
  820. `character_id` int(11) NOT NULL DEFAULT -1,
  821. `user_id` int(11) NOT NULL DEFAULT -1
  822. ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  823. -- --------------------------------------------------------
  824. --
  825. -- Table structure for table `logs_kick`
  826. --
  827. CREATE TABLE `logs_kick` (
  828. `id` int(11) NOT NULL,
  829. `IP` varchar(16) DEFAULT '0.0.0.0',
  830. `Character` varchar(24) DEFAULT NULL,
  831. `KickedBy` varchar(24) DEFAULT NULL,
  832. `Reason` varchar(128) DEFAULT NULL,
  833. `Date` timestamp NOT NULL DEFAULT current_timestamp(),
  834. `character_id` int(11) NOT NULL DEFAULT -1,
  835. `user_id` int(11) NOT NULL DEFAULT -1
  836. ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  837. -- --------------------------------------------------------
  838. --
  839. -- Table structure for table `logs_mask`
  840. --
  841. CREATE TABLE `logs_mask` (
  842. `id` int(10) UNSIGNED NOT NULL,
  843. `admin` int(11) NOT NULL,
  844. `action_key` varchar(128) NOT NULL,
  845. `action_log` varchar(255) NOT NULL,
  846. `stamp` timestamp NOT NULL DEFAULT current_timestamp()
  847. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  848. -- --------------------------------------------------------
  849. --
  850. -- Table structure for table `logs_spray`
  851. --
  852. CREATE TABLE `logs_spray` (
  853. `ID` int(11) NOT NULL,
  854. `SprayID` int(11) NOT NULL,
  855. `Log` varchar(256) NOT NULL,
  856. `Timestamp` int(11) NOT NULL
  857. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  858. -- --------------------------------------------------------
  859. --
  860. -- Table structure for table `motd`
  861. --
  862. CREATE TABLE `motd` (
  863. `id` int(11) NOT NULL,
  864. `Line1` varchar(256) NOT NULL,
  865. `Line2` varchar(256) NOT NULL,
  866. `Line3` varchar(256) NOT NULL,
  867. `Line4` varchar(256) NOT NULL,
  868. `Line5` varchar(256) NOT NULL,
  869. `EditedBy` varchar(24) NOT NULL,
  870. `EditedDate` varchar(128) NOT NULL
  871. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  872. -- --------------------------------------------------------
  873. --
  874. -- Table structure for table `movedoors`
  875. --
  876. CREATE TABLE `movedoors` (
  877. `id` int(11) NOT NULL,
  878. `model` int(11) DEFAULT NULL,
  879. `faction` int(11) DEFAULT NULL,
  880. `posx` float DEFAULT NULL,
  881. `posy` float DEFAULT NULL,
  882. `posz` float DEFAULT NULL,
  883. `posrx` float DEFAULT NULL,
  884. `posry` float DEFAULT NULL,
  885. `posrz` float DEFAULT NULL,
  886. `interior` int(11) DEFAULT NULL,
  887. `virworld` int(11) DEFAULT NULL,
  888. `name` varchar(255) DEFAULT NULL,
  889. `openspeed` float NOT NULL,
  890. `movex` float NOT NULL,
  891. `movey` float NOT NULL,
  892. `movez` float NOT NULL,
  893. `moverx` float NOT NULL,
  894. `movery` float NOT NULL,
  895. `moverz` float NOT NULL
  896. ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  897. -- --------------------------------------------------------
  898. --
  899. -- Table structure for table `namechanges`
  900. --
  901. CREATE TABLE `namechanges` (
  902. `namechangeid` int(11) NOT NULL,
  903. `charid` int(11) NOT NULL,
  904. `oldname` varchar(24) NOT NULL,
  905. `newname` varchar(24) NOT NULL,
  906. `time` timestamp NOT NULL DEFAULT current_timestamp()
  907. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  908. -- --------------------------------------------------------
  909. --
  910. -- Table structure for table `notifications`
  911. --
  912. CREATE TABLE `notifications` (
  913. `ID` int(11) NOT NULL,
  914. `master` int(11) NOT NULL,
  915. `title` varchar(60) NOT NULL,
  916. `body` varchar(1500) DEFAULT '0',
  917. `time` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  918. `read` int(11) DEFAULT 0,
  919. `sender` varchar(24) NOT NULL,
  920. `friend` int(11) NOT NULL DEFAULT 0
  921. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  922. -- --------------------------------------------------------
  923. --
  924. -- Table structure for table `particles`
  925. --
  926. CREATE TABLE `particles` (
  927. `ID` int(11) NOT NULL,
  928. `Creator` varchar(24) NOT NULL,
  929. `Model` int(11) NOT NULL,
  930. `PosX` float NOT NULL DEFAULT 0,
  931. `PosY` float NOT NULL DEFAULT 0,
  932. `PosZ` float NOT NULL DEFAULT 0,
  933. `RotX` float NOT NULL DEFAULT 0,
  934. `RotY` float NOT NULL DEFAULT 0,
  935. `RotZ` float NOT NULL DEFAULT 0,
  936. `Stamp` int(11) NOT NULL
  937. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  938. -- --------------------------------------------------------
  939. --
  940. -- Table structure for table `phone_contacts`
  941. --
  942. CREATE TABLE `phone_contacts` (
  943. `contactID` int(11) NOT NULL,
  944. `contactAdded` int(11) NOT NULL,
  945. `contactAddee` int(11) NOT NULL,
  946. `contactName` varchar(24) NOT NULL
  947. ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  948. -- --------------------------------------------------------
  949. --
  950. -- Table structure for table `phone_sms`
  951. --
  952. CREATE TABLE `phone_sms` (
  953. `id` int(11) NOT NULL,
  954. `PhoneOwner` int(11) NOT NULL,
  955. `PhoneReceive` int(11) NOT NULL,
  956. `PhoneSMS` varchar(128) NOT NULL,
  957. `ReadSMS` int(11) NOT NULL DEFAULT 0,
  958. `Archive` int(11) NOT NULL DEFAULT 0,
  959. `Date` varchar(36) NOT NULL
  960. ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  961. -- --------------------------------------------------------
  962. --
  963. -- Table structure for table `player_drugs`
  964. --
  965. CREATE TABLE `player_drugs` (
  966. `idx` int(11) NOT NULL,
  967. `drugType` int(11) NOT NULL,
  968. `drugAmount` float NOT NULL,
  969. `drugStrength` float NOT NULL,
  970. `drugStorage` int(11) NOT NULL,
  971. `drugStamp` int(11) NOT NULL,
  972. `PlayerSQLID` int(11) NOT NULL
  973. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  974. -- --------------------------------------------------------
  975. --
  976. -- Table structure for table `points`
  977. --
  978. CREATE TABLE `points` (
  979. `ID` int(11) NOT NULL,
  980. `outsideX` float NOT NULL,
  981. `outsideY` float NOT NULL,
  982. `outsideZ` float NOT NULL,
  983. `outsideA` float NOT NULL,
  984. `insideX` float NOT NULL DEFAULT 0,
  985. `insideY` float NOT NULL DEFAULT 0,
  986. `insideZ` float NOT NULL DEFAULT 0,
  987. `insideA` float NOT NULL DEFAULT 0,
  988. `outsideApartment` int(11) NOT NULL DEFAULT -1,
  989. `insideApartment` int(11) NOT NULL DEFAULT -1,
  990. `pointRange` float NOT NULL DEFAULT 3,
  991. `pointType` int(11) NOT NULL DEFAULT 0,
  992. `pointLocked` int(11) NOT NULL DEFAULT 0,
  993. `pointFaction` int(11) NOT NULL DEFAULT -1,
  994. `pointName` varchar(80) NOT NULL
  995. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  996. -- --------------------------------------------------------
  997. --
  998. -- Table structure for table `radio`
  999. --
  1000. CREATE TABLE `radio` (
  1001. `id` int(11) NOT NULL,
  1002. `channel` int(11) NOT NULL,
  1003. `slot` int(11) NOT NULL,
  1004. `owner` int(11) NOT NULL,
  1005. `password` varchar(16) NOT NULL DEFAULT 'None'
  1006. ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  1007. -- --------------------------------------------------------
  1008. --
  1009. -- Table structure for table `radio_station`
  1010. --
  1011. CREATE TABLE `radio_station` (
  1012. `id` int(11) NOT NULL,
  1013. `genres_id` int(11) NOT NULL,
  1014. `subgenres_id` int(11) NOT NULL,
  1015. `station_name` varchar(255) NOT NULL,
  1016. `station_url` varchar(500) NOT NULL
  1017. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  1018. -- --------------------------------------------------------
  1019. --
  1020. -- Table structure for table `signal_tower`
  1021. --
  1022. CREATE TABLE `signal_tower` (
  1023. `id` int(11) NOT NULL,
  1024. `t_posX` float NOT NULL,
  1025. `t_posY` float NOT NULL,
  1026. `t_posZ` float NOT NULL,
  1027. `t_range` float NOT NULL,
  1028. `t_name` varchar(64) NOT NULL
  1029. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  1030. -- --------------------------------------------------------
  1031. --
  1032. -- Table structure for table `spraylocations`
  1033. --
  1034. CREATE TABLE `spraylocations` (
  1035. `ID` int(11) NOT NULL,
  1036. `creator` varchar(24) NOT NULL DEFAULT 'N/A',
  1037. `name` varchar(256) DEFAULT NULL,
  1038. `posX` float NOT NULL,
  1039. `posY` float NOT NULL,
  1040. `posZ` float NOT NULL,
  1041. `rotX` float NOT NULL,
  1042. `rotY` float NOT NULL,
  1043. `rotZ` float NOT NULL,
  1044. `model` int(11) NOT NULL,
  1045. `defaultModel` int(11) NOT NULL DEFAULT -1,
  1046. `font` varchar(24) NOT NULL DEFAULT 'Arial'
  1047. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  1048. -- --------------------------------------------------------
  1049. --
  1050. -- Table structure for table `ucp_friends`
  1051. --
  1052. CREATE TABLE `ucp_friends` (
  1053. `ID` int(11) NOT NULL,
  1054. `friendName` varchar(24) NOT NULL,
  1055. `playerName` varchar(24) NOT NULL,
  1056. `friendID` int(11) NOT NULL,
  1057. `playerID` int(11) NOT NULL,
  1058. `friendPending` int(11) NOT NULL DEFAULT 1
  1059. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  1060. -- --------------------------------------------------------
  1061. --
  1062. -- Table structure for table `ucp_logins`
  1063. --
  1064. CREATE TABLE `ucp_logins` (
  1065. `id` int(11) NOT NULL,
  1066. `User` varchar(24) NOT NULL,
  1067. `IP` varchar(24) NOT NULL,
  1068. `Browser` varchar(24) NOT NULL,
  1069. `OS` varchar(24) NOT NULL,
  1070. `Date` timestamp NOT NULL DEFAULT current_timestamp()
  1071. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  1072. --
  1073. -- Dumping data for table `ucp_logins`
  1074. --
  1075. INSERT INTO `ucp_logins` (`id`, `User`, `IP`, `Browser`, `OS`, `Date`) VALUES
  1076. (1, 'Pitix', '::1', 'Chrome', 'Windows 10', '2022-08-11 19:47:37'),
  1077. (2, 'Pitix', '::1', 'Chrome', 'Windows 10', '2022-08-11 19:51:23');
  1078. -- --------------------------------------------------------
  1079. --
  1080. -- Table structure for table `vehicles`
  1081. --
  1082. CREATE TABLE `vehicles` (
  1083. `vehicleID` int(11) NOT NULL,
  1084. `vehicleModelID` int(11) NOT NULL DEFAULT 0,
  1085. `vehiclePosX` varchar(255) NOT NULL DEFAULT '0',
  1086. `vehiclePosY` varchar(255) NOT NULL DEFAULT '0',
  1087. `vehiclePosZ` varchar(255) NOT NULL DEFAULT '0',
  1088. `vehiclePosRotation` varchar(255) NOT NULL DEFAULT '0',
  1089. `vehicleFaction` int(11) NOT NULL DEFAULT -1,
  1090. `vehiclePlate` varchar(24) NOT NULL,
  1091. `vehicleSiren` int(11) NOT NULL DEFAULT 0,
  1092. `vehicleCol1` int(11) NOT NULL DEFAULT -1,
  1093. `vehicleCol2` int(11) NOT NULL DEFAULT -1,
  1094. `vehicleSign` varchar(50) NOT NULL
  1095. ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  1096. -- --------------------------------------------------------
  1097. --
  1098. -- Table structure for table `vehicle_drugs`
  1099. --
  1100. CREATE TABLE `vehicle_drugs` (
  1101. `idx` int(11) NOT NULL,
  1102. `drugType` int(11) NOT NULL,
  1103. `drugAmount` float NOT NULL,
  1104. `drugStrength` float NOT NULL,
  1105. `drugStorage` int(11) NOT NULL,
  1106. `drugStamp` int(11) NOT NULL,
  1107. `vehicle` int(11) NOT NULL
  1108. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  1109. -- --------------------------------------------------------
  1110. --
  1111. -- Table structure for table `weapon`
  1112. --
  1113. CREATE TABLE `weapon` (
  1114. `id` int(11) NOT NULL,
  1115. `weaponid` int(11) NOT NULL,
  1116. `x` float NOT NULL,
  1117. `y` float NOT NULL,
  1118. `z` float NOT NULL,
  1119. `rx` float NOT NULL,
  1120. `ry` float NOT NULL,
  1121. `rz` float NOT NULL,
  1122. `bone` int(11) NOT NULL,
  1123. `owner` int(11) NOT NULL,
  1124. `hide` tinyint(1) NOT NULL
  1125. ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  1126. --
  1127. -- Indexes for dumped tables
  1128. --
  1129. --
  1130. -- Indexes for table `accounts`
  1131. --
  1132. ALTER TABLE `accounts`
  1133. ADD PRIMARY KEY (`ID`);
  1134. --
  1135. -- Indexes for table `advertisement`
  1136. --
  1137. ALTER TABLE `advertisement`
  1138. ADD PRIMARY KEY (`a_id`);
  1139. --
  1140. -- Indexes for table `apartments`
  1141. --
  1142. ALTER TABLE `apartments`
  1143. ADD PRIMARY KEY (`ID`);
  1144. --
  1145. -- Indexes for table `application`
  1146. --
  1147. ALTER TABLE `application`
  1148. ADD PRIMARY KEY (`id`);
  1149. --
  1150. -- Indexes for table `ateles`
  1151. --
  1152. ALTER TABLE `ateles`
  1153. ADD PRIMARY KEY (`id`);
  1154. --
  1155. -- Indexes for table `atms`
  1156. --
  1157. ALTER TABLE `atms`
  1158. ADD PRIMARY KEY (`ID`);
  1159. --
  1160. -- Indexes for table `bans`
  1161. --
  1162. ALTER TABLE `bans`
  1163. ADD PRIMARY KEY (`id`);
  1164. --
  1165. -- Indexes for table `business`
  1166. --
  1167. ALTER TABLE `business`
  1168. ADD PRIMARY KEY (`biz_id`);
  1169. --
  1170. -- Indexes for table `business_furnitures`
  1171. --
  1172. ALTER TABLE `business_furnitures`
  1173. ADD PRIMARY KEY (`id`);
  1174. --
  1175. -- Indexes for table `cars`
  1176. --
  1177. ALTER TABLE `cars`
  1178. ADD PRIMARY KEY (`carID`);
  1179. --
  1180. -- Indexes for table `characters`
  1181. --
  1182. ALTER TABLE `characters`
  1183. ADD PRIMARY KEY (`ID`);
  1184. --
  1185. -- Indexes for table `cheques`
  1186. --
  1187. ALTER TABLE `cheques`
  1188. ADD PRIMARY KEY (`id`);
  1189. --
  1190. -- Indexes for table `clothing`
  1191. --
  1192. ALTER TABLE `clothing`
  1193. ADD PRIMARY KEY (`id`);
  1194. --
  1195. -- Indexes for table `criminal_record`
  1196. --
  1197. ALTER TABLE `criminal_record`
  1198. ADD PRIMARY KEY (`idx`);
  1199. --
  1200. -- Indexes for table `damages`
  1201. --
  1202. ALTER TABLE `damages`
  1203. ADD PRIMARY KEY (`ID`);
  1204. --
  1205. -- Indexes for table `emergency`
  1206. --
  1207. ALTER TABLE `emergency`
  1208. ADD PRIMARY KEY (`id`);
  1209. --
  1210. -- Indexes for table `factions`
  1211. --
  1212. ALTER TABLE `factions`
  1213. ADD PRIMARY KEY (`factionID`);
  1214. --
  1215. -- Indexes for table `factionspawns`
  1216. --
  1217. ALTER TABLE `factionspawns`
  1218. ADD PRIMARY KEY (`id`);
  1219. --
  1220. -- Indexes for table `fines`
  1221. --
  1222. ALTER TABLE `fines`
  1223. ADD PRIMARY KEY (`id`);
  1224. --
  1225. -- Indexes for table `flags`
  1226. --
  1227. ALTER TABLE `flags`
  1228. ADD PRIMARY KEY (`ID`);
  1229. --
  1230. -- Indexes for table `gates`
  1231. --
  1232. ALTER TABLE `gates`
  1233. ADD PRIMARY KEY (`id`);
  1234. --
  1235. -- Indexes for table `houses`
  1236. --
  1237. ALTER TABLE `houses`
  1238. ADD PRIMARY KEY (`id`);
  1239. --
  1240. -- Indexes for table `house_furnitures`
  1241. --
  1242. ALTER TABLE `house_furnitures`
  1243. ADD PRIMARY KEY (`id`);
  1244. --
  1245. -- Indexes for table `industry`
  1246. --
  1247. ALTER TABLE `industry`
  1248. ADD PRIMARY KEY (`id`);
  1249. --
  1250. -- Indexes for table `logs_all`
  1251. --
  1252. ALTER TABLE `logs_all`
  1253. ADD PRIMARY KEY (`ID`);
  1254. --
  1255. -- Indexes for table `logs_ban`
  1256. --
  1257. ALTER TABLE `logs_ban`
  1258. ADD PRIMARY KEY (`id`);
  1259. --
  1260. -- Indexes for table `logs_connection`
  1261. --
  1262. ALTER TABLE `logs_connection`
  1263. ADD PRIMARY KEY (`id`);
  1264. --
  1265. -- Indexes for table `logs_death`
  1266. --
  1267. ALTER TABLE `logs_death`
  1268. ADD PRIMARY KEY (`id`);
  1269. --
  1270. -- Indexes for table `logs_jail`
  1271. --
  1272. ALTER TABLE `logs_jail`
  1273. ADD PRIMARY KEY (`id`);
  1274. --
  1275. -- Indexes for table `logs_kick`
  1276. --
  1277. ALTER TABLE `logs_kick`
  1278. ADD PRIMARY KEY (`id`);
  1279. --
  1280. -- Indexes for table `logs_mask`
  1281. --
  1282. ALTER TABLE `logs_mask`
  1283. ADD PRIMARY KEY (`id`);
  1284. --
  1285. -- Indexes for table `logs_spray`
  1286. --
  1287. ALTER TABLE `logs_spray`
  1288. ADD PRIMARY KEY (`ID`);
  1289. --
  1290. -- Indexes for table `motd`
  1291. --
  1292. ALTER TABLE `motd`
  1293. ADD PRIMARY KEY (`id`);
  1294. --
  1295. -- Indexes for table `movedoors`
  1296. --
  1297. ALTER TABLE `movedoors`
  1298. ADD PRIMARY KEY (`id`);
  1299. --
  1300. -- Indexes for table `namechanges`
  1301. --
  1302. ALTER TABLE `namechanges`
  1303. ADD PRIMARY KEY (`namechangeid`);
  1304. --
  1305. -- Indexes for table `notifications`
  1306. --
  1307. ALTER TABLE `notifications`
  1308. ADD PRIMARY KEY (`ID`);
  1309. --
  1310. -- Indexes for table `particles`
  1311. --
  1312. ALTER TABLE `particles`
  1313. ADD PRIMARY KEY (`ID`);
  1314. --
  1315. -- Indexes for table `phone_contacts`
  1316. --
  1317. ALTER TABLE `phone_contacts`
  1318. ADD PRIMARY KEY (`contactID`);
  1319. --
  1320. -- Indexes for table `phone_sms`
  1321. --
  1322. ALTER TABLE `phone_sms`
  1323. ADD PRIMARY KEY (`id`);
  1324. --
  1325. -- Indexes for table `player_drugs`
  1326. --
  1327. ALTER TABLE `player_drugs`
  1328. ADD PRIMARY KEY (`idx`);
  1329. --
  1330. -- Indexes for table `points`
  1331. --
  1332. ALTER TABLE `points`
  1333. ADD PRIMARY KEY (`ID`);
  1334. --
  1335. -- Indexes for table `radio`
  1336. --
  1337. ALTER TABLE `radio`
  1338. ADD PRIMARY KEY (`id`);
  1339. --
  1340. -- Indexes for table `radio_station`
  1341. --
  1342. ALTER TABLE `radio_station`
  1343. ADD PRIMARY KEY (`id`);
  1344. --
  1345. -- Indexes for table `signal_tower`
  1346. --
  1347. ALTER TABLE `signal_tower`
  1348. ADD PRIMARY KEY (`id`);
  1349. --
  1350. -- Indexes for table `spraylocations`
  1351. --
  1352. ALTER TABLE `spraylocations`
  1353. ADD PRIMARY KEY (`ID`);
  1354. --
  1355. -- Indexes for table `ucp_friends`
  1356. --
  1357. ALTER TABLE `ucp_friends`
  1358. ADD PRIMARY KEY (`ID`);
  1359. --
  1360. -- Indexes for table `ucp_logins`
  1361. --
  1362. ALTER TABLE `ucp_logins`
  1363. ADD PRIMARY KEY (`id`);
  1364. --
  1365. -- Indexes for table `vehicles`
  1366. --
  1367. ALTER TABLE `vehicles`
  1368. ADD PRIMARY KEY (`vehicleID`);
  1369. --
  1370. -- Indexes for table `vehicle_drugs`
  1371. --
  1372. ALTER TABLE `vehicle_drugs`
  1373. ADD PRIMARY KEY (`idx`);
  1374. --
  1375. -- Indexes for table `weapon`
  1376. --
  1377. ALTER TABLE `weapon`
  1378. ADD PRIMARY KEY (`id`);
  1379. --
  1380. -- AUTO_INCREMENT for dumped tables
  1381. --
  1382. --
  1383. -- AUTO_INCREMENT for table `accounts`
  1384. --
  1385. ALTER TABLE `accounts`
  1386. MODIFY `ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
  1387. --
  1388. -- AUTO_INCREMENT for table `advertisement`
  1389. --
  1390. ALTER TABLE `advertisement`
  1391. MODIFY `a_id` int(11) NOT NULL AUTO_INCREMENT;
  1392. --
  1393. -- AUTO_INCREMENT for table `apartments`
  1394. --
  1395. ALTER TABLE `apartments`
  1396. MODIFY `ID` int(11) NOT NULL AUTO_INCREMENT;
  1397. --
  1398. -- AUTO_INCREMENT for table `application`
  1399. --
  1400. ALTER TABLE `application`
  1401. MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
  1402. --
  1403. -- AUTO_INCREMENT for table `ateles`
  1404. --
  1405. ALTER TABLE `ateles`
  1406. MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
  1407. --
  1408. -- AUTO_INCREMENT for table `atms`
  1409. --
  1410. ALTER TABLE `atms`
  1411. MODIFY `ID` int(11) NOT NULL AUTO_INCREMENT;
  1412. --
  1413. -- AUTO_INCREMENT for table `bans`
  1414. --
  1415. ALTER TABLE `bans`
  1416. MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
  1417. --
  1418. -- AUTO_INCREMENT for table `business`
  1419. --
  1420. ALTER TABLE `business`
  1421. MODIFY `biz_id` int(11) NOT NULL AUTO_INCREMENT;
  1422. --
  1423. -- AUTO_INCREMENT for table `business_furnitures`
  1424. --
  1425. ALTER TABLE `business_furnitures`
  1426. MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
  1427. --
  1428. -- AUTO_INCREMENT for table `cars`
  1429. --
  1430. ALTER TABLE `cars`
  1431. MODIFY `carID` int(11) NOT NULL AUTO_INCREMENT;
  1432. --
  1433. -- AUTO_INCREMENT for table `characters`
  1434. --
  1435. ALTER TABLE `characters`
  1436. MODIFY `ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
  1437. --
  1438. -- AUTO_INCREMENT for table `cheques`
  1439. --
  1440. ALTER TABLE `cheques`
  1441. MODIFY `id` int(6) UNSIGNED ZEROFILL NOT NULL AUTO_INCREMENT;
  1442. --
  1443. -- AUTO_INCREMENT for table `clothing`
  1444. --
  1445. ALTER TABLE `clothing`
  1446. MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
  1447. --
  1448. -- AUTO_INCREMENT for table `criminal_record`
  1449. --
  1450. ALTER TABLE `criminal_record`
  1451. MODIFY `idx` int(11) NOT NULL AUTO_INCREMENT;
  1452. --
  1453. -- AUTO_INCREMENT for table `damages`
  1454. --
  1455. ALTER TABLE `damages`
  1456. MODIFY `ID` int(11) NOT NULL AUTO_INCREMENT;
  1457. --
  1458. -- AUTO_INCREMENT for table `emergency`
  1459. --
  1460. ALTER TABLE `emergency`
  1461. MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
  1462. --
  1463. -- AUTO_INCREMENT for table `factions`
  1464. --
  1465. ALTER TABLE `factions`
  1466. MODIFY `factionID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
  1467. --
  1468. -- AUTO_INCREMENT for table `factionspawns`
  1469. --
  1470. ALTER TABLE `factionspawns`
  1471. MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
  1472. --
  1473. -- AUTO_INCREMENT for table `fines`
  1474. --
  1475. ALTER TABLE `fines`
  1476. MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
  1477. --
  1478. -- AUTO_INCREMENT for table `flags`
  1479. --
  1480. ALTER TABLE `flags`
  1481. MODIFY `ID` int(11) NOT NULL AUTO_INCREMENT;
  1482. --
  1483. -- AUTO_INCREMENT for table `gates`
  1484. --
  1485. ALTER TABLE `gates`
  1486. MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
  1487. --
  1488. -- AUTO_INCREMENT for table `houses`
  1489. --
  1490. ALTER TABLE `houses`
  1491. MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
  1492. --
  1493. -- AUTO_INCREMENT for table `house_furnitures`
  1494. --
  1495. ALTER TABLE `house_furnitures`
  1496. MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
  1497. --
  1498. -- AUTO_INCREMENT for table `industry`
  1499. --
  1500. ALTER TABLE `industry`
  1501. MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
  1502. --
  1503. -- AUTO_INCREMENT for table `logs_all`
  1504. --
  1505. ALTER TABLE `logs_all`
  1506. MODIFY `ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=24;
  1507. --
  1508. -- AUTO_INCREMENT for table `logs_ban`
  1509. --
  1510. ALTER TABLE `logs_ban`
  1511. MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
  1512. --
  1513. -- AUTO_INCREMENT for table `logs_connection`
  1514. --
  1515. ALTER TABLE `logs_connection`
  1516. MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
  1517. --
  1518. -- AUTO_INCREMENT for table `logs_death`
  1519. --
  1520. ALTER TABLE `logs_death`
  1521. MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
  1522. --
  1523. -- AUTO_INCREMENT for table `logs_jail`
  1524. --
  1525. ALTER TABLE `logs_jail`
  1526. MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
  1527. --
  1528. -- AUTO_INCREMENT for table `logs_kick`
  1529. --
  1530. ALTER TABLE `logs_kick`
  1531. MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
  1532. --
  1533. -- AUTO_INCREMENT for table `logs_mask`
  1534. --
  1535. ALTER TABLE `logs_mask`
  1536. MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
  1537. --
  1538. -- AUTO_INCREMENT for table `logs_spray`
  1539. --
  1540. ALTER TABLE `logs_spray`
  1541. MODIFY `ID` int(11) NOT NULL AUTO_INCREMENT;
  1542. --
  1543. -- AUTO_INCREMENT for table `motd`
  1544. --
  1545. ALTER TABLE `motd`
  1546. MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
  1547. --
  1548. -- AUTO_INCREMENT for table `movedoors`
  1549. --
  1550. ALTER TABLE `movedoors`
  1551. MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
  1552. --
  1553. -- AUTO_INCREMENT for table `namechanges`
  1554. --
  1555. ALTER TABLE `namechanges`
  1556. MODIFY `namechangeid` int(11) NOT NULL AUTO_INCREMENT;
  1557. --
  1558. -- AUTO_INCREMENT for table `notifications`
  1559. --
  1560. ALTER TABLE `notifications`
  1561. MODIFY `ID` int(11) NOT NULL AUTO_INCREMENT;
  1562. --
  1563. -- AUTO_INCREMENT for table `particles`
  1564. --
  1565. ALTER TABLE `particles`
  1566. MODIFY `ID` int(11) NOT NULL AUTO_INCREMENT;
  1567. --
  1568. -- AUTO_INCREMENT for table `phone_contacts`
  1569. --
  1570. ALTER TABLE `phone_contacts`
  1571. MODIFY `contactID` int(11) NOT NULL AUTO_INCREMENT;
  1572. --
  1573. -- AUTO_INCREMENT for table `phone_sms`
  1574. --
  1575. ALTER TABLE `phone_sms`
  1576. MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
  1577. --
  1578. -- AUTO_INCREMENT for table `player_drugs`
  1579. --
  1580. ALTER TABLE `player_drugs`
  1581. MODIFY `idx` int(11) NOT NULL AUTO_INCREMENT;
  1582. --
  1583. -- AUTO_INCREMENT for table `points`
  1584. --
  1585. ALTER TABLE `points`
  1586. MODIFY `ID` int(11) NOT NULL AUTO_INCREMENT;
  1587. --
  1588. -- AUTO_INCREMENT for table `radio`
  1589. --
  1590. ALTER TABLE `radio`
  1591. MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
  1592. --
  1593. -- AUTO_INCREMENT for table `radio_station`
  1594. --
  1595. ALTER TABLE `radio_station`
  1596. MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
  1597. --
  1598. -- AUTO_INCREMENT for table `signal_tower`
  1599. --
  1600. ALTER TABLE `signal_tower`
  1601. MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
  1602. --
  1603. -- AUTO_INCREMENT for table `spraylocations`
  1604. --
  1605. ALTER TABLE `spraylocations`
  1606. MODIFY `ID` int(11) NOT NULL AUTO_INCREMENT;
  1607. --
  1608. -- AUTO_INCREMENT for table `ucp_friends`
  1609. --
  1610. ALTER TABLE `ucp_friends`
  1611. MODIFY `ID` int(11) NOT NULL AUTO_INCREMENT;
  1612. --
  1613. -- AUTO_INCREMENT for table `ucp_logins`
  1614. --
  1615. ALTER TABLE `ucp_logins`
  1616. MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
  1617. --
  1618. -- AUTO_INCREMENT for table `vehicles`
  1619. --
  1620. ALTER TABLE `vehicles`
  1621. MODIFY `vehicleID` int(11) NOT NULL AUTO_INCREMENT;
  1622. --
  1623. -- AUTO_INCREMENT for table `vehicle_drugs`
  1624. --
  1625. ALTER TABLE `vehicle_drugs`
  1626. MODIFY `idx` int(11) NOT NULL AUTO_INCREMENT;
  1627. --
  1628. -- AUTO_INCREMENT for table `weapon`
  1629. --
  1630. ALTER TABLE `weapon`
  1631. MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
  1632. COMMIT;
  1633. /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
  1634. /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
  1635. /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;