1
0

config.php 104 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094
  1. <?php
  2. define('DB_SERVER', '127.0.0.1');
  3. define('DB_USERNAME', 'root');
  4. define('DB_PASSWORD', '');
  5. define('DB_NAME', 'lsrp');
  6. error_reporting(0);
  7. $server_ip = "server.legacy-rp.com:7777";
  8. $server_ip_only = "127.0.0.1";
  9. $weblink = "http";
  10. // Here append the common URL characters.
  11. $weblink .= "://";
  12. // Append the host(domain name, ip) to the URL.
  13. $weblink .= $_SERVER['HTTP_HOST'];
  14. // Append the requested resource location to the URL
  15. $weblink .= $_SERVER['REQUEST_URI'];
  16. $url = $_SERVER['HTTP_HOST'];
  17. $admin_panel = false;
  18. /* Attempt to connect to MySQL database */
  19. //$link = mysqli_connect(DB_SERVER, DB_USERNAME, DB_PASSWORD, DB_NAME);
  20. $cars = array
  21. (
  22. "Landstalker", "Bravura", "Buffalo", "Linerunner", "Perrenial", "Sentinel", "Dumper", "Firetruck", "Trashmaster",
  23. "Stretch", "Manana", "Infernus", "Voodoo", "Pony", "Mule", "Cheetah", "Ambulance", "Leviathan", "Moonbeam",
  24. "Esperanto", "Taxi", "Washington", "Bobcat", "Whoopee", "BF Injection", "Hunter", "Premier", "Enforcer",
  25. "Securicar", "Banshee", "Predator", "Bus", "Rhino", "Barracks", "Hotknife", "Trailer", "Previon", "Coach",
  26. "Cabbie", "Stallion", "Rumpo", "RC Bandit", "Romero", "Packer", "Monster", "Admiral", "Squalo", "Seasparrow",
  27. "Pizzaboy", "Tram", "Trailer", "Turismo", "Speeder", "Reefer", "Tropic", "Flatbed", "Yankee", "Caddy", "Solair",
  28. "Berkley's RC Van", "Skimmer", "PCJ-600", "Faggio", "Freeway", "RC Baron", "RC Raider", "Glendale", "Oceanic",
  29. "Sanchez", "Sparrow", "Patriot", "Quad", "Coastguard", "Dinghy", "Hermes", "Sabre", "Rustler", "ZR-350", "Walton",
  30. "Regina", "Comet", "BMX", "Burrito", "Camper", "Marquis", "Baggage", "Dozer", "Maverick", "News Chopper", "Rancher",
  31. "FBI Rancher", "Virgo", "Greenwood", "Jetmax", "Hotring", "Sandking", "Blista Compact", "Police Maverick",
  32. "Boxville", "Benson", "Mesa", "RC Goblin", "Hotring Racer A", "Hotring Racer B", "Bloodring Banger", "Rancher",
  33. "Super GT", "Elegant", "Journey", "Bike", "Mountain Bike", "Beagle", "Cropduster", "Stunt", "Tanker", "Roadtrain",
  34. "Nebula", "Majestic", "Buccaneer", "Shamal", "Hydra", "FCR-900", "NRG-500", "HPV1000", "Cement Truck", "TowTruck",
  35. "Fortune", "Cadrona", "SWAT Truck", "Willard", "Forklift", "Tractor", "Combine", "Feltzer", "Remington", "Slamvan",
  36. "Blade", "Streak", "Freight", "Vortex", "Vincent", "Bullet", "Clover", "Sadler", "Firetruck", "Hustler", "Intruder",
  37. "Primo", "Cargobob", "Tampa", "Sunrise", "Merit", "Utility", "Nevada", "Yosemite", "Windsor", "Monster", "Monster",
  38. "Uranus", "Jester", "Sultan", "Stratum", "Elegy", "Raindance", "RC Tiger", "Flash", "Tahoma", "Savanna", "Bandito",
  39. "Freight Flat", "Streak Carriage", "Kart", "Mower", "Dune", "Sweeper", "Broadway", "Tornado", "AT-400", "DFT-30",
  40. "Huntley", "Stafford", "BF-400", "News Van", "Tug", "Trailer", "Emperor", "Wayfarer", "Euros", "Hotdog", "Club",
  41. "Freight Box", "Trailer", "Andromada", "Dodo", "RC Cam", "Launch", "LSPD Cruiser", "SFPD Cruiser", "LVPD Cruiser",
  42. "Police Rancher", "Picador", "S.W.A.T", "Alpha", "Phoenix", "Glendale", "Sadler", "Luggage", "Luggage", "Stairs",
  43. "Boxville", "Tiller", "Utility Trailer"
  44. );
  45. $serverSkins = array
  46. (
  47. array("id"=>1, "name"=>"truth", "race"=>1, "gender"=>1, "weight"=>1, "category"=>3, "factions"=>[]),
  48. array("id"=>2, "name"=>"maccer", "race"=>1, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  49. array("id"=>3, "name"=>"andre", "race"=>1, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  50. array("id"=>4, "name"=>"bbthin", "race"=>2, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  51. array("id"=>5, "name"=>"bb", "race"=>2, "gender"=>1, "weight"=>2, "category"=>1, "factions"=>[]),
  52. array("id"=>6, "name"=>"emmet", "race"=>2, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  53. array("id"=>7, "name"=>"male01", "race"=>2, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  54. array("id"=>8, "name"=>"janitor", "race"=>3, "gender"=>1, "weight"=>1, "category"=>6, "factions"=>[]),
  55. array("id"=>9, "name"=>"bfori", "race"=>2, "gender"=>2, "weight"=>1, "category"=>1, "factions"=>[]),
  56. array("id"=>10, "name"=>"bfost", "race"=>2, "gender"=>2, "weight"=>2, "category"=>3, "factions"=>[]),
  57. array("id"=>11, "name"=>"vbfycrp", "race"=>2, "gender"=>2, "weight"=>1, "category"=>6, "factions"=>[]),
  58. array("id"=>12, "name"=>"bfyri", "race"=>1, "gender"=>2, "weight"=>1, "category"=>1, "factions"=>[]),
  59. array("id"=>13, "name"=>"bfyst", "race"=>2, "gender"=>2, "weight"=>1, "category"=>1, "factions"=>[]),
  60. array("id"=>14, "name"=>"bmori", "race"=>2, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  61. array("id"=>15, "name"=>"bmost", "race"=>2, "gender"=>1, "weight"=>2, "category"=>1, "factions"=>[]),
  62. array("id"=>16, "name"=>"bmyap", "race"=>2, "gender"=>1, "weight"=>1, "category"=>6, "factions"=>[]),
  63. array("id"=>17, "name"=>"bmybu", "race"=>2, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  64. array("id"=>18, "name"=>"bmybe", "race"=>2, "gender"=>1, "weight"=>1, "category"=>7, "factions"=>[]),
  65. array("id"=>19, "name"=>"bmydj", "race"=>2, "gender"=>1, "weight"=>1, "category"=>2, "factions"=>[]),
  66. array("id"=>20, "name"=>"bmyri", "race"=>2, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  67. array("id"=>21, "name"=>"bmycr", "race"=>2, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  68. array("id"=>22, "name"=>"bmyst", "race"=>2, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  69. array("id"=>23, "name"=>"wmybmx", "race"=>1, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  70. array("id"=>24, "name"=>"wbydg1", "race"=>2, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  71. array("id"=>25, "name"=>"wbydg2", "race"=>2, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  72. array("id"=>26, "name"=>"wmybp", "race"=>1, "gender"=>1, "weight"=>1, "category"=>5, "factions"=>[]),
  73. array("id"=>27, "name"=>"wmycon", "race"=>1, "gender"=>1, "weight"=>1, "category"=>6, "factions"=>[]),
  74. array("id"=>28, "name"=>"bmydrug", "race"=>2, "gender"=>1, "weight"=>1, "category"=>2, "factions"=>[]),
  75. array("id"=>29, "name"=>"wmydrug", "race"=>1, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  76. array("id"=>30, "name"=>"hmydrug", "race"=>3, "gender"=>1, "weight"=>1, "category"=>2, "factions"=>[]),
  77. array("id"=>31, "name"=>"dwfolc", "race"=>1, "gender"=>2, "weight"=>1, "category"=>3, "factions"=>[]),
  78. array("id"=>32, "name"=>"dwmolc1", "race"=>1, "gender"=>1, "weight"=>1, "category"=>3, "factions"=>[]),
  79. array("id"=>33, "name"=>"dwmolc2", "race"=>1, "gender"=>1, "weight"=>1, "category"=>3, "factions"=>[]),
  80. array("id"=>34, "name"=>"dwmylc1", "race"=>1, "gender"=>1, "weight"=>1, "category"=>3, "factions"=>[]),
  81. array("id"=>35, "name"=>"hmogar", "race"=>3, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  82. array("id"=>36, "name"=>"wmygol1", "race"=>2, "gender"=>1, "weight"=>1, "category"=>5, "factions"=>[]),
  83. array("id"=>37, "name"=>"wmygol2", "race"=>1, "gender"=>1, "weight"=>1, "category"=>5, "factions"=>[]),
  84. array("id"=>39, "name"=>"hfost", "race"=>1, "gender"=>2, "weight"=>1, "category"=>3, "factions"=>[]),
  85. array("id"=>40, "name"=>"hfyri", "race"=>2, "gender"=>2, "weight"=>1, "category"=>1, "factions"=>[]),
  86. array("id"=>41, "name"=>"hfyst", "race"=>3, "gender"=>2, "weight"=>1, "category"=>1, "factions"=>[]),
  87. array("id"=>42, "name"=>"jethro", "race"=>1, "gender"=>1, "weight"=>1, "category"=>6, "factions"=>[]),
  88. array("id"=>43, "name"=>"hmori", "race"=>1, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  89. array("id"=>44, "name"=>"hmost", "race"=>1, "gender"=>1, "weight"=>1, "category"=>3, "factions"=>[]),
  90. array("id"=>45, "name"=>"hmybe", "race"=>1, "gender"=>1, "weight"=>1, "category"=>7, "factions"=>[]),
  91. array("id"=>46, "name"=>"hmyri", "race"=>1, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  92. array("id"=>47, "name"=>"hmycr", "race"=>3, "gender"=>1, "weight"=>1, "category"=>2, "factions"=>[]),
  93. array("id"=>48, "name"=>"hmyst", "race"=>3, "gender"=>1, "weight"=>1, "category"=>2, "factions"=>[]),
  94. array("id"=>49, "name"=>"omokung", "race"=>4, "gender"=>1, "weight"=>1, "category"=>3, "factions"=>[]),
  95. array("id"=>50, "name"=>"wmymech", "race"=>1, "gender"=>1, "weight"=>1, "category"=>6, "factions"=>[]),
  96. array("id"=>51, "name"=>"bmymoun", "race"=>2, "gender"=>1, "weight"=>1, "category"=>5, "factions"=>[]),
  97. array("id"=>52, "name"=>"wmymoun", "race"=>1, "gender"=>1, "weight"=>1, "category"=>5, "factions"=>[]),
  98. array("id"=>54, "name"=>"ofost", "race"=>1, "gender"=>2, "weight"=>1, "category"=>3, "factions"=>[]),
  99. array("id"=>55, "name"=>"ofyri", "race"=>1, "gender"=>2, "weight"=>1, "category"=>1, "factions"=>[]),
  100. array("id"=>56, "name"=>"ofyst", "race"=>1, "gender"=>2, "weight"=>1, "category"=>1, "factions"=>[]),
  101. array("id"=>57, "name"=>"omori", "race"=>4, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  102. array("id"=>58, "name"=>"omost", "race"=>1, "gender"=>1, "weight"=>1, "category"=>3, "factions"=>[]),
  103. array("id"=>59, "name"=>"omyri", "race"=>4, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  104. array("id"=>60, "name"=>"omyst", "race"=>1, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  105. array("id"=>61, "name"=>"wmyplt", "race"=>1, "gender"=>1, "weight"=>1, "category"=>6, "factions"=>[]),
  106. array("id"=>62, "name"=>"wmopj", "race"=>1, "gender"=>1, "weight"=>1, "category"=>3, "factions"=>[]),
  107. array("id"=>63, "name"=>"bfypro", "race"=>3, "gender"=>2, "weight"=>1, "category"=>4, "factions"=>[]),
  108. array("id"=>64, "name"=>"hfypro", "race"=>1, "gender"=>2, "weight"=>1, "category"=>4, "factions"=>[]),
  109. array("id"=>65, "name"=>"kendl", "race"=>2, "gender"=>2, "weight"=>1, "category"=>2, "factions"=>[]),
  110. array("id"=>66, "name"=>"bmypol1", "race"=>2, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  111. array("id"=>67, "name"=>"bmypol2", "race"=>2, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  112. array("id"=>68, "name"=>"wmoprea", "race"=>1, "gender"=>1, "weight"=>1, "category"=>6, "factions"=>[]),
  113. array("id"=>69, "name"=>"sbfyst", "race"=>2, "gender"=>2, "weight"=>1, "category"=>1, "factions"=>[]),
  114. array("id"=>72, "name"=>"swmyhp1", "race"=>1, "gender"=>1, "weight"=>1, "category"=>3, "factions"=>[]),
  115. array("id"=>73, "name"=>"swmyhp2", "race"=>1, "gender"=>1, "weight"=>1, "category"=>3, "factions"=>[]),
  116. array("id"=>75, "name"=>"swfopro", "race"=>1, "gender"=>2, "weight"=>1, "category"=>4, "factions"=>[]),
  117. array("id"=>76, "name"=>"wfystew", "race"=>2, "gender"=>2, "weight"=>1, "category"=>1, "factions"=>[]),
  118. array("id"=>77, "name"=>"swmotr1", "race"=>1, "gender"=>2, "weight"=>2, "category"=>8, "factions"=>[]),
  119. array("id"=>78, "name"=>"wmotr1", "race"=>1, "gender"=>1, "weight"=>1, "category"=>8, "factions"=>[]),
  120. array("id"=>79, "name"=>"bmotr1", "race"=>2, "gender"=>1, "weight"=>1, "category"=>8, "factions"=>[]),
  121. array("id"=>80, "name"=>"vbmybox", "race"=>2, "gender"=>1, "weight"=>3, "category"=>5, "factions"=>[]),
  122. array("id"=>81, "name"=>"wmybox", "race"=>1, "gender"=>1, "weight"=>3, "category"=>5, "factions"=>[]),
  123. array("id"=>82, "name"=>"vhmyelv", "race"=>1, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  124. array("id"=>83, "name"=>"vbmyelv", "race"=>2, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  125. array("id"=>84, "name"=>"vimyelv", "race"=>2, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  126. array("id"=>85, "name"=>"vwfypro", "race"=>1, "gender"=>2, "weight"=>1, "category"=>4, "factions"=>[]),
  127. array("id"=>86, "name"=>"ryder3", "race"=>2, "gender"=>1, "weight"=>1, "category"=>2, "factions"=>[]),
  128. array("id"=>87, "name"=>"vwfyst1", "race"=>1, "gender"=>2, "weight"=>1, "category"=>4, "factions"=>[]),
  129. array("id"=>88, "name"=>"wfori", "race"=>1, "gender"=>2, "weight"=>1, "category"=>3, "factions"=>[]),
  130. array("id"=>89, "name"=>"wfost", "race"=>1, "gender"=>2, "weight"=>2, "category"=>3, "factions"=>[]),
  131. array("id"=>90, "name"=>"wfyjg", "race"=>1, "gender"=>2, "weight"=>1, "category"=>7, "factions"=>[]),
  132. array("id"=>91, "name"=>"wfyri", "race"=>1, "gender"=>2, "weight"=>1, "category"=>1, "factions"=>[]),
  133. array("id"=>93, "name"=>"wfyst", "race"=>1, "gender"=>2, "weight"=>1, "category"=>6, "factions"=>[]),
  134. array("id"=>94, "name"=>"wmori", "race"=>1, "gender"=>1, "weight"=>1, "category"=>3, "factions"=>[]),
  135. array("id"=>95, "name"=>"wmost", "race"=>1, "gender"=>1, "weight"=>1, "category"=>3, "factions"=>[]),
  136. array("id"=>96, "name"=>"wmyjg", "race"=>1, "gender"=>1, "weight"=>1, "category"=>5, "factions"=>[]),
  137. array("id"=>97, "name"=>"wmylg", "race"=>1, "gender"=>1, "weight"=>1, "category"=>7, "factions"=>[]),
  138. array("id"=>98, "name"=>"wmyri", "race"=>1, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  139. array("id"=>100, "name"=>"wmycr", "race"=>1, "gender"=>1, "weight"=>1, "category"=>2, "factions"=>[]),
  140. array("id"=>101, "name"=>"wmyst", "race"=>1, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  141. array("id"=>102, "name"=>"ballas1", "race"=>2, "gender"=>1, "weight"=>1, "category"=>2, "factions"=>[]),
  142. array("id"=>103, "name"=>"ballas2", "race"=>2, "gender"=>1, "weight"=>2, "category"=>2, "factions"=>[]),
  143. array("id"=>104, "name"=>"ballas3", "race"=>2, "gender"=>1, "weight"=>1, "category"=>2, "factions"=>[]),
  144. array("id"=>105, "name"=>"fam1", "race"=>2, "gender"=>1, "weight"=>2, "category"=>2, "factions"=>[]),
  145. array("id"=>106, "name"=>"fam2", "race"=>2, "gender"=>1, "weight"=>1, "category"=>2, "factions"=>[]),
  146. array("id"=>107, "name"=>"fam3", "race"=>2, "gender"=>1, "weight"=>3, "category"=>2, "factions"=>[]),
  147. array("id"=>108, "name"=>"lsv1", "race"=>3, "gender"=>1, "weight"=>3, "category"=>2, "factions"=>[]),
  148. array("id"=>109, "name"=>"lsv2", "race"=>3, "gender"=>1, "weight"=>1, "category"=>2, "factions"=>[]),
  149. array("id"=>110, "name"=>"lsv3", "race"=>3, "gender"=>1, "weight"=>3, "category"=>2, "factions"=>[]),
  150. array("id"=>111, "name"=>"maffa", "race"=>1, "gender"=>1, "weight"=>3, "category"=>1, "factions"=>[]),
  151. array("id"=>112, "name"=>"maffb", "race"=>1, "gender"=>1, "weight"=>2, "category"=>1, "factions"=>[]),
  152. array("id"=>113, "name"=>"mafboss", "race"=>1, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  153. array("id"=>114, "name"=>"vla1", "race"=>3, "gender"=>1, "weight"=>3, "category"=>2, "factions"=>[]),
  154. array("id"=>115, "name"=>"vla2", "race"=>3, "gender"=>1, "weight"=>1, "category"=>2, "factions"=>[]),
  155. array("id"=>116, "name"=>"vla3", "race"=>3, "gender"=>1, "weight"=>3, "category"=>2, "factions"=>[]),
  156. array("id"=>117, "name"=>"triada", "race"=>4, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  157. array("id"=>118, "name"=>"triadb", "race"=>4, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  158. array("id"=>119, "name"=>"sindaco", "race"=>1, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  159. array("id"=>120, "name"=>"triboss", "race"=>4, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  160. array("id"=>121, "name"=>"dnb1", "race"=>4, "gender"=>1, "weight"=>2, "category"=>2, "factions"=>[]),
  161. array("id"=>122, "name"=>"dnb2", "race"=>4, "gender"=>1, "weight"=>3, "category"=>2, "factions"=>[]),
  162. array("id"=>123, "name"=>"dnb3", "race"=>4, "gender"=>1, "weight"=>1, "category"=>2, "factions"=>[]),
  163. array("id"=>124, "name"=>"vmaff1", "race"=>1, "gender"=>1, "weight"=>3, "category"=>1, "factions"=>[]),
  164. array("id"=>125, "name"=>"vmaff2", "race"=>1, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  165. array("id"=>126, "name"=>"vmaff3", "race"=>1, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  166. array("id"=>127, "name"=>"vmaff4", "race"=>1, "gender"=>1, "weight"=>2, "category"=>1, "factions"=>[]),
  167. array("id"=>128, "name"=>"dnmylc", "race"=>3, "gender"=>1, "weight"=>1, "category"=>3, "factions"=>[]),
  168. array("id"=>129, "name"=>"dnfolc1", "race"=>1, "gender"=>2, "weight"=>1, "category"=>3, "factions"=>[]),
  169. array("id"=>130, "name"=>"dnfolc2", "race"=>1, "gender"=>2, "weight"=>2, "category"=>3, "factions"=>[]),
  170. array("id"=>131, "name"=>"dnfylc", "race"=>3, "gender"=>2, "weight"=>1, "category"=>3, "factions"=>[]),
  171. array("id"=>132, "name"=>"dnmolc1", "race"=>1, "gender"=>1, "weight"=>1, "category"=>3, "factions"=>[]),
  172. array("id"=>133, "name"=>"dnmolc2", "race"=>1, "gender"=>1, "weight"=>3, "category"=>3, "factions"=>[]),
  173. array("id"=>134, "name"=>"sbmotr2", "race"=>2, "gender"=>1, "weight"=>1, "category"=>8, "factions"=>[]),
  174. array("id"=>135, "name"=>"swmotr2", "race"=>1, "gender"=>1, "weight"=>2, "category"=>8, "factions"=>[]),
  175. array("id"=>136, "name"=>"sbmytr3", "race"=>2, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  176. array("id"=>137, "name"=>"swmotr3", "race"=>1, "gender"=>1, "weight"=>1, "category"=>8, "factions"=>[]),
  177. array("id"=>138, "name"=>"wfybe", "race"=>1, "gender"=>2, "weight"=>1, "category"=>7, "factions"=>[]),
  178. array("id"=>139, "name"=>"bfybe", "race"=>2, "gender"=>2, "weight"=>1, "category"=>1, "factions"=>[]),
  179. array("id"=>140, "name"=>"hfybe", "race"=>3, "gender"=>2, "weight"=>1, "category"=>7, "factions"=>[]),
  180. array("id"=>141, "name"=>"sofybu", "race"=>4, "gender"=>2, "weight"=>1, "category"=>1, "factions"=>[]),
  181. array("id"=>142, "name"=>"sbmyst", "race"=>2, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  182. array("id"=>143, "name"=>"sbmycr", "race"=>2, "gender"=>1, "weight"=>1, "category"=>2, "factions"=>[]),
  183. array("id"=>144, "name"=>"bmycg", "race"=>2, "gender"=>1, "weight"=>1, "category"=>2, "factions"=>[]),
  184. array("id"=>145, "name"=>"wfycrk", "race"=>1, "gender"=>2, "weight"=>1, "category"=>7, "factions"=>[]),
  185. array("id"=>146, "name"=>"hmycm", "race"=>1, "gender"=>1, "weight"=>3, "category"=>7, "factions"=>[]),
  186. array("id"=>147, "name"=>"wmybu", "race"=>1, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  187. array("id"=>148, "name"=>"bfybu", "race"=>2, "gender"=>2, "weight"=>1, "category"=>1, "factions"=>[]),
  188. array("id"=>150, "name"=>"wfybu", "race"=>1, "gender"=>2, "weight"=>1, "category"=>1, "factions"=>[]),
  189. array("id"=>151, "name"=>"dwfylc1", "race"=>1, "gender"=>2, "weight"=>1, "category"=>3, "factions"=>[]),
  190. array("id"=>152, "name"=>"wfypro", "race"=>1, "gender"=>2, "weight"=>1, "category"=>4, "factions"=>[]),
  191. array("id"=>153, "name"=>"wmyconb", "race"=>1, "gender"=>1, "weight"=>1, "category"=>6, "factions"=>[]),
  192. array("id"=>154, "name"=>"wmybe", "race"=>1, "gender"=>1, "weight"=>3, "category"=>7, "factions"=>[]),
  193. array("id"=>155, "name"=>"wmypizz", "race"=>1, "gender"=>1, "weight"=>1, "category"=>6, "factions"=>[]),
  194. array("id"=>156, "name"=>"bmobar", "race"=>2, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  195. array("id"=>157, "name"=>"cwfyhb", "race"=>1, "gender"=>2, "weight"=>1, "category"=>3, "factions"=>[]),
  196. array("id"=>158, "name"=>"cwmofr", "race"=>1, "gender"=>1, "weight"=>1, "category"=>3, "factions"=>[]),
  197. array("id"=>159, "name"=>"cwmohb1", "race"=>1, "gender"=>1, "weight"=>1, "category"=>3, "factions"=>[]),
  198. array("id"=>160, "name"=>"cwmohb2", "race"=>1, "gender"=>1, "weight"=>2, "category"=>3, "factions"=>[]),
  199. array("id"=>161, "name"=>"cwmyfr", "race"=>1, "gender"=>1, "weight"=>1, "category"=>3, "factions"=>[]),
  200. array("id"=>162, "name"=>"cwmyhb1", "race"=>1, "gender"=>1, "weight"=>1, "category"=>3, "factions"=>[]),
  201. array("id"=>163, "name"=>"bmyboun", "race"=>2, "gender"=>1, "weight"=>3, "category"=>6, "factions"=>[]),
  202. array("id"=>164, "name"=>"wmyboun", "race"=>1, "gender"=>1, "weight"=>3, "category"=>6, "factions"=>[]),
  203. array("id"=>165, "name"=>"wmomib", "race"=>1, "gender"=>1, "weight"=>1, "category"=>6, "factions"=>[]),
  204. array("id"=>166, "name"=>"bmymib", "race"=>2, "gender"=>1, "weight"=>1, "category"=>6, "factions"=>[]),
  205. array("id"=>167, "name"=>"wmybell", "race"=>1, "gender"=>1, "weight"=>1, "category"=>6, "factions"=>[]),
  206. array("id"=>168, "name"=>"bmochil", "race"=>2, "gender"=>1, "weight"=>1, "category"=>6, "factions"=>[]),
  207. array("id"=>169, "name"=>"sofyri", "race"=>4, "gender"=>2, "weight"=>1, "category"=>1, "factions"=>[]),
  208. array("id"=>170, "name"=>"somyst", "race"=>1, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  209. array("id"=>171, "name"=>"vwmybjd", "race"=>1, "gender"=>1, "weight"=>1, "category"=>6, "factions"=>[]),
  210. array("id"=>172, "name"=>"vwfycrp", "race"=>1, "gender"=>2, "weight"=>1, "category"=>6, "factions"=>[]),
  211. array("id"=>173, "name"=>"sfr1", "race"=>3, "gender"=>1, "weight"=>1, "category"=>2, "factions"=>[]),
  212. array("id"=>174, "name"=>"sfr2", "race"=>3, "gender"=>1, "weight"=>1, "category"=>2, "factions"=>[]),
  213. array("id"=>175, "name"=>"sfr3", "race"=>3, "gender"=>1, "weight"=>1, "category"=>2, "factions"=>[]),
  214. array("id"=>176, "name"=>"bmybar", "race"=>2, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  215. array("id"=>177, "name"=>"wmybar", "race"=>1, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  216. array("id"=>178, "name"=>"wfysex", "race"=>1, "gender"=>2, "weight"=>1, "category"=>4, "factions"=>[]),
  217. array("id"=>179, "name"=>"wmyammo", "race"=>1, "gender"=>1, "weight"=>1, "category"=>3, "factions"=>[]),
  218. array("id"=>180, "name"=>"bmytatt", "race"=>2, "gender"=>1, "weight"=>1, "category"=>2, "factions"=>[]),
  219. array("id"=>181, "name"=>"vwmycr", "race"=>1, "gender"=>1, "weight"=>1, "category"=>3, "factions"=>[]),
  220. array("id"=>182, "name"=>"vbmocd", "race"=>2, "gender"=>1, "weight"=>2, "category"=>1, "factions"=>[]),
  221. array("id"=>183, "name"=>"vbmycr", "race"=>2, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  222. array("id"=>184, "name"=>"vhmycr", "race"=>3, "gender"=>1, "weight"=>1, "category"=>2, "factions"=>[]),
  223. array("id"=>185, "name"=>"sbmyri", "race"=>2, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  224. array("id"=>186, "name"=>"somyri", "race"=>4, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  225. array("id"=>187, "name"=>"somybu", "race"=>4, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  226. array("id"=>188, "name"=>"swmyst", "race"=>1, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  227. array("id"=>189, "name"=>"wmyva", "race"=>1, "gender"=>1, "weight"=>1, "category"=>6, "factions"=>[]),
  228. array("id"=>190, "name"=>"copgrl3", "race"=>2, "gender"=>2, "weight"=>1, "category"=>2, "factions"=>[]),
  229. array("id"=>191, "name"=>"gungrl3", "race"=>1, "gender"=>2, "weight"=>1, "category"=>1, "factions"=>[]),
  230. array("id"=>192, "name"=>"mecgrl3", "race"=>1, "gender"=>2, "weight"=>1, "category"=>1, "factions"=>[]),
  231. array("id"=>193, "name"=>"nurgrl3", "race"=>4, "gender"=>2, "weight"=>1, "category"=>1, "factions"=>[]),
  232. array("id"=>194, "name"=>"crogrl3", "race"=>1, "gender"=>2, "weight"=>1, "category"=>6, "factions"=>[]),
  233. array("id"=>195, "name"=>"gangrl3", "race"=>2, "gender"=>2, "weight"=>1, "category"=>2, "factions"=>[]),
  234. array("id"=>196, "name"=>"cwfofr", "race"=>1, "gender"=>2, "weight"=>1, "category"=>3, "factions"=>[]),
  235. array("id"=>197, "name"=>"cwfohb", "race"=>1, "gender"=>2, "weight"=>2, "category"=>3, "factions"=>[]),
  236. array("id"=>198, "name"=>"cwfyfr1", "race"=>1, "gender"=>2, "weight"=>1, "category"=>3, "factions"=>[]),
  237. array("id"=>199, "name"=>"cwfyfr2", "race"=>1, "gender"=>2, "weight"=>2, "category"=>3, "factions"=>[]),
  238. array("id"=>200, "name"=>"cwmyhb2", "race"=>1, "gender"=>1, "weight"=>1, "category"=>3, "factions"=>[]),
  239. array("id"=>201, "name"=>"dwfylc2", "race"=>1, "gender"=>2, "weight"=>1, "category"=>3, "factions"=>[]),
  240. array("id"=>202, "name"=>"dwmylc2", "race"=>1, "gender"=>1, "weight"=>1, "category"=>3, "factions"=>[]),
  241. array("id"=>203, "name"=>"omykara", "race"=>4, "gender"=>1, "weight"=>3, "category"=>6, "factions"=>[]),
  242. array("id"=>204, "name"=>"wmykara", "race"=>1, "gender"=>1, "weight"=>3, "category"=>6, "factions"=>[]),
  243. array("id"=>205, "name"=>"wfyburg", "race"=>1, "gender"=>2, "weight"=>2, "category"=>6, "factions"=>[]),
  244. array("id"=>206, "name"=>"vwmycd", "race"=>1, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  245. array("id"=>207, "name"=>"vhfypro", "race"=>3, "gender"=>2, "weight"=>1, "category"=>4, "factions"=>[]),
  246. array("id"=>208, "name"=>"suzie", "race"=>4, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  247. array("id"=>209, "name"=>"omonood", "race"=>4, "gender"=>1, "weight"=>1, "category"=>6, "factions"=>[]),
  248. array("id"=>210, "name"=>"omoboat", "race"=>4, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  249. array("id"=>211, "name"=>"wfyclot", "race"=>1, "gender"=>2, "weight"=>1, "category"=>1, "factions"=>[]),
  250. array("id"=>212, "name"=>"vwomotr1", "race"=>1, "gender"=>1, "weight"=>1, "category"=>8, "factions"=>[]),
  251. array("id"=>213, "name"=>"vwomotr2", "race"=>1, "gender"=>1, "weight"=>2, "category"=>8, "factions"=>[]),
  252. array("id"=>214, "name"=>"vwfywai", "race"=>2, "gender"=>2, "weight"=>1, "category"=>1, "factions"=>[]),
  253. array("id"=>215, "name"=>"sbfori", "race"=>2, "gender"=>2, "weight"=>1, "category"=>1, "factions"=>[]),
  254. array("id"=>216, "name"=>"swfyri", "race"=>1, "gender"=>2, "weight"=>1, "category"=>1, "factions"=>[]),
  255. array("id"=>217, "name"=>"wmyclot", "race"=>1, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  256. array("id"=>218, "name"=>"sbfost", "race"=>2, "gender"=>2, "weight"=>2, "category"=>1, "factions"=>[]),
  257. array("id"=>219, "name"=>"sbfyri", "race"=>2, "gender"=>2, "weight"=>1, "category"=>1, "factions"=>[]),
  258. array("id"=>220, "name"=>"sbmocd", "race"=>2, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  259. array("id"=>221, "name"=>"sbmori", "race"=>2, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  260. array("id"=>222, "name"=>"sbmost", "race"=>2, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  261. array("id"=>223, "name"=>"shmycr", "race"=>1, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  262. array("id"=>224, "name"=>"sofori", "race"=>4, "gender"=>2, "weight"=>1, "category"=>1, "factions"=>[]),
  263. array("id"=>225, "name"=>"sofost", "race"=>4, "gender"=>2, "weight"=>1, "category"=>1, "factions"=>[]),
  264. array("id"=>226, "name"=>"sofyst", "race"=>1, "gender"=>2, "weight"=>1, "category"=>1, "factions"=>[]),
  265. array("id"=>227, "name"=>"somobu", "race"=>4, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  266. array("id"=>228, "name"=>"somori", "race"=>4, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  267. array("id"=>229, "name"=>"somost", "race"=>4, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  268. array("id"=>230, "name"=>"swmotr5", "race"=>1, "gender"=>1, "weight"=>1, "category"=>8, "factions"=>[]),
  269. array("id"=>231, "name"=>"swfori", "race"=>1, "gender"=>2, "weight"=>2, "category"=>3, "factions"=>[]),
  270. array("id"=>232, "name"=>"swfost", "race"=>1, "gender"=>2, "weight"=>2, "category"=>3, "factions"=>[]),
  271. array("id"=>233, "name"=>"swfyst", "race"=>1, "gender"=>2, "weight"=>1, "category"=>1, "factions"=>[]),
  272. array("id"=>234, "name"=>"swmocd", "race"=>1, "gender"=>1, "weight"=>1, "category"=>3, "factions"=>[]),
  273. array("id"=>235, "name"=>"swmori", "race"=>1, "gender"=>1, "weight"=>1, "category"=>3, "factions"=>[]),
  274. array("id"=>236, "name"=>"swmost", "race"=>1, "gender"=>1, "weight"=>1, "category"=>3, "factions"=>[]),
  275. array("id"=>237, "name"=>"shfypro", "race"=>3, "gender"=>2, "weight"=>1, "category"=>4, "factions"=>[]),
  276. array("id"=>238, "name"=>"sbfypro", "race"=>2, "gender"=>2, "weight"=>1, "category"=>4, "factions"=>[]),
  277. array("id"=>239, "name"=>"swmotr4", "race"=>1, "gender"=>1, "weight"=>1, "category"=>8, "factions"=>[]),
  278. array("id"=>240, "name"=>"swmyri", "race"=>1, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  279. array("id"=>241, "name"=>"smyst", "race"=>3, "gender"=>1, "weight"=>2, "category"=>3, "factions"=>[]),
  280. array("id"=>242, "name"=>"smyst2", "race"=>3, "gender"=>1, "weight"=>2, "category"=>2, "factions"=>[]),
  281. array("id"=>243, "name"=>"sfypro", "race"=>3, "gender"=>2, "weight"=>1, "category"=>4, "factions"=>[]),
  282. array("id"=>244, "name"=>"vbfyst2", "race"=>2, "gender"=>2, "weight"=>1, "category"=>4, "factions"=>[]),
  283. array("id"=>245, "name"=>"vbfypro", "race"=>2, "gender"=>2, "weight"=>1, "category"=>4, "factions"=>[]),
  284. array("id"=>246, "name"=>"vhfyst3", "race"=>1, "gender"=>2, "weight"=>1, "category"=>4, "factions"=>[]),
  285. array("id"=>247, "name"=>"bikera", "race"=>1, "gender"=>1, "weight"=>1, "category"=>3, "factions"=>[]),
  286. array("id"=>248, "name"=>"bikerb", "race"=>1, "gender"=>1, "weight"=>1, "category"=>3, "factions"=>[]),
  287. array("id"=>249, "name"=>"bmypimp", "race"=>2, "gender"=>1, "weight"=>1, "category"=>2, "factions"=>[]),
  288. array("id"=>250, "name"=>"swmycr", "race"=>1, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  289. array("id"=>251, "name"=>"wfylg", "race"=>1, "gender"=>2, "weight"=>1, "category"=>7, "factions"=>[]),
  290. array("id"=>252, "name"=>"wmyva2", "race"=>1, "gender"=>1, "weight"=>1, "category"=>7, "factions"=>[]),
  291. array("id"=>253, "name"=>"bmosec", "race"=>2, "gender"=>1, "weight"=>1, "category"=>6, "factions"=>[]),
  292. array("id"=>254, "name"=>"bikdrug", "race"=>1, "gender"=>1, "weight"=>1, "category"=>2, "factions"=>[]),
  293. array("id"=>255, "name"=>"wmych", "race"=>1, "gender"=>1, "weight"=>1, "category"=>6, "factions"=>[]),
  294. array("id"=>256, "name"=>"sbfystr", "race"=>2, "gender"=>2, "weight"=>1, "category"=>4, "factions"=>[]),
  295. array("id"=>257, "name"=>"swfystr", "race"=>1, "gender"=>2, "weight"=>1, "category"=>4, "factions"=>[]),
  296. array("id"=>258, "name"=>"heck1", "race"=>1, "gender"=>1, "weight"=>2, "category"=>1, "factions"=>[]),
  297. array("id"=>259, "name"=>"heck2", "race"=>1, "gender"=>1, "weight"=>2, "category"=>1, "factions"=>[]),
  298. array("id"=>260, "name"=>"bmycon", "race"=>2, "gender"=>1, "weight"=>1, "category"=>6, "factions"=>[]),
  299. array("id"=>261, "name"=>"wmycd1", "race"=>1, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  300. array("id"=>262, "name"=>"bmocd", "race"=>2, "gender"=>1, "weight"=>2, "category"=>1, "factions"=>[]),
  301. array("id"=>263, "name"=>"vwfywa2", "race"=>4, "gender"=>2, "weight"=>1, "category"=>1, "factions"=>[]),
  302. array("id"=>264, "name"=>"wmoice", "race"=>1, "gender"=>1, "weight"=>2, "category"=>6, "factions"=>[]),
  303. array("id"=>268, "name"=>"dwayne", "race"=>1, "gender"=>1, "weight"=>1, "category"=>6, "factions"=>[]),
  304. array("id"=>269, "name"=>"smoke", "race"=>2, "gender"=>1, "weight"=>2, "category"=>2, "factions"=>[]),
  305. array("id"=>270, "name"=>"sweet", "race"=>2, "gender"=>1, "weight"=>1, "category"=>2, "factions"=>[]),
  306. array("id"=>271, "name"=>"ryder", "race"=>2, "gender"=>1, "weight"=>1, "category"=>2, "factions"=>[]),
  307. array("id"=>272, "name"=>"forelli", "race"=>1, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  308. array("id"=>273, "name"=>"tbone", "race"=>3, "gender"=>1, "weight"=>1, "category"=>2, "factions"=>[]),
  309. array("id"=>289, "name"=>"zero", "race"=>1, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  310. array("id"=>290, "name"=>"rose", "race"=>1, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  311. array("id"=>291, "name"=>"paul", "race"=>1, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  312. array("id"=>292, "name"=>"cesar", "race"=>3, "gender"=>1, "weight"=>1, "category"=>2, "factions"=>[]),
  313. array("id"=>293, "name"=>"ogloc", "race"=>2, "gender"=>1, "weight"=>1, "category"=>2, "factions"=>[]),
  314. array("id"=>294, "name"=>"wuzimu", "race"=>4, "gender"=>1, "weight"=>1, "category"=>2, "factions"=>[]),
  315. array("id"=>295, "name"=>"torino", "race"=>1, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  316. array("id"=>296, "name"=>"jizzy", "race"=>2, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  317. array("id"=>297, "name"=>"maddogg", "race"=>2, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  318. array("id"=>298, "name"=>"cat", "race"=>3, "gender"=>2, "weight"=>1, "category"=>1, "factions"=>[]),
  319. array("id"=>299, "name"=>"claude", "race"=>1, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[])
  320. /*array("id"=>303, "name"=>"lapdpc", "race"=>1, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  321. array("id"=>304, "name"=>"lapdpd", "race"=>1, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[]),
  322. array("id"=>305, "name"=>"lvpdpc", "race"=>1, "gender"=>1, "weight"=>1, "category"=>1, "factions"=>[])*/
  323. );
  324. $vehicleColors = array
  325. (
  326. "Black", "White", "Light Blue", "Red", "Dark Green", "Pink", "Yellow", "Light Blue", "Silver", "Grey", "Grey", "Dark Grey", "Silver",
  327. "Dark Grey", "Light Brown", "Light Brown", "Green", "Red", "Light Red", "Brown", "Light Blue", "Light Red", "Light Red", "Brown",
  328. "Grey", "Dark Grey", "Light Brown", "Dark Brown", "Light Blue", "Light Brown", "Maroon", "Light Red", "Silver", "Light Brown", "Brown",
  329. "Brown", "Dark Brown", "Dark Green", "Light Green", "Grey", "Dark Brown", "Brown", "Light Red", "Dark Red", "Green", "Red",
  330. "Sandy Brown", "Light Brown", "Light Brown", "Pale Brown", "Brown", "Green", "Dark Green", "Dark Blue", "Purple",
  331. "Brown", "Silver", "Light Brown", "Red", "Light Blue", "Grey", "Tan", "Maroon", "Silver", "Silver", "Olive Green", "Maroon", "Light Blue",
  332. "Grey", "Grey", "Red", "Light Blue", "Dark Grey", "Light Green", "Dark Green", "Dark Blue", "Grey", "Grey", "Red", "Blue", "Maroon", "Olive", "Red",
  333. "Dark Green", "Brown", "Magenta", "Bright Green", "Sky Blue", "Maroon", "Grey", "Silver", "Dark Blue", "Grey", "Bright Blue", "Light Blue",
  334. "Dark Blue", "Grey", "Light Blue", "Light Blue", "Tan", "Light Blue", "Dark Blue", "Tan", "Blue", "Brown", "Grey", "Blue", "Brown",
  335. "Blue", "Dark Grey", "Light Grey", "Brown", "Light Blue", "Brown", "Green", "Bright Red", "Blue", "Red", "Silver", "Brown", "Tan", "Maroon",
  336. "Grey", "Bright Brown", "Red", "Bright Blue", "Pink", "Black", "Green", "Burgandy", "Cyan", "Gold", "Light Red", "Dark Green", "Blue", "Light Blue",
  337. "Violet", "Lime Green", "White", "Blue", "Silver", "Light Brown", "Light Yellow", "Light Purple", "Purple", "Light Green", "Pink", "Purple", "Brown", "Brown",
  338. "Dark Green", "Dark Green", "Blue", "Green", "Green", "Cyan", "Cream", "Blue", "Orange", "Brown", "Green", "Light Pink", "Blue", "Light Blue", "Dark Green", "Light Blue",
  339. "Blue", "Purple", "Brown", "Light Purple", "Light Purple", "Purple", "Olive Green", "Brown", "Brown", "Light Orange", "Purple", "Light Purple", "Pink", "Purple", "Brown",
  340. "Orange", "Brown", "Orange", "Pink", "Silver", "Dark Green", "Dark Green", "Dark Green", "Dark Green", "Pink", "Light Green", "Silver",
  341. "Silver", "Yellow", "Light Yellow", "Silver", "Yellow", "Dark Blue", "Olive Green", "Light Brown", "Dark Blue", "Dark Green", "Dark Blue", "Blue", "Dark Blue", "Dark Blue",
  342. "Blue", "Blue", "Blue", "Dark Blue", "Purple", "Orange", "Silver", "Olive Green", "Dark Green", "Light Brown", "Light Blue", "Light Brown", "Orange", "Pink",
  343. "Cream", "Orange", "Dark Blue", "Burgandy", "Olive Green","Lime Green","Dark Green","Yellow","Green","Red","Gold", "Purple", "Purple", "Green",
  344. "Light Green", "Light Blue", "Light Pink", "Light Brown", "Light Orange", "Cyan", "Lime Green", "Dark Pink", "Light Green", "Brown", "Dark Green",
  345. "Blue", "Light Blue", "Burgandy", "Burgandy", "Grey", "Grey", "Grey", "Grey", "Grey", "Blue"
  346. );
  347. function ReturnAreaCode($areaid)
  348. {
  349. if("Los Santos International" == $zonat[$areaid][0]) return 218;
  350. if("Ocean Docks" == $zonat[$areaid][0]) return 218;
  351. if("Santa Maria Beach" == $zonat[$areaid][0]) return 218;
  352. if("Verona Beach" == $zonat[$areaid][0]) return 313;
  353. if("Marina" == $zonat[$areaid][0]) return 313;
  354. if("Rodeo" == $zonat[$areaid][0]) return 802;
  355. if("Temple" == $zonat[$areaid][0]) return 343;
  356. if("Market" == $zonat[$areaid][0]) return 343;
  357. if("Downtown" == $zonat[$areaid][0]) return 206;
  358. if("Pershing Square" == $zonat[$areaid][0]) return 206;
  359. if("Glen Park" == $zonat[$areaid][0]) return 826;
  360. if("Verdant Bluffs" == $zonat[$areaid][0]) return 216;
  361. if("Idlewood" == $zonat[$areaid][0]) return 415;
  362. if("Ganton" == $zonat[$areaid][0]) return 516;
  363. if("El Corona" == $zonat[$areaid][0]) return 516;
  364. if("Willowfield" == $zonat[$areaid][0]) return 516;
  365. if("Playa Del Seville" == $zonat[$areaid][0]) return 516;
  366. if("East Beach" == $zonat[$areaid][0]) return 616;
  367. if("Jefferson" == $zonat[$areaid][0]) return 424;
  368. if("East Los Santos" == $zonat[$areaid][0]) return 424;
  369. if("Jefferson" == $zonat[$areaid][0]) return 424;
  370. if("East Los Santos" == $zonat[$areaid][0]) return 424;
  371. if("Vinewood" == $zonat[$areaid][0]) return 806;
  372. if("Richman" == $zonat[$areaid][0]) return 806;
  373. if("Mulholland" == $zonat[$areaid][0]) return 806;
  374. if("North Rock" == $zonat[$areaid][0]) return 828;
  375. if("Palomino Creek" == $zonat[$areaid][0]) return 835;
  376. if("Montgomery" == $zonat[$areaid][0]) return 824;
  377. if("Dillimore" == $zonat[$areaid][0]) return 808;
  378. if("Blueberry" == $zonat[$areaid][0]) return 890;
  379. if("Blueberry Acres" == $zonat[$areaid][0]) return 890;
  380. if("The Panopticon" == $zonat[$areaid][0]) return 890;
  381. if("Fallen Tree" == $zonat[$areaid][0]) return 890;
  382. if("Easter Bay Chemicals" == $zonat[$areaid][0]) return 843;
  383. if("The Farm" == $zonat[$areaid][0]) return 843;
  384. if("Flint Country" == $zonat[$areaid][0]) return 856;
  385. if("Angel Pine" == $zonat[$areaid][0]) return 856;
  386. if("Fort Carson" == $zonat[$areaid][0]) return 855;
  387. if("Harmony Oaks" == $zonat[$areaid][0]) return 310;
  388. return 999;
  389. }
  390. function ReturnAreaCodeByName($areaid)
  391. {
  392. if("Los Santos International" == $areaid) return 218;
  393. if("Ocean Docks" == $areaid) return 218;
  394. if("Santa Maria Beach" == $areaid) return 218;
  395. if("Verona Beach" == $areaid) return 313;
  396. if("Marina" == $areaid) return 313;
  397. if("Rodeo" == $areaid) return 802;
  398. if("Temple" == $areaid) return 343;
  399. if("Market" == $areaid) return 343;
  400. if("Downtown" == $areaid) return 206;
  401. if("Pershing Square" == $areaid) return 206;
  402. if("Glen Park" == $areaid) return 826;
  403. if("Verdant Bluffs" == $areaid) return 216;
  404. if("Idlewood" == $areaid) return 415;
  405. if("Ganton" == $areaid) return 516;
  406. if("El Corona" == $areaid) return 516;
  407. if("Willowfield" == $areaid) return 516;
  408. if("Playa Del Seville" == $areaid) return 516;
  409. if("East Beach" == $areaid) return 616;
  410. if("Jefferson" == $areaid) return 424;
  411. if("East Los Santos" == $areaid) return 424;
  412. if("Jefferson" == $areaid) return 424;
  413. if("East Los Santos" == $areaid) return 424;
  414. if("Vinewood" == $areaid) return 806;
  415. if("Richman" == $areaid) return 806;
  416. if("Mulholland" == $areaid) return 806;
  417. if("North Rock" == $areaid) return 828;
  418. if("Palomino Creek" == $areaid) return 835;
  419. if("Montgomery" == $areaid) return 824;
  420. if("Dillimore" == $areaid) return 808;
  421. if("Blueberry" == $areaid) return 890;
  422. if("Blueberry Acres" == $areaid) return 890;
  423. if("The Panopticon" == $areaid) return 890;
  424. if("Fallen Tree" == $areaid) return 890;
  425. if("Easter Bay Chemicals" == $areaid) return 843;
  426. if("The Farm" == $areaid) return 843;
  427. if("Flint Country" == $areaid) return 856;
  428. if("Angel Pine" == $areaid) return 856;
  429. if("Fort Carson" == $areaid) return 855;
  430. if("Harmony Oaks" == $areaid) return 310;
  431. return 999;
  432. }
  433. function ReturnCityCode($cityid)
  434. {
  435. if("Los Santos" == $cities[$cityid][0]) return 213;
  436. if("San Fierro" == $cities[$cityid][0]) return 415;
  437. if("Las Venturas" == $cities[$cityid][0]) return 702;
  438. if("Flint County" == $cities[$cityid][0]) return 707;
  439. if("Red County" == $cities[$cityid][0]) return 714;
  440. if("Bone County" == $cities[$cityid][0]) return 760;
  441. if("Tierra Robada" == $cities[$cityid][0]) return 619;
  442. if("Whetstone" == $cities[$cityid][0]) return 408;
  443. return 555;
  444. }
  445. $cities = array
  446. (
  447. array("Los Santos", 44.60,-2892.90,-242.90,2997.00,-768.00,900.00),
  448. array("Las Venturas", 869.40,596.30,-242.90,2997.00,2993.80,900.00),
  449. array("Bone County", -480.50,596.30,-242.90,869.40,2993.80,900.00),
  450. array("Tierra Robada", -2997.40,1659.60,-242.90,-480.50,2993.80,900.00),
  451. array("Tierra Robada", -1213.90,596.30,-242.90,-480.50,1659.60,900.00),
  452. array("San Fierro", -2997.40,-1115.50,-242.90,-1213.90,1659.60,900.00),
  453. array("Red County", -1213.90,-768.00,-242.90,2997.00,596.30,900.00),
  454. array("Flint County", -1213.90,-2892.90,-242.90,44.60,-768.00,900.00),
  455. array("Whetstone", -2997.40,-2892.90,-242.90,-1213.90,-1115.50,900.00)
  456. );
  457. $streets = array
  458. (
  459. array("Imperial Avenue", 1951.0, -1923.0, 1967.0, -1760.0),
  460. array("Imperial Avenue", 1951.0, -2159.0, 1967.0, -1935.0),
  461. array("Newport Boulevard", 1814.0, -2174.0, 2065.0, -2159.0),
  462. array("Kings Avenue", 1812.0, -2161.0, 1952.0, -2043.0),
  463. array("28th Street", 1649.0, -2161.0, 1812.0, -2043.0),
  464. array("Newport Boulevard", 1649.0, -2174.0, 1815.0, -2161.0),
  465. array("Newport Boulevard", 1515.0, -2048.0, 1651.0, -1863.0),
  466. array("Newport Boulevard", 1515.0, -2173.0, 1651.0, -2048.0),
  467. array("Unity Boulevard", 1806.0, -1969.0, 1952.0, -1814.0),
  468. array("Unity Boulevard", 1951.0, -1937.0, 2067.0, -1923.0),
  469. array("38th Street", 1806.0, -2043.0, 1951.0, -1969.0),
  470. array("Unity Station", 1651.0, -2043.0, 1807.0, -1814.0),
  471. array("Martin Luther King Drive", 1930.0, -1743.0, 1955.0, -1620.0),
  472. array("Artesia Avenue", 1806.0, -1814.0, 1930.0, -1620.0),
  473. array("Winona Avenue", 1930.0, -1762.0, 2188.0, -1743.0),
  474. array("Idle Gas", 1930.0, -1815.0, 1951.0, -1760.0),
  475. array("Arbor Vitae Street", 1807.0, -1619.5, 2075.0, -1527.5),
  476. array("Dalerose", 1967.0, -1923.0, 2065.0, -1760.0),
  477. array("Hill Street", 1700.0, -1814.0, 1807.0, -1714.0),
  478. array("Cypress Ave", 1700.0, -1714.0, 1808.0, -1607.0),
  479. array("Central Street", 1405.0, -1608.5, 1808.0, -1575.5),
  480. array("Lucas Avenue", 1676.0, -1813.5, 1702.0, -1608.5),
  481. array("Grove Street", 2220.0, -1721.5, 2420.0, -1639.5),
  482. array("Grove Street", 2440.0, -1720.5, 2542.0, -1629.5),
  483. array("Graham Avenue", 2420.0, -1721.5, 2440.0, -1445.5),
  484. array("Ganton Boulevard", 2220.0, -1755.5, 2543.0, -1720.5),
  485. array("Ganton Blues", 2220.0, -1854.5, 2407.0, -1755.5),
  486. array("54th Street", 2440.0, -1595.5, 2548.0, -1449.5),
  487. array("54th Street", 2548.0, -1527.5, 2585.0, -1449.5),
  488. array("Cedar Street", 2420.0, -1449.5, 2635.0, -1429.5),
  489. array("Alexandria Avenue", 2331.0, -1641.5, 2356.0, -1383.5),
  490. array("Bronson Street", 2222.0, -1607.5, 2333.0, -1470.5),
  491. array("Palmwood Avenue", 2124.0, -1607.5, 2224.0, -1470.5),
  492. array("Crenshaw", 2124.0, -1472.5, 2332.0, -1391.5),
  493. array("Santa Rosalla Street", 2124.0, -1392.5, 2333.0, -1370.5),
  494. array("Jefferson", 2061.0, -1371.5, 2334.0, -1085.5),
  495. array("107th Street", 1955.0, -1743.0, 2015.0, -1620.0),
  496. array("Prairie Avenue", 2015.0, -1743.0, 2075.0, -1620.0),
  497. array("Grove Street", 2075.0, -1606.5, 2124.0, -1527.5),
  498. array("Grove Street", 2075.0, -1646.5, 2331.0, -1606.5),
  499. array("Crystal Gardens", 2109.0, -1742.5, 2187.0, -1646.5),
  500. array("106th Street", 2075.0, -1742.5, 2109.0, -1646.5),
  501. array("Gilmore Avenue", 2065.0, -1937.0, 2088.0, -1761.0),
  502. array("Westmont Avenue", 2087.0, -1937.0, 2188.0, -1762.0),
  503. array("Westmont Avenue", 2188.0, -1962.5, 2303.0, -1853.5),
  504. array("Elbert Street", 2188.0, -2040.5, 2407.0, -1962.5),
  505. array("Fremont", 2303.0, -1963.5, 2407.0, -1853.5),
  506. array("Cliffton Avenue", 2407.0, -2040.5, 2423.0, -1755.5),
  507. array("Arbutus Street", 2423.0, -2041.5, 2549.0, -1937.5),
  508. array("Sampson Street", 2423.0, -1938.5, 2721.0, -1919.5),
  509. array("Melrose Avenue", 2702.0, -2148.5, 2724.0, -1938.5),
  510. array("Acacia Street", 2613.0, -2041.5, 2703.0, -1938.5),
  511. array("Terminal Way", 2305.0, -2059.5, 2702.0, -2040.5),
  512. array("Idlewood Highway", 2439.0, -1629.5, 2713.0, -1595.5),
  513. array("East Beach Sewers", 2542.0, -1919.5, 2623.0, -1629.5),
  514. array("Ganton Boulevard", 2423.0, -1919.5, 2543.0, -1755.5),
  515. array("Willowfield Sewers South", 2379.0, -2148.5, 2703.0, -2059.5),
  516. array("Willowfield Sewers South", 2549.0, -2041.5, 2614.0, -1938.5),
  517. array("Willowfield Avenue", 2188.0, -1854.5, 2223.0, -1646.5),
  518. array("Elm Street", 2355.0, -1640.5, 2420.0, -1383.5)
  519. );
  520. $zonat = array
  521. (
  522. array("Aldea Malvada", -1372.10,2498.50,0.00,-1277.50,2615.30,200.00),
  523. array("Angel Pine", -2324.90,-2584.20,-6.10,-1964.20,-2212.10,200.00),
  524. array("Arco del Oeste", -901.10,2221.80,0.00,-592.00,2571.90,200.00),
  525. array("Avispa Country Club", -2361.50,-417.10,0.00,-2270.00,-355.40,200.00),
  526. array("Avispa Country Club", -2470.00,-355.40,0.00,-2270.00,-318.40,46.10),
  527. array("Avispa Country Club", -2550.00,-355.40,0.00,-2470.00,-318.40,39.70),
  528. array("Avispa Country Club", -2646.40,-355.40,0.00,-2270.00,-222.50,200.00),
  529. array("Avispa Country Club", -2667.80,-302.10,-28.80,-2646.40,-262.30,71.10),
  530. array("Avispa Country Club", -2831.80,-430.20,-6.10,-2646.40,-222.50,200.00),
  531. array("Back o Beyond", -1166.90,-2641.10,0.00,-321.70,-1856.00,200.00),
  532. array("Battery Point", -2741.00,1268.40,-4.50,-2533.00,1490.40,200.00),
  533. array("Bayside Marina", -2353.10,2275.70,0.00,-2153.10,2475.70,200.00),
  534. array("Bayside", -2741.00,2175.10,0.00,-2353.10,2722.70,200.00),
  535. array("Beacon Hill", -399.60,-1075.50,-1.40,-319.00,-977.50,198.50),
  536. array("Blackfield Chapel", 1325.60,596.30,-89.00,1375.60,795.00,110.90),
  537. array("Blackfield Chapel", 1375.60,596.30,-89.00,1558.00,823.20,110.90),
  538. array("Blackfield Section", 1166.50,795.00,-89.00,1375.60,1044.60,110.90),
  539. array("Blackfield Section", 1197.30,1044.60,-89.00,1277.00,1163.30,110.90),
  540. array("Blackfield Section", 1277.00,1044.60,-89.00,1315.30,1087.60,110.90),
  541. array("Blackfield Section", 1375.60,823.20,-89.00,1457.30,919.40,110.90),
  542. array("Blackfield", 964.30,1203.20,-89.00,1197.30,1403.20,110.90),
  543. array("Blackfield", 964.30,1403.20,-89.00,1197.30,1726.20,110.90),
  544. array("Blueberry Acres", -319.60,-220.10,0.00,104.50,293.30,200.00),
  545. array("Blueberry", 104.50,-220.10,2.30,349.60,152.20,200.00),
  546. array("Blueberry", 19.60,-404.10,3.80,349.60,-220.10,200.00),
  547. array("Caligula's Palace", 2087.30,1543.20,-89.00,2437.30,1703.20,110.90),
  548. array("Caligula's Palace", 2137.40,1703.20,-89.00,2437.30,1783.20,110.90),
  549. array("Calton Heights", -2274.10,744.10,-6.10,-1982.30,1358.90,200.00),
  550. array("Castillo del Diablo", -208.50,2123.00,-7.60,114.00,2337.10,200.00),
  551. array("Castillo del Diablo", -208.50,2337.10,0.00,8.40,2487.10,200.00),
  552. array("Castillo del Diablo", -464.50,2217.60,0.00,-208.50,2580.30,200.00),
  553. array("Chinatown", -2274.10,578.30,-7.60,-2078.60,744.10,200.00),
  554. array("City Hall", -2867.80,277.40,-9.10,-2593.40,458.40,200.00),
  555. array("Come-A-Lot", 2087.30,943.20,-89.00,2623.10,1203.20,110.90),
  556. array("Commerce", 1323.90,-1722.20,-89.00,1440.90,-1577.50,110.90),
  557. array("Commerce", 1323.90,-1842.20,-89.00,1701.90,-1722.20,110.90),
  558. array("Commerce", 1370.80,-1577.50,-89.00,1463.90,-1384.90,110.90),
  559. array("Commerce", 1463.90,-1577.50,-89.00,1667.90,-1430.80,110.90),
  560. array("Commerce", 1583.50,-1722.20,-89.00,1758.90,-1577.50,110.90),
  561. array("Commerce", 1667.90,-1577.50,-89.00,1812.60,-1430.80,110.90),
  562. array("Conference Center", 1046.10,-1804.20,-89.00,1323.90,-1722.20,110.90),
  563. array("Conference Center", 1073.20,-1842.20,-89.00,1323.90,-1804.20,110.90),
  564. array("Cranberry Station", -2007.80,56.30,0.00,-1922.00,224.70,100.00),
  565. array("Creek", 2749.90,1937.20,-89.00,2921.60,2669.70,110.90),
  566. array("Dillimore", 580.70,-674.80,-9.50,861.00,-404.70,200.00),
  567. array("Doherty", -2270.00,-324.10,-0.00,-1794.90,-222.50,200.00),
  568. array("Doherty", -2173.00,-222.50,-0.00,-1794.90,265.20,200.00),
  569. array("Downtown Los Santos", 1370.80,-1170.80,-89.00,1463.90,-1130.80,110.90),
  570. array("Downtown Los Santos", 1370.80,-1384.90,-89.00,1463.90,-1170.80,110.90),
  571. array("Downtown Los Santos", 1378.30,-1130.80,-89.00,1463.90,-1026.30,110.90),
  572. array("Downtown Los Santos", 1391.00,-1026.30,-89.00,1463.90,-926.90,110.90),
  573. array("Downtown Los Santos", 1463.90,-1290.80,-89.00,1724.70,-1150.80,110.90),
  574. array("Downtown Los Santos", 1463.90,-1430.80,-89.00,1724.70,-1290.80,110.90),
  575. array("Downtown Los Santos", 1507.50,-1385.20,110.90,1582.50,-1325.30,335.90),
  576. array("Downtown Los Santos", 1724.70,-1250.90,-89.00,1812.60,-1150.80,110.90),
  577. array("Downtown Los Santos", 1724.70,-1430.80,-89.00,1812.60,-1250.90,110.90),
  578. array("Downtown", -1580.00,744.20,-6.10,-1499.80,1025.90,200.00),
  579. array("Downtown", -1700.00,744.20,-6.10,-1580.00,1176.50,200.00),
  580. array("Downtown", -1871.70,1176.40,-4.50,-1620.30,1274.20,200.00),
  581. array("Downtown", -1982.30,744.10,-6.10,-1871.70,1274.20,200.00),
  582. array("Downtown", -1993.20,265.20,-9.10,-1794.90,578.30,200.00),
  583. array("Downtown", -2078.60,578.30,-7.60,-1499.80,744.20,200.00),
  584. array("East Beach", 2632.80,-1668.10,-89.00,2747.70,-1393.40,110.90),
  585. array("East Beach", 2632.80,-1852.80,-89.00,2959.30,-1668.10,110.90),
  586. array("East Beach", 2747.70,-1498.60,-89.00,2959.30,-1120.00,110.90),
  587. array("East Beach", 2747.70,-1668.10,-89.00,2959.30,-1498.60,110.90),
  588. array("East Los Santos", 2222.50,-1628.50,-89.00,2421.00,-1494.00,110.90),
  589. array("East Los Santos", 2266.20,-1494.00,-89.00,2381.60,-1372.00,110.90),
  590. array("East Los Santos", 2281.40,-1372.00,-89.00,2381.60,-1135.00,110.90),
  591. array("East Los Santos", 2381.60,-1454.30,-89.00,2462.10,-1135.00,110.90),
  592. array("East Los Santos", 2381.60,-1494.00,-89.00,2421.00,-1454.30,110.90),
  593. array("East Los Santos", 2421.00,-1628.50,-89.00,2632.80,-1454.30,110.90),
  594. array("East Los Santos", 2462.10,-1454.30,-89.00,2581.70,-1135.00,110.90),
  595. array("Easter Basin", -1794.90,-50.00,-0.00,-1499.80,249.90,200.00),
  596. array("Easter Basin", -1794.90,249.90,-9.10,-1242.90,578.30,200.00),
  597. array("Easter Bay Airport", -1213.90,-50.00,-4.50,-947.90,578.30,200.00),
  598. array("Easter Bay Airport", -1213.90,-730.10,0.00,-1132.80,-50.00,200.00),
  599. array("Easter Bay Airport", -1242.90,-50.00,0.00,-1213.90,578.30,200.00),
  600. array("Easter Bay Airport", -1315.40,-405.30,15.40,-1264.40,-209.50,25.40),
  601. array("Easter Bay Airport", -1354.30,-287.30,15.40,-1315.40,-209.50,25.40),
  602. array("Easter Bay Airport", -1490.30,-209.50,15.40,-1264.40,-148.30,25.40),
  603. array("Easter Bay Airport", -1499.80,-50.00,-0.00,-1242.90,249.90,200.00),
  604. array("Easter Bay Airport", -1794.90,-730.10,-3.00,-1213.90,-50.00,200.00),
  605. array("Easter Bay Chemical", -1132.80,-768.00,0.00,-956.40,-578.10,200.00),
  606. array("Easter Bay Chemical", -1132.80,-787.30,0.00,-956.40,-768.00,200.00),
  607. array("El Corona", 1692.60,-2179.20,-89.00,1812.60,-1842.20,110.90),
  608. array("El Corona", 1812.60,-2179.20,-89.00,1970.60,-1852.80,110.90),
  609. array("El Quebrados", -1645.20,2498.50,0.00,-1372.10,2777.80,200.00),
  610. array("Esplanade East", -1499.80,578.30,-79.60,-1339.80,1274.20,20.30),
  611. array("Esplanade East", -1580.00,1025.90,-6.10,-1499.80,1274.20,200.00),
  612. array("Esplanade East", -1620.30,1176.50,-4.50,-1580.00,1274.20,200.00),
  613. array("Esplanade North", -1982.30,1274.20,-4.50,-1524.20,1358.90,200.00),
  614. array("Esplanade North", -1996.60,1358.90,-4.50,-1524.20,1592.50,200.00),
  615. array("Esplanade North", -2533.00,1358.90,-4.50,-1996.60,1501.20,200.00),
  616. array("Fallen Tree", -792.20,-698.50,-5.30,-452.40,-380.00,200.00),
  617. array("Fallow Bridge", 434.30,366.50,0.00,603.00,555.60,200.00),
  618. array("Fern Ridge", 508.10,-139.20,0.00,1306.60,119.50,200.00),
  619. array("Financial", -1871.70,744.10,-6.10,-1701.30,1176.40,300.00),
  620. array("Fisher's Lagoon", 1916.90,-233.30,-100.00,2131.70,13.80,200.00),
  621. array("Flint Intersection", -187.70,-1596.70,-89.00,17.00,-1276.60,110.90),
  622. array("Flint Range", -594.10,-1648.50,0.00,-187.70,-1276.60,200.00),
  623. array("Fort Carson", -376.20,826.30,-3.00,123.70,1220.40,200.00),
  624. array("Foster Valley", -2178.60,-1115.50,0.00,-1794.90,-599.80,200.00),
  625. array("Foster Valley", -2178.60,-1250.90,0.00,-1794.90,-1115.50,200.00),
  626. array("Foster Valley", -2178.60,-599.80,-0.00,-1794.90,-324.10,200.00),
  627. array("Foster Valley", -2270.00,-430.20,-0.00,-2178.60,-324.10,200.00),
  628. array("Four Dragons Casino", 1817.30,863.20,-89.00,2027.30,1083.20,110.90),
  629. array("Frederick Bridge", 2759.20,296.50,0.00,2774.20,594.70,200.00),
  630. array("Gant Bridge", -2741.00,1490.40,-6.10,-2616.40,1659.60,200.00),
  631. array("Gant Bridge", -2741.40,1659.60,-6.10,-2616.40,2175.10,200.00),
  632. array("Ganton", 2222.50,-1722.30,-89.00,2632.80,-1628.50,110.90),
  633. array("Ganton", 2222.50,-1852.80,-89.00,2632.80,-1722.30,110.90),
  634. array("Garcia", -2395.10,-222.50,-5.30,-2354.00,-204.70,200.00),
  635. array("Garcia", -2411.20,-222.50,-0.00,-2173.00,265.20,200.00),
  636. array("Garver Bridge", -1213.90,950.00,-89.00,-1087.90,1178.90,110.90),
  637. array("Garver Bridge", -1339.80,828.10,-89.00,-1213.90,1057.00,110.90),
  638. array("Garver Bridge", -1499.80,696.40,-179.60,-1339.80,925.30,20.30),
  639. array("Glen Park", 1812.60,-1100.80,-89.00,1994.30,-973.30,110.90),
  640. array("Glen Park", 1812.60,-1350.70,-89.00,2056.80,-1100.80,110.90),
  641. array("Glen Park", 1812.60,-1449.60,-89.00,1996.90,-1350.70,110.90),
  642. array("Green Palms", 176.50,1305.40,-3.00,338.60,1520.70,200.00),
  643. array("Greenglass College", 964.30,1044.60,-89.00,1197.30,1203.20,110.90),
  644. array("Greenglass College", 964.30,930.80,-89.00,1166.50,1044.60,110.90),
  645. array("Hampton Barns", 603.00,264.30,0.00,761.90,366.50,200.00),
  646. array("Hankypanky Point", 2576.90,62.10,0.00,2759.20,385.50,200.00),
  647. array("Harry Gold Parkway", 1777.30,863.20,-89.00,1817.30,2342.80,110.90),
  648. array("Hashbury", -2593.40,-222.50,-0.00,-2411.20,54.70,200.00),
  649. array("Hilltop Farm", 967.30,-450.30,-3.00,1176.70,-217.90,200.00),
  650. array("Hunter Quarry", 337.20,710.80,-115.20,860.50,1031.70,203.70),
  651. array("Idlewood", 1812.60,-1602.30,-89.00,2124.60,-1449.60,110.90),
  652. array("Idlewood", 1812.60,-1742.30,-89.00,1951.60,-1602.30,110.90),
  653. array("Idlewood", 1812.60,-1852.80,-89.00,1971.60,-1742.30,110.90),
  654. array("Idlewood", 1951.60,-1742.30,-89.00,2124.60,-1602.30,110.90),
  655. array("Idlewood", 1971.60,-1852.80,-89.00,2222.50,-1742.30,110.90),
  656. array("Idlewood", 2124.60,-1742.30,-89.00,2222.50,-1494.00,110.90),
  657. array("Jefferson", 1996.90,-1449.60,-89.00,2056.80,-1350.70,110.90),
  658. array("Jefferson", 2056.80,-1210.70,-89.00,2185.30,-1126.30,110.90),
  659. array("Jefferson", 2056.80,-1372.00,-89.00,2281.40,-1210.70,110.90),
  660. array("Jefferson", 2056.80,-1449.60,-89.00,2266.20,-1372.00,110.90),
  661. array("Jefferson", 2124.60,-1494.00,-89.00,2266.20,-1449.60,110.90),
  662. array("Jefferson", 2185.30,-1210.70,-89.00,2281.40,-1154.50,110.90),
  663. array("Julius Thruway East", 2536.40,2442.50,-89.00,2685.10,2542.50,110.90),
  664. array("Julius Thruway East", 2623.10,943.20,-89.00,2749.90,1055.90,110.90),
  665. array("Julius Thruway East", 2625.10,2202.70,-89.00,2685.10,2442.50,110.90),
  666. array("Julius Thruway East", 2685.10,1055.90,-89.00,2749.90,2626.50,110.90),
  667. array("Julius Thruway North", 1377.30,2433.20,-89.00,1534.50,2507.20,110.90),
  668. array("Julius Thruway North", 1534.50,2433.20,-89.00,1848.40,2583.20,110.90),
  669. array("Julius Thruway North", 1704.50,2342.80,-89.00,1848.40,2433.20,110.90),
  670. array("Julius Thruway North", 1848.40,2478.40,-89.00,1938.80,2553.40,110.90),
  671. array("Julius Thruway North", 1938.80,2508.20,-89.00,2121.40,2624.20,110.90),
  672. array("Julius Thruway North", 2121.40,2508.20,-89.00,2237.40,2663.10,110.90),
  673. array("Julius Thruway North", 2237.40,2542.50,-89.00,2498.20,2663.10,110.90),
  674. array("Julius Thruway North", 2498.20,2542.50,-89.00,2685.10,2626.50,110.90),
  675. array("Julius Thruway South", 1457.30,823.20,-89.00,2377.30,863.20,110.90),
  676. array("Julius Thruway South", 2377.30,788.80,-89.00,2537.30,897.90,110.90),
  677. array("Julius Thruway West", 1197.30,1163.30,-89.00,1236.60,2243.20,110.90),
  678. array("Julius Thruway West", 1236.60,2142.80,-89.00,1297.40,2243.20,110.90),
  679. array("Juniper Hill", -2533.00,578.30,-7.60,-2274.10,968.30,200.00),
  680. array("Juniper Hollow", -2533.00,968.30,-6.10,-2274.10,1358.90,200.00),
  681. array("KACC Military Fuels", 2498.20,2626.50,-89.00,2749.90,2861.50,110.90),
  682. array("Kincaid Bridge", -1087.90,855.30,-89.00,-961.90,986.20,110.90),
  683. array("Kincaid Bridge", -1213.90,721.10,-89.00,-1087.90,950.00,110.90),
  684. array("Kincaid Bridge", -1339.80,599.20,-89.00,-1213.90,828.10,110.90),
  685. array("King's", -2253.50,373.50,-9.10,-1993.20,458.40,200.00),
  686. array("King's", -2329.30,458.40,-7.60,-1993.20,578.30,200.00),
  687. array("King's", -2411.20,265.20,-9.10,-1993.20,373.50,200.00),
  688. array("LS International", 1249.60,-2394.30,-89.00,1852.00,-2179.20,110.90),
  689. array("LS International", 1382.70,-2730.80,-89.00,2201.80,-2394.30,110.90),
  690. array("LS International", 1400.90,-2669.20,-39.00,2189.80,-2597.20,60.90),
  691. array("LS International", 1852.00,-2394.30,-89.00,2089.00,-2179.20,110.90),
  692. array("LS International", 1974.60,-2394.30,-39.00,2089.00,-2256.50,60.90),
  693. array("LS International", 2051.60,-2597.20,-39.00,2152.40,-2394.30,60.90),
  694. array("LVA Freight Depot", 1236.60,1163.40,-89.00,1277.00,1203.20,110.90),
  695. array("LVA Freight Depot", 1277.00,1087.60,-89.00,1375.60,1203.20,110.90),
  696. array("LVA Freight Depot", 1315.30,1044.60,-89.00,1375.60,1087.60,110.90),
  697. array("LVA Freight Depot", 1375.60,919.40,-89.00,1457.30,1203.20,110.90),
  698. array("LVA Freight Depot", 1457.30,863.20,-89.00,1777.40,1143.20,110.90),
  699. array("Las Barrancas", -926.10,1398.70,-3.00,-719.20,1634.60,200.00),
  700. array("Las Brujas", -365.10,2123.00,-3.00,-208.50,2217.60,200.00),
  701. array("Las Colinas", 1994.30,-1100.80,-89.00,2056.80,-920.80,110.90),
  702. array("Las Colinas", 2056.80,-1126.30,-89.00,2126.80,-920.80,110.90),
  703. array("Las Colinas", 2126.80,-1126.30,-89.00,2185.30,-934.40,110.90),
  704. array("Las Colinas", 2185.30,-1154.50,-89.00,2281.40,-934.40,110.90),
  705. array("Las Colinas", 2281.40,-1135.00,-89.00,2632.70,-945.00,110.90),
  706. array("Las Colinas", 2632.70,-1135.00,-89.00,2747.70,-945.00,110.90),
  707. array("Las Colinas", 2747.70,-1120.00,-89.00,2959.30,-945.00,110.90),
  708. array("Las Payasadas", -354.30,2580.30,2.00,-133.60,2816.80,200.00),
  709. array("Las Venturas Airport", 1236.60,1203.20,-89.00,1457.30,1883.10,110.90),
  710. array("Las Venturas Airport", 1457.30,1143.20,-89.00,1777.40,1203.20,110.90),
  711. array("Las Venturas Airport", 1457.30,1203.20,-89.00,1777.30,1883.10,110.90),
  712. array("Las Venturas Airport", 1515.80,1586.40,-12.50,1729.90,1714.50,87.50),
  713. array("Last Dime Motel", 1823.00,596.30,-89.00,1997.20,823.20,110.90),
  714. array("Leafy Hollow", -1166.90,-1856.00,0.00,-815.60,-1602.00,200.00),
  715. array("Liberty City", -1000.00,400.00,1300.00,-700.00,600.00,1400.00),
  716. array("Lil' Probe Inn", -90.20,1286.80,-3.00,153.80,1554.10,200.00),
  717. array("Linden Side", 2749.90,943.20,-89.00,2923.30,1198.90,110.90),
  718. array("Linden Station", 2749.90,1198.90,-89.00,2923.30,1548.90,110.90),
  719. array("Linden Station", 2811.20,1229.50,-39.50,2861.20,1407.50,60.40),
  720. array("Little Mexico", 1701.90,-1842.20,-89.00,1812.60,-1722.20,110.90),
  721. array("Little Mexico", 1758.90,-1722.20,-89.00,1812.60,-1577.50,110.90),
  722. array("Los Flores", 2581.70,-1393.40,-89.00,2747.70,-1135.00,110.90),
  723. array("Los Flores", 2581.70,-1454.30,-89.00,2632.80,-1393.40,110.90),
  724. array("Marina", 647.70,-1577.50,-89.00,807.90,-1416.20,110.90),
  725. array("Marina", 647.70,-1804.20,-89.00,851.40,-1577.50,110.90),
  726. array("Marina", 807.90,-1577.50,-89.00,926.90,-1416.20,110.90),
  727. array("Market Station", 787.40,-1410.90,-34.10,866.00,-1310.20,65.80),
  728. array("Market", 1072.60,-1416.20,-89.00,1370.80,-1130.80,110.90),
  729. array("Market", 787.40,-1416.20,-89.00,1072.60,-1310.20,110.90),
  730. array("Market", 926.90,-1577.50,-89.00,1370.80,-1416.20,110.90),
  731. array("Market", 952.60,-1310.20,-89.00,1072.60,-1130.80,110.90),
  732. array("Martin Bridge", -222.10,293.30,0.00,-122.10,476.40,200.00),
  733. array("Missionary Hill", -2994.40,-811.20,0.00,-2178.60,-430.20,200.00),
  734. array("Montgomery Section", 1546.60,208.10,0.00,1745.80,347.40,200.00),
  735. array("Montgomery Section", 1582.40,347.40,0.00,1664.60,401.70,200.00),
  736. array("Montgomery", 1119.50,119.50,-3.00,1451.40,493.30,200.00),
  737. array("Montgomery", 1451.40,347.40,-6.10,1582.40,420.80,200.00),
  738. array("Mulholland Section", 1463.90,-1150.80,-89.00,1812.60,-768.00,110.90),
  739. array("Mulholland", 1096.40,-910.10,-89.00,1169.10,-768.00,110.90),
  740. array("Mulholland", 1169.10,-910.10,-89.00,1318.10,-768.00,110.90),
  741. array("Mulholland", 1269.10,-768.00,-89.00,1414.00,-452.40,110.90),
  742. array("Mulholland", 1281.10,-452.40,-89.00,1641.10,-290.90,110.90),
  743. array("Mulholland", 1318.10,-910.10,-89.00,1357.00,-768.00,110.90),
  744. array("Mulholland", 1357.00,-926.90,-89.00,1463.90,-768.00,110.90),
  745. array("Mulholland", 1414.00,-768.00,-89.00,1667.60,-452.40,110.90),
  746. array("Mulholland", 687.80,-860.60,-89.00,911.80,-768.00,110.90),
  747. array("Mulholland", 737.50,-768.00,-89.00,1142.20,-674.80,110.90),
  748. array("Mulholland", 768.60,-954.60,-89.00,952.60,-860.60,110.90),
  749. array("Mulholland", 861.00,-674.80,-89.00,1156.50,-600.80,110.90),
  750. array("Mulholland", 911.80,-860.60,-89.00,1096.40,-768.00,110.90),
  751. array("Mulholland", 952.60,-937.10,-89.00,1096.40,-860.60,110.90),
  752. array("North Rock", 2285.30,-768.00,0.00,2770.50,-269.70,200.00),
  753. array("Ocean Docks", 2089.00,-2394.30,-89.00,2201.80,-2235.80,110.90),
  754. array("Ocean Docks", 2201.80,-2418.30,-89.00,2324.00,-2095.00,110.90),
  755. array("Ocean Docks", 2201.80,-2730.80,-89.00,2324.00,-2418.30,110.90),
  756. array("Ocean Docks", 2324.00,-2145.10,-89.00,2703.50,-2059.20,110.90),
  757. array("Ocean Docks", 2324.00,-2302.30,-89.00,2703.50,-2145.10,110.90),
  758. array("Ocean Docks", 2373.70,-2697.00,-89.00,2809.20,-2330.40,110.90),
  759. array("Ocean Docks", 2703.50,-2302.30,-89.00,2959.30,-2126.90,110.90),
  760. array("Ocean Flats", -2994.40,-222.50,-0.00,-2593.40,277.40,200.00),
  761. array("Ocean Flats", -2994.40,-430.20,-0.00,-2831.80,-222.50,200.00),
  762. array("Ocean Flats", -2994.40,277.40,-9.10,-2867.80,458.40,200.00),
  763. array("Octane Springs", 338.60,1228.50,0.00,664.30,1655.00,200.00),
  764. array("Old Venturas Strip", 2162.30,2012.10,-89.00,2685.10,2202.70,110.90),
  765. array("Palisades", -2994.40,458.40,-6.10,-2741.00,1339.60,200.00),
  766. array("Palomino Creek", 2160.20,-149.00,0.00,2576.90,228.30,200.00),
  767. array("Paradiso", -2741.00,793.40,-6.10,-2533.00,1268.40,200.00),
  768. array("Pershing Square", 1440.90,-1722.20,-89.00,1583.50,-1577.50,110.90),
  769. array("Pilgrim", 2437.30,1383.20,-89.00,2624.40,1783.20,110.90),
  770. array("Pilgrim", 2624.40,1383.20,-89.00,2685.10,1783.20,110.90),
  771. array("Pilson Intersection", 1098.30,2243.20,-89.00,1377.30,2507.20,110.90),
  772. array("Pirates in Men's Pants", 1817.30,1469.20,-89.00,2027.40,1703.20,110.90),
  773. array("Playa del Seville", 2703.50,-2126.90,-89.00,2959.30,-1852.80,110.90),
  774. array("Prickle Pine", 1117.40,2507.20,-89.00,1534.50,2723.20,110.90),
  775. array("Prickle Pine", 1534.50,2583.20,-89.00,1848.40,2863.20,110.90),
  776. array("Prickle Pine", 1848.40,2553.40,-89.00,1938.80,2863.20,110.90),
  777. array("Prickle Pine", 1938.80,2624.20,-89.00,2121.40,2861.50,110.90),
  778. array("Queens", -2411.20,373.50,0.00,-2253.50,458.40,200.00),
  779. array("Queens", -2533.00,458.40,0.00,-2329.30,578.30,200.00),
  780. array("Queens", -2593.40,54.70,0.00,-2411.20,458.40,200.00),
  781. array("Randolph Ind. Estate", 1558.00,596.30,-89.00,1823.00,823.20,110.90),
  782. array("Redsands East", 1817.30,2011.80,-89.00,2106.70,2202.70,110.90),
  783. array("Redsands East", 1817.30,2202.70,-89.00,2011.90,2342.80,110.90),
  784. array("Redsands East", 1848.40,2342.80,-89.00,2011.90,2478.40,110.90),
  785. array("Redsands West", 1236.60,1883.10,-89.00,1777.30,2142.80,110.90),
  786. array("Redsands West", 1297.40,2142.80,-89.00,1777.30,2243.20,110.90),
  787. array("Redsands West", 1377.30,2243.20,-89.00,1704.50,2433.20,110.90),
  788. array("Redsands West", 1704.50,2243.20,-89.00,1777.30,2342.80,110.90),
  789. array("Regular Tom", -405.70,1712.80,-3.00,-276.70,1892.70,200.00),
  790. array("Richman", 225.10,-1292.00,-89.00,466.20,-1235.00,110.90),
  791. array("Richman", 225.10,-1369.60,-89.00,334.50,-1292.00,110.90),
  792. array("Richman", 321.30,-1044.00,-89.00,647.50,-860.60,110.90),
  793. array("Richman", 321.30,-1235.00,-89.00,647.50,-1044.00,110.90),
  794. array("Richman", 321.30,-768.00,-89.00,700.70,-674.80,110.90),
  795. array("Richman", 321.30,-860.60,-89.00,687.80,-768.00,110.90),
  796. array("Richman", 647.50,-1118.20,-89.00,787.40,-954.60,110.90),
  797. array("Richman", 647.50,-954.60,-89.00,768.60,-860.60,110.90),
  798. array("Richman", 72.60,-1235.00,-89.00,321.30,-1008.10,110.90),
  799. array("Richman", 72.60,-1404.90,-89.00,225.10,-1235.00,110.90),
  800. array("Robada Section", -1119.00,1178.90,-89.00,-862.00,1351.40,110.90),
  801. array("Roca Escalante", 2237.40,2202.70,-89.00,2536.40,2542.50,110.90),
  802. array("Roca Escalante", 2536.40,2202.70,-89.00,2625.10,2442.50,110.90),
  803. array("Rockshore East", 2537.30,676.50,-89.00,2902.30,943.20,110.90),
  804. array("Rockshore West", 1997.20,596.30,-89.00,2377.30,823.20,110.90),
  805. array("Rockshore West", 2377.30,596.30,-89.00,2537.30,788.80,110.90),
  806. array("Rodeo", 225.10,-1501.90,-89.00,334.50,-1369.60,110.90),
  807. array("Rodeo", 225.10,-1684.60,-89.00,312.80,-1501.90,110.90),
  808. array("Rodeo", 312.80,-1684.60,-89.00,422.60,-1501.90,110.90),
  809. array("Rodeo", 334.50,-1406.00,-89.00,466.20,-1292.00,110.90),
  810. array("Rodeo", 334.50,-1501.90,-89.00,422.60,-1406.00,110.90),
  811. array("Rodeo", 422.60,-1570.20,-89.00,466.20,-1406.00,110.90),
  812. array("Rodeo", 422.60,-1684.60,-89.00,558.00,-1570.20,110.90),
  813. array("Rodeo", 466.20,-1385.00,-89.00,647.50,-1235.00,110.90),
  814. array("Rodeo", 466.20,-1570.20,-89.00,558.00,-1385.00,110.90),
  815. array("Rodeo", 558.00,-1684.60,-89.00,647.50,-1384.90,110.90),
  816. array("Rodeo", 72.60,-1544.10,-89.00,225.10,-1404.90,110.90),
  817. array("Rodeo", 72.60,-1684.60,-89.00,225.10,-1544.10,110.90),
  818. array("Royal Casino", 2087.30,1383.20,-89.00,2437.30,1543.20,110.90),
  819. array("San Andreas Sound", 2450.30,385.50,-100.00,2759.20,562.30,200.00),
  820. array("Santa Flora", -2741.00,458.40,-7.60,-2533.00,793.40,200.00),
  821. array("Santa Maria Beach", 342.60,-2173.20,-89.00,647.70,-1684.60,110.90),
  822. array("Santa Maria Beach", 72.60,-2173.20,-89.00,342.60,-1684.60,110.90),
  823. array("Shady Cabin", -1632.80,-2263.40,-3.00,-1601.30,-2231.70,200.00),
  824. array("Shady Creeks", -1820.60,-2643.60,-8.00,-1226.70,-1771.60,200.00),
  825. array("Shady Creeks", -2030.10,-2174.80,-6.10,-1820.60,-1771.60,200.00),
  826. array("Sobell Rail Yards", 2749.90,1548.90,-89.00,2923.30,1937.20,110.90),
  827. array("Spinybed", 2121.40,2663.10,-89.00,2498.20,2861.50,110.90),
  828. array("Starfish Casino", 2162.30,1883.20,-89.00,2437.30,2012.10,110.90),
  829. array("Starfish Casino", 2437.30,1783.20,-89.00,2685.10,2012.10,110.90),
  830. array("Starfish Casino", 2437.30,1858.10,-39.00,2495.00,1970.80,60.90),
  831. array("Temple", 1096.40,-1026.30,-89.00,1252.30,-910.10,110.90),
  832. array("Temple", 1096.40,-1130.80,-89.00,1252.30,-1026.30,110.90),
  833. array("Temple", 1252.30,-1026.30,-89.00,1391.00,-926.90,110.90),
  834. array("Temple", 1252.30,-1130.80,-89.00,1378.30,-1026.30,110.90),
  835. array("Temple", 1252.30,-926.90,-89.00,1357.00,-910.10,110.90),
  836. array("Temple", 952.60,-1130.80,-89.00,1096.40,-937.10,110.90),
  837. array("The Camel's Toe", 2087.30,1203.20,-89.00,2640.40,1383.20,110.90),
  838. array("The Clown's Pocket", 2162.30,1783.20,-89.00,2437.30,1883.20,110.90),
  839. array("The Emerald Isle", 2011.90,2202.70,-89.00,2237.40,2508.20,110.90),
  840. array("The Farm", -1209.60,-1317.10,114.90,-908.10,-787.30,251.90),
  841. array("The High Roller", 1817.30,1283.20,-89.00,2027.30,1469.20,110.90),
  842. array("The Mako Span", 1664.60,401.70,0.00,1785.10,567.20,200.00),
  843. array("The Panopticon", -947.90,-304.30,-1.10,-319.60,327.00,200.00),
  844. array("The Pink Swan", 1817.30,1083.20,-89.00,2027.30,1283.20,110.90),
  845. array("The Sherman Dam", -968.70,1929.40,-3.00,-481.10,2155.20,200.00),
  846. array("The Strip", 2027.40,1703.20,-89.00,2137.40,1783.20,110.90),
  847. array("The Strip", 2027.40,1783.20,-89.00,2162.30,1863.20,110.90),
  848. array("The Strip", 2027.40,863.20,-89.00,2087.30,1703.20,110.90),
  849. array("The Strip", 2106.70,1863.20,-89.00,2162.30,2202.70,110.90),
  850. array("The Visage", 1817.30,1703.20,-89.00,2027.40,1863.20,110.90),
  851. array("The Visage", 1817.30,1863.20,-89.00,2106.70,2011.80,110.90),
  852. array("Unity Station", 1692.60,-1971.80,-20.40,1812.60,-1932.80,79.50),
  853. array("Valle Ocultado", -936.60,2611.40,2.00,-715.90,2847.90,200.00),
  854. array("Verdant Bluffs", 1073.20,-2006.70,-89.00,1249.60,-1842.20,110.90),
  855. array("Verdant Bluffs", 1249.60,-2179.20,-89.00,1692.60,-1842.20,110.90),
  856. array("Verdant Bluffs", 930.20,-2488.40,-89.00,1249.60,-2006.70,110.90),
  857. array("Verdant Meadows", 37.00,2337.10,-3.00,435.90,2677.90,200.00),
  858. array("Verona Beach", 1046.10,-1722.20,-89.00,1161.50,-1577.50,110.90),
  859. array("Verona Beach", 1161.50,-1722.20,-89.00,1323.90,-1577.50,110.90),
  860. array("Verona Beach", 647.70,-2173.20,-89.00,930.20,-1804.20,110.90),
  861. array("Verona Beach", 851.40,-1804.20,-89.00,1046.10,-1577.50,110.90),
  862. array("Verona Beach", 930.20,-2006.70,-89.00,1073.20,-1804.20,110.90),
  863. array("Vinewood", 647.50,-1227.20,-89.00,787.40,-1118.20,110.90),
  864. array("Vinewood", 647.70,-1416.20,-89.00,787.40,-1227.20,110.90),
  865. array("Vinewood", 787.40,-1130.80,-89.00,952.60,-954.60,110.90),
  866. array("Vinewood", 787.40,-1310.20,-89.00,952.60,-1130.80,110.90),
  867. array("Whitewood Estates", 1098.30,1726.20,-89.00,1197.30,2243.20,110.90),
  868. array("Whitewood Estates", 883.30,1726.20,-89.00,1098.30,2507.20,110.90),
  869. array("Willowfield", 1970.60,-2179.20,-89.00,2089.00,-1852.80,110.90),
  870. array("Willowfield", 2089.00,-1989.90,-89.00,2324.00,-1852.80,110.90),
  871. array("Willowfield", 2089.00,-2235.80,-89.00,2201.80,-1989.90,110.90),
  872. array("Willowfield", 2201.80,-2095.00,-89.00,2324.00,-1989.90,110.90),
  873. array("Willowfield", 2324.00,-2059.20,-89.00,2541.70,-1852.80,110.90),
  874. array("Willowfield", 2541.70,-1941.40,-89.00,2703.50,-1852.80,110.90),
  875. array("Willowfield", 2541.70,-2059.20,-89.00,2703.50,-1941.40,110.90),
  876. array("Yellow Bell Station", 1377.40,2600.40,-21.90,1492.40,2687.30,78.00),
  877. array("The Big Ear", -410.00,1403.30,-3.00,-137.90,1681.20,200.00),
  878. // Main Zones
  879. array("Bone County", -480.50,596.30,-242.90,869.40,2993.80,900.00),
  880. array("Flint County", -1213.90,-2892.90,-242.90,44.60,-768.00,900.00),
  881. array("Las Venturas", 869.40,596.30,-242.90,2997.00,2993.80,900.00),
  882. array("Los Santos", 44.60,-2892.90,-242.90,2997.00,-768.00,900.00),
  883. array("Red County", -1213.90,-768.00,-242.90,2997.00,596.30,900.00),
  884. array("San Fierro", -2997.40,-1115.50,-242.90,-1213.90,1659.60,900.00),
  885. array("Tierra Robada", -1213.90,596.30,-242.90,-480.50,1659.60,900.00),
  886. array("Tierra Robada", -2997.40,1659.60,-242.90,-480.50,2993.80,900.00),
  887. array("Whetstone", -2997.40,-2892.90,-242.90,-1213.90,-1115.50,900.00)
  888. );
  889. function returnStreet($x, $y, $streets)
  890. {
  891. for($i = 0; $i != 60; ++$i)
  892. {
  893. if($x >= $streets[$i][1] && $x <= $streets[$i][3] && $y >= $streets[$i][2] && $y <= $streets[$i][4])
  894. {
  895. return $streets[$i][0];
  896. }
  897. }
  898. return "Unknown";
  899. }
  900. function qomaLokacionin($x, $y, $zonat)
  901. {
  902. for($i = 0; $i != 366; ++$i)
  903. {
  904. if($x >= $zonat[$i][1] && $x <= $zonat[$i][4] && $y >= $zonat[$i][2] && $y <= $zonat[$i][5])
  905. {
  906. return $zonat[$i][0];
  907. }
  908. }
  909. return "Unknown";
  910. }
  911. function GetCity($x, $y, $cities)
  912. {
  913. for($i = 0; $i != 8; ++$i)
  914. {
  915. if($x >= $cities[$i][1] && $x <= $cities[$i][4] && $y >= $cities[$i][2] && $y <= $cities[$i][5])
  916. {
  917. return $cities[$i][0];
  918. }
  919. }
  920. return "Unknown";
  921. }
  922. function adminatOnline($link)
  923. {
  924. $user_check_query = "SELECT `ID` FROM `characters` WHERE `Online` = 1 AND `Admin` > 0";
  925. $res = mysqli_query($link, $user_check_query);
  926. $rowcount = $res->num_rows;
  927. mysqli_free_result($res);
  928. return $rowcount;
  929. }
  930. function testeratOnline($link)
  931. {
  932. $user_check_query = "SELECT `ID` FROM `characters` WHERE `Online` = 1 AND `Admin` = -1";
  933. $res = mysqli_query($link, $user_check_query);
  934. $rowcount = $res->num_rows;
  935. mysqli_free_result($res);
  936. return $rowcount;
  937. }
  938. function ReturnForumData($username)
  939. {
  940. $OutputData['user_id'] = -1;
  941. $OutputData['username'] = "N/A";
  942. $OutputData['user_colour'] = 'FFFFFF';
  943. $OutputData['user_avatar'] = 'FFFFFF';
  944. $temp_connection = mysqli_connect(DB_SERVER, DB_USERNAME, DB_PASSWORD, "forum");
  945. if($link === false)
  946. {
  947. return $OutputData;
  948. }
  949. $user_check_query = "SELECT `user_id`, `username`, `user_colour`, `user_avatar` FROM `phpbb_users` WHERE `username` = '$username' OR `username_clean` = '$username' LIMIT 1";
  950. $temp_result = mysqli_query($temp_connection, $user_check_query);
  951. $rowcount = $temp_result->num_rows;
  952. if($rowcount > 0)
  953. {
  954. $data = mysqli_fetch_array($temp_result, MYSQLI_ASSOC);
  955. $OutputData['user_id'] = $data['user_id'];
  956. $OutputData['username'] = $data['username'];
  957. $OutputData['user_colour'] = $data['user_colour'];
  958. $OutputData['user_avatar'] = $data['user_avatar'];
  959. mysqli_free_result($temp_result);
  960. }
  961. mysqli_close($temp_connection);
  962. return $OutputData;
  963. }
  964. function averageHours($link, $username)
  965. {
  966. $date = new DateTime(); // For today/now, don't pass an arg.
  967. $current_date = $date->format("Y-m-d");// H:i:s
  968. $date->modify("-30 days");
  969. $old_date = $date->format("Y-m-d");// H:i:s
  970. $user_check_query = "SELECT `stamp`, `disconnected` FROM `logs_connection` WHERE `master` = '$username' AND `stamp` >= '$old_date' AND `stamp` <= '$current_date' ORDER BY `id` DESC";
  971. $result = mysqli_query($link, $user_check_query);
  972. $rowcount = $result->num_rows;
  973. $hours_array = array();
  974. $hours_array_str = array();
  975. for($i = 0; $i < 30; ++$i)
  976. {
  977. $hours_array[$i] = 0;
  978. $hours_array_str[$i] = "00:00:00";
  979. }
  980. $count = 0;
  981. if($rowcount > 0)
  982. {
  983. while($result2 = mysqli_fetch_array($result, MYSQLI_ASSOC))
  984. {
  985. $stamp = $result2['stamp'];
  986. $disconnected = $result2['disconnected'];
  987. $length = strtotime($disconnected) - strtotime($stamp);
  988. if($length < 1) $length = " - ";
  989. $count++;
  990. $stamp2 = date('Y-m-d', strtotime($stamp));
  991. for($i = 0; $i < 30; ++$i)
  992. {
  993. $date = new DateTime();
  994. $date->modify("-$i days");
  995. $the_date = $date->format("Y-m-d");
  996. if($stamp2 == $the_date)
  997. {
  998. $hours_array[$i] += $length;
  999. $test = $hours_array[$i];
  1000. $hours = floor($test / 3600);
  1001. $minutes = floor(($test / 60) % 60);
  1002. $seconds = $test % 60;
  1003. $hours_array_str[$i] = "$hours:$minutes:$seconds";
  1004. break;
  1005. }
  1006. }
  1007. }
  1008. $seconds = 0;
  1009. foreach($hours_array_str as $hours)
  1010. {
  1011. $exp = explode(':', strval($hours));
  1012. $seconds += $exp[0]*60*60 + $exp[1]*60 + $exp[2];
  1013. }
  1014. $average = $seconds/sizeof( $hours_array_str );
  1015. $avg = floor($average/3600).'.'.floor(($average%3600)/60); //.'.'.($average%3600)%60;
  1016. return $avg;
  1017. }
  1018. else return 0.0;
  1019. }
  1020. function returnActivityIcon($avg)
  1021. {
  1022. if($avg <= 0.0) $icon = "color-tomato fa fa-battery-slash";
  1023. else if($avg > 0.0 && $avg <= 1.0) $icon = "color-tomato fa fa-battery-empty";
  1024. else if($avg > 1.0 && $avg <= 2.0) $icon = "color-blue fa fa-battery-quarter";
  1025. else if($avg > 2.0 && $avg <= 3.0) $icon = "color-blue fa fa-battery-half";
  1026. else if($avg > 3.0 && $avg <= 4.0) $icon = "color-green fa fa-battery-three-quarters";
  1027. else if($avg > 4.0) $icon = "color-green fa fa-battery-full";
  1028. else $icon = "color-tomato fa fa-battery-slash";
  1029. return $icon;
  1030. }
  1031. function convertSeconds($sec_var)
  1032. {
  1033. $hours = floor($sec_var / 3600);
  1034. $minutes = floor(($sec_var / 60) % 60);
  1035. $seconds = $sec_var % 60;
  1036. $convert_time = "$hours hours, $minutes minutes, $seconds seconds";
  1037. return $convert_time;
  1038. }
  1039. function convertSeconds_ver2($sec_var)
  1040. {
  1041. $hours = floor($sec_var / 3600);
  1042. $minutes = floor(($sec_var / 60) % 60);
  1043. $seconds = $sec_var % 60;
  1044. $convert_time = "$seconds seconds";
  1045. if($minutes > 0) $convert_time = "$minutes minutes, " . $convert_time;
  1046. if($hours > 0) $convert_time = "$hours hours, " . $convert_time;
  1047. return $convert_time;
  1048. }
  1049. function lojtaretOnline($link)
  1050. {
  1051. $user_check_query = "SELECT `char_name` FROM `characters` WHERE `Online` = 1 AND `Admin` = 0";
  1052. $res = mysqli_query($link, $user_check_query);
  1053. $rowcount = $res->num_rows;
  1054. mysqli_free_result($res);
  1055. return $rowcount;
  1056. }
  1057. function playerCharacters($link, $master)
  1058. {
  1059. $user_check_query = "SELECT `ID` FROM `characters` WHERE `master` = '$master' LIMIT 6";
  1060. $res = mysqli_query($link, $user_check_query);
  1061. $rowcount = $res->num_rows;
  1062. mysqli_free_result($res);
  1063. return $rowcount;
  1064. }
  1065. function containsWord($str, $word)
  1066. {
  1067. return !!preg_match('#\\b' . preg_quote($word, '#') . '\\b#i', $str);
  1068. }
  1069. function insertNotification($link, $master, $title, $body, $sender)
  1070. {
  1071. $title = mysqli_escape_string($link, $title);
  1072. $body = mysqli_escape_string($link, $body);
  1073. $user_check_query = "INSERT INTO `notifications` (master, title, body, sender) VALUES ('$master', '$title', '$body', '$sender')";
  1074. $res = mysqli_query($link, $user_check_query);
  1075. }
  1076. function returnCharacterID($link, $id)
  1077. {
  1078. $user_check_query = "SELECT `ID` FROM `characters` WHERE `char_name` = '$id' LIMIT 1";
  1079. $res = mysqli_query($link, $user_check_query);
  1080. $rowcount = $res->num_rows;
  1081. if($rowcount > 0)
  1082. {
  1083. $result2 = mysqli_fetch_array($res, MYSQLI_ASSOC);
  1084. $useri = $result2['ID'];
  1085. }
  1086. else $useri = -1;
  1087. mysqli_free_result($res);
  1088. return $useri;
  1089. }
  1090. function returnCharacter($link, $id)
  1091. {
  1092. $user_check_query = "SELECT `char_name` FROM `characters` WHERE `ID` = '$id' LIMIT 1";
  1093. $res = mysqli_query($link, $user_check_query);
  1094. $rowcount = $res->num_rows;
  1095. if($rowcount > 0)
  1096. {
  1097. $result2 = mysqli_fetch_array($res, MYSQLI_ASSOC);
  1098. $useri = $result2['char_name'];
  1099. }
  1100. else $useri = "Invalid";
  1101. mysqli_free_result($res);
  1102. return $useri;
  1103. }
  1104. function returnMaster($link, $id)
  1105. {
  1106. $user_check_query = "SELECT `Username` FROM `accounts` WHERE `ID` = '$id' LIMIT 1";
  1107. $res = mysqli_query($link, $user_check_query);
  1108. $rowcount = $res->num_rows;
  1109. if($rowcount > 0)
  1110. {
  1111. $result2 = mysqli_fetch_array($res, MYSQLI_ASSOC);
  1112. $useri = $result2['Username'];
  1113. }
  1114. else $useri = "Invalid";
  1115. mysqli_free_result($res);
  1116. return $useri;
  1117. }
  1118. function returnFactionLeader($link, $id)
  1119. {
  1120. $user_check_query = "SELECT `char_name` FROM `characters` WHERE `Faction` = '$id' AND `FactionRank` = '1' LIMIT 1";
  1121. $res = mysqli_query($link, $user_check_query);
  1122. $rowcount = $res->num_rows;
  1123. if($rowcount > 0)
  1124. {
  1125. $result2 = mysqli_fetch_array($res, MYSQLI_ASSOC);
  1126. $useri = $result2['char_name'];
  1127. }
  1128. else $useri = "Nobody";
  1129. mysqli_free_result($res);
  1130. return $useri;
  1131. }
  1132. function returnFactionName($link, $factionid)
  1133. {
  1134. $user_check_query = "SELECT `factionName` FROM `factions` WHERE `factionID` = '$factionid' LIMIT 1";
  1135. $res = mysqli_query($link, $user_check_query);
  1136. $rowcount = $res->num_rows;
  1137. if($rowcount > 0)
  1138. {
  1139. $result2 = mysqli_fetch_array($res, MYSQLI_ASSOC);
  1140. $returnName = $result2['factionName'];
  1141. }
  1142. else $returnName = "N/A";
  1143. mysqli_free_result($res);
  1144. return $returnName;
  1145. }
  1146. function returnFactionRank($link, $factionid, $factionrank)
  1147. {
  1148. $user_check_query = "SELECT `factionRank$factionrank` FROM `factions` WHERE `factionID` = '$factionid' LIMIT 1";
  1149. $res = mysqli_query($link, $user_check_query);
  1150. $rowcount = $res->num_rows;
  1151. if($rowcount > 0)
  1152. {
  1153. $result2 = mysqli_fetch_array($res, MYSQLI_ASSOC);
  1154. $returnRank = $result2["factionRank$factionrank"];
  1155. }
  1156. else $returnRank = "N/A";
  1157. mysqli_free_result($res);
  1158. return $returnRank;
  1159. }
  1160. function substrstr($orig, $startText, $endText)
  1161. {
  1162. //get first occurrence of the start string
  1163. $start = strpos($orig, $startText);
  1164. //get last occurrence of the end string
  1165. $end = strrpos($orig, $endText);
  1166. if($start === FALSE || $end === FALSE)
  1167. return $orig;
  1168. $start++;
  1169. $length = $end - $start;
  1170. return substr($orig, $start, $length);
  1171. }
  1172. function similarApplication($link, $story, $sqlid)
  1173. {
  1174. mysqli_escape_string($link, $story);
  1175. $similar_app = -1;
  1176. $game = explode('.', $story);
  1177. for($i = 0; $i < count($game); ++$i)
  1178. {
  1179. if(strlen($game[$i]) < 3)
  1180. {
  1181. unset($game[$i]);
  1182. }
  1183. }
  1184. $random_sentence = array
  1185. (
  1186. -1,
  1187. -1,
  1188. -1,
  1189. -1
  1190. );
  1191. if(count($game) < 5) $max_sentences = intval(count($game) / 2);
  1192. else $max_sentences = 4;
  1193. for($test = 0; $test < $max_sentences; $test++)
  1194. {
  1195. $found_sentence = rand(0, (count($game)-1));
  1196. while($random_sentence[0] == $found_sentence || $random_sentence[1] == $found_sentence || $random_sentence[2] == $found_sentence || $random_sentence[3] == $found_sentence || strlen($game[ $found_sentence ]) < 3)
  1197. {
  1198. $found_sentence = rand(0, (count($game)-1));
  1199. }
  1200. $random_sentence[$test] = $found_sentence;
  1201. }
  1202. $user_check_query = "SELECT ID FROM application WHERE ID != '$sqlid' AND story";
  1203. for($found = 0; $found < $max_sentences; $found++)
  1204. {
  1205. $sentence_idx = $game[ $random_sentence[$found] ];
  1206. $sentence_idx = mysqli_escape_string($link, $sentence_idx);
  1207. if($found == 0)
  1208. {
  1209. $user_check_query .= " LIKE '%$sentence_idx%'";
  1210. }
  1211. else
  1212. {
  1213. $user_check_query .= " AND story LIKE '%$sentence_idx%'";
  1214. }
  1215. }
  1216. $user_check_query .= " LIMIT 1";
  1217. $result = mysqli_query($link, $user_check_query);
  1218. $rowcount = $result->num_rows;
  1219. if($rowcount != 0)
  1220. {
  1221. $result2 = mysqli_fetch_array($result, MYSQLI_ASSOC);
  1222. $similar_app = $result2['ID'];
  1223. }
  1224. mysqli_free_result($result);
  1225. return $similar_app;
  1226. }
  1227. function isUsingProxy($ip_address)
  1228. {
  1229. $ports = array(80, 81, 553, 554, 1080, 3128, 4480, 6588, 8000, 8080);
  1230. foreach ($ports as $port)
  1231. {
  1232. if (@fsockopen($ip_address, $port, $errno, $errstr, 5))
  1233. {
  1234. return true;
  1235. }
  1236. }
  1237. return false;
  1238. }
  1239. function friendCount($link, $master)
  1240. {
  1241. $user_check_query = "SELECT ID FROM ucp_friends WHERE playerID = '$master'";
  1242. $res = mysqli_query($link, $user_check_query);
  1243. $rowcount = $res->num_rows;
  1244. mysqli_free_result($res);
  1245. return $rowcount;
  1246. }
  1247. function playerHasCharacter($character)
  1248. {
  1249. $chars = $_SESSION['characters'];
  1250. for($i = 0; $i < 6; ++$i)
  1251. {
  1252. if($chars[$i][1] == -1) continue;
  1253. if($chars[$i][1] == $character)
  1254. {
  1255. return true;
  1256. }
  1257. }
  1258. return false;
  1259. }
  1260. function playerVariableCharacters()
  1261. {
  1262. $chars = $_SESSION['characters'];
  1263. $count = 0;
  1264. for($i = 0; $i < 5; ++$i)
  1265. {
  1266. if($chars[$i][1] != -1)
  1267. {
  1268. $count++;
  1269. }
  1270. }
  1271. return $count;
  1272. }
  1273. function updateCharacters($link, $master)
  1274. {
  1275. $chars = array
  1276. (
  1277. array("N/A", -1, 0),
  1278. array("N/A", -1, 0),
  1279. array("N/A", -1, 0),
  1280. array("N/A", -1, 0),
  1281. array("N/A", -1, 0),
  1282. array("N/A", -1, 0)
  1283. );
  1284. $user_check_query = "SELECT `ID`, `char_name`, `Model` FROM `characters` WHERE `master` = '$master' LIMIT 6";
  1285. $result = mysqli_query($link, $user_check_query);
  1286. $count = 0;
  1287. while($result2 = mysqli_fetch_array($result, MYSQLI_ASSOC))
  1288. {
  1289. $emri = $result2['char_name'];
  1290. $playid = $result2['ID'];
  1291. $Model = $result2['Model'];
  1292. $chars[$count][0] = $emri;
  1293. $chars[$count][1] = $playid;
  1294. $chars[$count][2] = $Model;
  1295. $count++;
  1296. }
  1297. mysqli_free_result($result);
  1298. $_SESSION['characters'] = $chars;
  1299. }
  1300. function returnBusinessType($type)
  1301. {
  1302. switch($type)
  1303. {
  1304. case 1: return "Gas Station";
  1305. case 2: return "Ammunation";
  1306. case 3: return "24/7";
  1307. case 4: return "Vehicle Dealership";
  1308. case 5: return "Car Modding Shop";
  1309. case 6: return "Pay & Spray";
  1310. case 7: return "Clothing Shop";
  1311. case 8: return "Bars";
  1312. case 9: return "Restaurant";
  1313. case 10: return "Furniture Shop";
  1314. case 11: return "Advertisement Center";
  1315. case 12: return "Bank";
  1316. }
  1317. return "Unknown";
  1318. }
  1319. function returnName($name)
  1320. {
  1321. for($i = 0; $i < strlen($name); ++$i)
  1322. {
  1323. if($name[$i] == "_")
  1324. {
  1325. $name[$i] = " ";
  1326. }
  1327. }
  1328. return $name;
  1329. }
  1330. function returnIpAddress()
  1331. {
  1332. if(!empty($_SERVER['HTTP_CLIENT_IP']))
  1333. {
  1334. //ip from share internet
  1335. $ip = $_SERVER['HTTP_CLIENT_IP'];
  1336. }
  1337. else if(!empty($_SERVER['HTTP_X_FORWARDED_FOR']))
  1338. {
  1339. //ip pass from proxy
  1340. $ip = $_SERVER['HTTP_X_FORWARDED_FOR'];
  1341. }
  1342. else
  1343. {
  1344. $ip = $_SERVER['REMOTE_ADDR'];
  1345. }
  1346. return $ip;
  1347. }
  1348. $weapon_names = array
  1349. (
  1350. "Fist", "Brass Knuckles", "Golf Club", "Nightstick", "Knife", "Baseball Bat",
  1351. "Shovel", "Pool Cue", "Katana", "Chainsaw", "Double-ended Dilde", "Dildo",
  1352. "Vibrator", "Silver Vibrator", "Flowers", "Cane", "Grenade", "Tear Gas",
  1353. "Molotov Cocktail", "Unknow", "Unknown", "Unknown", "9mm", "Silenced 9mm",
  1354. "Desert Eagle", "Shotgun", "Sawnoff Shotgun", "Combat Shotgun", "Micro SMG",
  1355. "MP5", "AK-47", "M4", "Tec-9", "Country Rifle", "Sniper Rifle", "RPG", "HS Rocket",
  1356. "Flamethrower", "Minigun", "Satchel Charge", "Detonator", "Spraycan", "Fire Extinguisher",
  1357. "Camera", "Night Vis Goggles", "Thermal Goggles", "Parachute", "Fake Pistol", "Unknown",
  1358. "Vehicle", "Helicopter Blades", "Explosion", "Unkown", "Drowned", "Spat"
  1359. );
  1360. function ReturnPlayerRank($adminlvl)
  1361. {
  1362. switch($adminlvl)
  1363. {
  1364. case -1:
  1365. {
  1366. $player_rank = "Tester Team";
  1367. break;
  1368. }
  1369. case 0:
  1370. {
  1371. $player_rank = "Normal User";
  1372. break;
  1373. }
  1374. case 1:
  1375. {
  1376. $player_rank = "Level 1 Game Admin";
  1377. break;
  1378. }
  1379. case 2:
  1380. {
  1381. $player_rank = "Level 2 Game Admin";
  1382. break;
  1383. }
  1384. case 3:
  1385. {
  1386. $player_rank = "Level 3 Game Admin";
  1387. break;
  1388. }
  1389. case 4:
  1390. {
  1391. $player_rank = "Lead Admin";
  1392. break;
  1393. }
  1394. case 1337:
  1395. {
  1396. $player_rank = "Management";
  1397. break;
  1398. }
  1399. }
  1400. return $player_rank;
  1401. }
  1402. function returnDonatorRank($rank)
  1403. {
  1404. $donator_rank = "None";
  1405. switch($rank)
  1406. {
  1407. case 0:
  1408. {
  1409. $donator_rank = "None";
  1410. break;
  1411. }
  1412. case 1:
  1413. {
  1414. $donator_rank = "Bronze";
  1415. break;
  1416. }
  1417. case 2:
  1418. {
  1419. $donator_rank = "Silver";
  1420. break;
  1421. }
  1422. case 3:
  1423. {
  1424. $donator_rank = "Gold";
  1425. break;
  1426. }
  1427. }
  1428. return $donator_rank;
  1429. }
  1430. function characterCount($string, $character)
  1431. {
  1432. $count = 0;
  1433. for($i = 0; $i < strlen($string); ++$i)
  1434. {
  1435. if($string[$i] == $character)
  1436. {
  1437. if($character == ".")
  1438. {
  1439. if($i + 1 != strlen($string))
  1440. {
  1441. if($string[$i + 1] != ".")
  1442. {
  1443. $count++;
  1444. }
  1445. }
  1446. else $count++;
  1447. }
  1448. else
  1449. {
  1450. $count++;
  1451. }
  1452. }
  1453. }
  1454. return $count;
  1455. }
  1456. function playerRank($username, $alevel)
  1457. {
  1458. if($username == "realpimp") return "Developers";
  1459. switch($alevel)
  1460. {
  1461. case -1:
  1462. {
  1463. $playerRank = "Tester Team";
  1464. break;
  1465. }
  1466. case 0:
  1467. {
  1468. $playerRank = "Regular Player";
  1469. break;
  1470. }
  1471. case 1:
  1472. {
  1473. $playerRank = "Administrator";
  1474. break;
  1475. }
  1476. case 2:
  1477. {
  1478. $playerRank = "Administrator";
  1479. break;
  1480. }
  1481. case 3:
  1482. {
  1483. $playerRank = "Administrator";
  1484. break;
  1485. }
  1486. case 4:
  1487. {
  1488. $playerRank = "Administrator";
  1489. break;
  1490. }
  1491. case 1337:
  1492. {
  1493. $playerRank = "Management";
  1494. break;
  1495. }
  1496. }
  1497. return $playerRank;
  1498. }
  1499. function issueBan($link, $master, $bannedBy, $reason, $playerIP, $perm)
  1500. {
  1501. //$master = mysqli_escape_string($link, $master);
  1502. //$bannedBy = mysqli_escape_string($link, $bannedBy);
  1503. $reason = mysqli_escape_string($link, $reason);
  1504. //$playerIP = mysqli_escape_string($link, $playerIP);
  1505. $user_check_query = "INSERT INTO bans (name, bannedby, reason, playerIP, perm) VALUES ('$master', '$bannedBy', '$reason', '$playerIP', '$perm')";
  1506. $result = mysqli_query($link, $user_check_query);
  1507. mysqli_free_result($result);
  1508. }
  1509. function insertBanLog($link, $playerIP, $playerName, $bannedBy, $reason, $masterID)
  1510. {
  1511. /*$playerIP = mysqli_escape_string($link, $playerIP);
  1512. $playerName = mysqli_escape_string($link, $playerName);
  1513. $bannedBy = mysqli_escape_string($link, $bannedBy);*/
  1514. $reason = mysqli_escape_string($link, $reason);
  1515. $user_check_query = "INSERT INTO logs_ban (`IP`, `Character`, `BannedBy`, `Reason`, `user_id`) VALUES ('$playerIP', '$playerName', '$bannedBy', '$reason', '$masterID')";
  1516. $result = mysqli_query($link, $user_check_query);
  1517. mysqli_free_result($result);
  1518. }
  1519. function accountsCount($link)
  1520. {
  1521. $user_check_query = "SELECT COUNT(*) AS total FROM accounts";
  1522. $result = mysqli_query($link, $user_check_query);
  1523. $result2 = mysqli_fetch_array($result, MYSQLI_ASSOC);
  1524. $count = $result2['total'];
  1525. mysqli_free_result($result);
  1526. return $count;
  1527. }
  1528. function factionVehiclesCount($link, $faction_id)
  1529. {
  1530. $user_check_query = "SELECT COUNT(*) AS total FROM vehicles WHERE vehicleFaction = '$faction_id'";
  1531. $result = mysqli_query($link, $user_check_query);
  1532. $result2 = mysqli_fetch_array($result, MYSQLI_ASSOC);
  1533. $count = $result2['total'];
  1534. mysqli_free_result($result);
  1535. return $count;
  1536. }
  1537. function housesCount($link)
  1538. {
  1539. $user_check_query = "SELECT COUNT(*) AS total FROM houses";
  1540. $result = mysqli_query($link, $user_check_query);
  1541. $result2 = mysqli_fetch_array($result, MYSQLI_ASSOC);
  1542. $count = $result2['total'];
  1543. mysqli_free_result($result);
  1544. return $count;
  1545. }
  1546. function vehiclesCount($link)
  1547. {
  1548. $user_check_query = "SELECT COUNT(*) AS total FROM cars";
  1549. $result = mysqli_query($link, $user_check_query);
  1550. $result2 = mysqli_fetch_array($result, MYSQLI_ASSOC);
  1551. $count = $result2['total'];
  1552. mysqli_free_result($result);
  1553. return $count;
  1554. }
  1555. function businessesCount($link)
  1556. {
  1557. $user_check_query = "SELECT COUNT(*) AS total FROM business";
  1558. $result = mysqli_query($link, $user_check_query);
  1559. $result2 = mysqli_fetch_array($result, MYSQLI_ASSOC);
  1560. $count = $result2['total'];
  1561. mysqli_free_result($result);
  1562. return $count;
  1563. }
  1564. function banCount($link)
  1565. {
  1566. $user_check_query = "SELECT COUNT(*) AS total FROM bans";
  1567. $result = mysqli_query($link, $user_check_query);
  1568. $result2 = mysqli_fetch_array($result, MYSQLI_ASSOC);
  1569. $count = $result2['total'];
  1570. mysqli_free_result($result);
  1571. return $count;
  1572. }
  1573. function charactersCount($link)
  1574. {
  1575. $user_check_query = "SELECT COUNT(*) AS total FROM characters";
  1576. $result = mysqli_query($link, $user_check_query);
  1577. $result2 = mysqli_fetch_array($result, MYSQLI_ASSOC);
  1578. $count = $result2['total'];
  1579. mysqli_free_result($result);
  1580. return $count;
  1581. }
  1582. function TimestampToDate($stamp)
  1583. {
  1584. $time = date('d-m-Y : h:i:s', $stamp);
  1585. return $time;
  1586. }
  1587. function Discord_AlertStaff($message)
  1588. {
  1589. require_once($_SERVER['DOCUMENT_ROOT'] . "/includes/Msg.php");
  1590. require_once($_SERVER['DOCUMENT_ROOT'] . "/includes/DiscordMsg.php");
  1591. $discord_message = new \AG\DiscordMsg($message);
  1592. $discord_message->send();
  1593. }
  1594. function applicationStatus($status, $accepted)
  1595. {
  1596. $status_str = "N/A";
  1597. switch($status)
  1598. {
  1599. case 0:
  1600. {
  1601. $status_str = "Pending";
  1602. break;
  1603. }
  1604. case 1:
  1605. {
  1606. $status_str = "Reviewing";
  1607. break;
  1608. }
  1609. case 2:
  1610. {
  1611. switch($accepted)
  1612. {
  1613. case 1:
  1614. {
  1615. $status_str = "Accepted";
  1616. break;
  1617. }
  1618. case 2:
  1619. {
  1620. $status_str = "Denied and Banned";
  1621. break;
  1622. }
  1623. default:
  1624. {
  1625. $status_str = "Denied";
  1626. break;
  1627. }
  1628. }
  1629. break;
  1630. }
  1631. }
  1632. return $status_str;
  1633. }
  1634. function apiRequest_custom($url, $auth_token, $post=FALSE, $headers=array())
  1635. {
  1636. $ch = curl_init($url);
  1637. curl_setopt($ch, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4);
  1638. curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
  1639. $response = curl_exec($ch);
  1640. if($post)
  1641. curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));
  1642. $headers[] = 'Accept: application/json';
  1643. $headers[] = 'Authorization: Bearer ' . $auth_token;
  1644. curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
  1645. $response = curl_exec($ch);
  1646. return json_decode($response);
  1647. }
  1648. function apiRequest($url, $post=FALSE, $headers=array())
  1649. {
  1650. $ch = curl_init($url);
  1651. curl_setopt($ch, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4);
  1652. curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
  1653. $response = curl_exec($ch);
  1654. if($post)
  1655. curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));
  1656. $headers[] = 'Accept: application/json';
  1657. if(session('discord_auth'))
  1658. $headers[] = 'Authorization: Bearer ' . session('discord_auth');
  1659. curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
  1660. $response = curl_exec($ch);
  1661. return json_decode($response);
  1662. }
  1663. function get($key, $default=NULL)
  1664. {
  1665. return array_key_exists($key, $_GET) ? $_GET[$key] : $default;
  1666. }
  1667. function session($key, $default=NULL)
  1668. {
  1669. return array_key_exists($key, $_SESSION) ? $_SESSION[$key] : $default;
  1670. }
  1671. function valid_email($email)
  1672. {
  1673. if(is_array($email) || is_numeric($email) || is_bool($email) || is_float($email) || is_file($email) || is_dir($email) || is_int($email))
  1674. {
  1675. return false;
  1676. }
  1677. else
  1678. {
  1679. $email = trim(strtolower($email));
  1680. if(filter_var($email, FILTER_VALIDATE_EMAIL) !== false)
  1681. {
  1682. return $email;
  1683. }
  1684. else
  1685. {
  1686. $pattern = '/^(?!(?:(?:\\x22?\\x5C[\\x00-\\x7E]\\x22?)|(?:\\x22?[^\\x5C\\x22]\\x22?)){255,})(?!(?:(?:\\x22?\\x5C[\\x00-\\x7E]\\x22?)|(?:\\x22?[^\\x5C\\x22]\\x22?)){65,}@)(?:(?:[\\x21\\x23-\\x27\\x2A\\x2B\\x2D\\x2F-\\x39\\x3D\\x3F\\x5E-\\x7E]+)|(?:\\x22(?:[\\x01-\\x08\\x0B\\x0C\\x0E-\\x1F\\x21\\x23-\\x5B\\x5D-\\x7F]|(?:\\x5C[\\x00-\\x7F]))*\\x22))(?:\\.(?:(?:[\\x21\\x23-\\x27\\x2A\\x2B\\x2D\\x2F-\\x39\\x3D\\x3F\\x5E-\\x7E]+)|(?:\\x22(?:[\\x01-\\x08\\x0B\\x0C\\x0E-\\x1F\\x21\\x23-\\x5B\\x5D-\\x7F]|(?:\\x5C[\\x00-\\x7F]))*\\x22)))*@(?:(?:(?!.*[^.]{64,})(?:(?:(?:xn--)?[a-z0-9]+(?:-+[a-z0-9]+)*\\.){1,126}){1,}(?:(?:[a-z][a-z0-9]*)|(?:(?:xn--)[a-z0-9]+))(?:-+[a-z0-9]+)*)|(?:\\[(?:(?:IPv6:(?:(?:[a-f0-9]{1,4}(?::[a-f0-9]{1,4}){7})|(?:(?!(?:.*[a-f0-9][:\\]]){7,})(?:[a-f0-9]{1,4}(?::[a-f0-9]{1,4}){0,5})?::(?:[a-f0-9]{1,4}(?::[a-f0-9]{1,4}){0,5})?)))|(?:(?:IPv6:(?:(?:[a-f0-9]{1,4}(?::[a-f0-9]{1,4}){5}:)|(?:(?!(?:.*[a-f0-9]:){5,})(?:[a-f0-9]{1,4}(?::[a-f0-9]{1,4}){0,3})?::(?:[a-f0-9]{1,4}(?::[a-f0-9]{1,4}){0,3}:)?)))?(?:(?:25[0-5])|(?:2[0-4][0-9])|(?:1[0-9]{2})|(?:[1-9]?[0-9]))(?:\\.(?:(?:25[0-5])|(?:2[0-4][0-9])|(?:1[0-9]{2})|(?:[1-9]?[0-9]))){3}))\\]))$/iD';
  1687. return (preg_match($pattern, $email) === 1) ? $email : false;
  1688. }
  1689. }
  1690. }
  1691. function isMobile()
  1692. {
  1693. return preg_match("/(android|avantgo|blackberry|bolt|boost|cricket|docomo|fone|hiptop|mini|mobi|palm|phone|pie|tablet|up\.browser|up\.link|webos|wos)/i", $_SERVER["HTTP_USER_AGENT"]);
  1694. }
  1695. $user_agent = $_SERVER['HTTP_USER_AGENT'];
  1696. function getOS()
  1697. {
  1698. global $user_agent;
  1699. $os_platform = "Unknown OS Platform";
  1700. $os_array = array
  1701. (
  1702. '/windows nt 10/i' => 'Windows 10',
  1703. '/windows nt 6.3/i' => 'Windows 8.1',
  1704. '/windows nt 6.2/i' => 'Windows 8',
  1705. '/windows nt 6.1/i' => 'Windows 7',
  1706. '/windows nt 6.0/i' => 'Windows Vista',
  1707. '/windows nt 5.2/i' => 'Windows Server 2003/XP x64',
  1708. '/windows nt 5.1/i' => 'Windows XP',
  1709. '/windows xp/i' => 'Windows XP',
  1710. '/windows nt 5.0/i' => 'Windows 2000',
  1711. '/windows me/i' => 'Windows ME',
  1712. '/win98/i' => 'Windows 98',
  1713. '/win95/i' => 'Windows 95',
  1714. '/win16/i' => 'Windows 3.11',
  1715. '/macintosh|mac os x/i' => 'Mac OS X',
  1716. '/mac_powerpc/i' => 'Mac OS 9',
  1717. '/linux/i' => 'Linux',
  1718. '/ubuntu/i' => 'Ubuntu',
  1719. '/iphone/i' => 'iPhone',
  1720. '/ipod/i' => 'iPod',
  1721. '/ipad/i' => 'iPad',
  1722. '/android/i' => 'Android',
  1723. '/blackberry/i' => 'BlackBerry',
  1724. '/webos/i' => 'Mobile'
  1725. );
  1726. foreach($os_array as $regex => $value)
  1727. {
  1728. if(preg_match($regex, $user_agent))
  1729. {
  1730. $os_platform = $value;
  1731. }
  1732. }
  1733. return $os_platform;
  1734. }
  1735. function getBrowser()
  1736. {
  1737. global $user_agent;
  1738. $browser = "Unknown Browser";
  1739. $browser_array = array(
  1740. '/msie/i' => 'Internet Explorer',
  1741. '/firefox/i' => 'Firefox',
  1742. '/safari/i' => 'Safari',
  1743. '/chrome/i' => 'Chrome',
  1744. '/edge/i' => 'Edge',
  1745. '/opera/i' => 'Opera',
  1746. '/netscape/i' => 'Netscape',
  1747. '/maxthon/i' => 'Maxthon',
  1748. '/konqueror/i' => 'Konqueror',
  1749. '/mobile/i' => 'Handheld Browser'
  1750. );
  1751. foreach ($browser_array as $regex => $value)
  1752. if (preg_match($regex, $user_agent))
  1753. $browser = $value;
  1754. return $browser;
  1755. }
  1756. function returnComponentName($component)
  1757. {
  1758. switch($component)
  1759. {
  1760. case 1000: return "Pro Spoiler";
  1761. case 1001: return "Win Spoiler";
  1762. case 1002: return "Drag Spoiler";
  1763. case 1003: return "Alpha Spoiler";
  1764. case 1004: return "Champ Scoop";
  1765. case 1005: return "Fury Scoop";
  1766. case 1006: return "Roof Scoop";
  1767. case 1007: return "Right Sideskirt";
  1768. case 1008: return "Nitrous x5";
  1769. case 1009: return "Nitrous x2";
  1770. case 1010: return "Nitrous x10";
  1771. case 1011: return "Race Scoop";
  1772. case 1012: return "Worx Scoop";
  1773. case 1013: return "Round Fog Lights";
  1774. case 1014: return "Champ Spoiler";
  1775. case 1015: return "Race Spoiler";
  1776. case 1016: return "Worx Spoiler";
  1777. case 1017: return "Left Sideskirt";
  1778. case 1018: return "Upswept Exhaust";
  1779. case 1019: return "Twin Exhaust";
  1780. case 1020: return "Large Exhaust";
  1781. case 1021: return "Medium Exhaust";
  1782. case 1022: return "Small Exhaust";
  1783. case 1023: return "Fury Spoiler";
  1784. case 1024: return "Square Fog Lights";
  1785. case 1025: return "Offroad Wheels";
  1786. case 1042: return "Right Chrome Sideskirt";
  1787. case 1099: return "Left Chrome Sideskirt";
  1788. case 1073: return "Shadow Wheels";
  1789. case 1074: return "Mega Wheels";
  1790. case 1075: return "Rimshine Wheels";
  1791. case 1076: return "Wires Wheels";
  1792. case 1077: return "Classic Wheels";
  1793. case 1078: return "Twist Wheels";
  1794. case 1079: return "Cutter Wheels";
  1795. case 1080: return "Stitch Wheels";
  1796. case 1081: return "Grove Wheels";
  1797. case 1082: return "Import Wheels";
  1798. case 1083: return "Dollar Wheels";
  1799. case 1084: return "Trance Wheels";
  1800. case 1085: return "Atomic Wheels";
  1801. case 1086: return "Stereo";
  1802. case 1087: return "Hydraulics";
  1803. case 1096: return "Ahab Wheels";
  1804. case 1097: return "Virtual Wheels";
  1805. case 1098: return "Access Wheels";
  1806. case 1100: return "Chrome Grill";
  1807. case 1101: return "Left Chrome Flames Sideskirt";
  1808. case 1103: return "Convertible Roof";
  1809. case 1109: return "Chrome Rear Bullbars";
  1810. case 1110: return "Slamin Rear Bullbars";
  1811. case 1115: return "Chrome Front Bullbars";
  1812. case 1116: return "Slamin Front Bullbars";
  1813. case 1118: return "Right Chrome Trim Sideskirt";
  1814. case 1119: return "Right Wheelcovers Sideskirt";
  1815. case 1120: return "Left Chrome Trim Sideskirt";
  1816. case 1121: return "Left Wheelcovers Sideskirt";
  1817. case 1122: return "Right Chrome Flames Sideskirt";
  1818. case 1123: return "Bullbar Chrome Bars";
  1819. case 1125: return "Bullbar Chrome Lights";
  1820. case 1128: return "Vinyl Hardtop Roof";
  1821. case 1130: return "Hardtop Roof";
  1822. case 1131: return "Softtop Roof";
  1823. case 1142: return "Left Oval Vents";
  1824. case 1143: return "Right Oval Vents";
  1825. case 1144: return "Left Square Vents";
  1826. case 1145: return "Right Square Vents";
  1827. }
  1828. if($component == 1026 || $component == 1036 || $component == 1047 || $component == 1056 || $component == 1069 || $component == 1090) return "Right Alien Sideskirt";
  1829. if($component == 1027 || $component == 1040 || $component == 1051 || $component == 1062 || $component == 1071 || $component == 1094) return "Left Alien Sideskirt";
  1830. if($component == 1028 || $component == 1034 || $component == 1046 || $component == 1064 || $component == 1065 || $component == 1092) return "Alien Exhaust";
  1831. if($component == 1029 || $component == 1037 || $component == 1045 || $component == 1059 || $component == 1066 || $component == 1089) return "X-Flow Exhaust";
  1832. if($component == 1030 || $component == 1039 || $component == 1048 || $component == 1057 || $component == 1070 || $component == 1095) return "Right X-Flow Sideskirt";
  1833. if($component == 1031 || $component == 1041 || $component == 1052 || $component == 1063 || $component == 1072 || $component == 1093) return "Left X-Flow Sideskirt";
  1834. if($component == 1032 || $component == 1038 || $component == 1054 || $component == 1055 || $component == 1067 || $component == 1088) return "Alien Roof Vent";
  1835. if($component == 1033 || $component == 1035 || $component == 1053 || $component == 1061 || $component == 1068 || $component == 1091) return "X-Flow Roof Vent";
  1836. if($component == 1043 || $component == 1105 || $component == 1114 || $component == 1127 || $component == 1132 || $component == 1135) return "Slamin Exhaust";
  1837. if($component == 1044 || $component == 1104 || $component == 1113 || $component == 1126 || $component == 1129 || $component == 1136) return "Chrome Exhaust";
  1838. if($component == 1050 || $component == 1058 || $component == 1139 || $component == 1146 || $component == 1158 || $component == 1163) return "X-Flow Spoiler";
  1839. if($component == 1049 || $component == 1060 || $component == 1138 || $component == 1147 || $component == 1162 || $component == 1164) return "Alien Spoiler";
  1840. if($component == 1117 || $component == 1174 || $component == 1179 || $component == 1182 || $component == 1189 || $component == 1191) return "Chrome Front Bumper";
  1841. if($component == 1175 || $component == 1181 || $component == 1185 || $component == 1188 || $component == 1190) return "Slamin Front Bumper";
  1842. if($component == 1176 || $component == 1180 || $component == 1184 || $component == 1187 || $component == 1192) return "Chrome Rear Bumper";
  1843. if($component == 1177 || $component == 1178 || $component == 1183 || $component == 1186 || $component == 1193) return "Slamin Rear Bumper";
  1844. if($component == 1140 || $component == 1148 || $component == 1151 || $component == 1156 || $component == 1161 || $component == 1167) return "X-Flow Rear Bumper";
  1845. if($component == 1141 || $component == 1149 || $component == 1150 || $component == 1154 || $component == 1159 || $component == 1168) return "Alien Rear Bumper";
  1846. if($component == 1152 || $component == 1157 || $component == 1165 || $component == 1170 || $component == 1172 || $component == 1173) return "X-Flow Front Bumper";
  1847. if($component == 1153 || $component == 1155 || $component == 1160 || $component == 1166 || $component == 1169 || $component == 1171) return "Alien Front Bumper";
  1848. if($component == 1102 || $component == 1107) return "Left Chrome Strip Sideskirt";
  1849. if($component == 1106 || $component == 1124 || $component == 1137) return "Left Chrome Arches Sideskirt";
  1850. if($component == 1108 || $component == 1133 || $component == 1134) return "Right Chrome Strip Sideskirt";
  1851. if($component == 1111 || $component == 1112) return "Front Sign";
  1852. return "Invalid";
  1853. }
  1854. $drugData = array
  1855. (
  1856. array("Cocaine", 0),
  1857. array("Cannabis", 0),
  1858. array("Xanax", 0),
  1859. array("MDMA", 1),
  1860. array("Heroin", 0),
  1861. array("Ketamine", 0),
  1862. array("Fentanyl", 1),
  1863. array("Methamphetamine", 0),
  1864. array("Steroids", 0),
  1865. array("Oxycodone", 0)
  1866. );