Advertisement
Guest User

Untitled

a guest
May 23rd, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.47 KB | None | 0 0
  1. -- Put your Lua here
  2.  
  3. -- CONFIG IS BELOW THIS --
  4. ----------------------------------------------------------------------
  5.  
  6. local function AddVehicle(name, price, class, customcheck, cl_scale, base, tags)
  7. if type(name) == "string" then
  8.  
  9. local veh = list.Get("Vehicles")[class]
  10. if veh == nil then
  11. table.insert(CAR_DISPLAY_CONFIG.FailedVehicles, {
  12. ["name"] = name,
  13. ["price"] = price,
  14. ["class"] = class,
  15. ["tags"] = tags,
  16. ["base"] = base,
  17. ["trace"] = debug.traceback()
  18. })
  19. return
  20. end
  21.  
  22. local index = table.insert(CAR_DISPLAY_CONFIG.Vehicles, {
  23. ["name"] = name,
  24. ["price"] = price,
  25. ["model"] = veh.Model,
  26. ["script"] = veh.KeyValues.vehiclescript,
  27. ["class"] = class,
  28. ["basetype"] = base || "prop_vehicle_jeep",
  29. ["cl_scale"] = cl_scale || .9,
  30. ["customcheck"] = customcheck || function() return true end,
  31. ["allowed_bodygroups"] = {},
  32. ["allowed_colors"] = {},
  33. ["tags"] = tags,
  34. ["VehicleData"] = veh
  35. })
  36. CAR_DISPLAY_CONFIG.Vehicles[index]["index"] = index
  37.  
  38. elseif type(name) == "table" then
  39.  
  40. local tbl = name
  41. local veh = list.Get("Vehicles")[tbl.class]
  42. tbl.customcheck = tbl.customcheck || function() return true end
  43. if veh == nil then
  44. table.insert(CAR_DISPLAY_CONFIG.FailedVehicles, {
  45. ["name"] = tbl.name,
  46. ["price"] = tbl.price,
  47. ["class"] = tbl.class,
  48. ["tags"] = tbl.tags,
  49. ["base"] = tbl.base,
  50. ["trace"] = debug.traceback()
  51. })
  52. return
  53. end
  54. local index = table.insert(CAR_DISPLAY_CONFIG.Vehicles, {
  55. ["name"] = tbl.name,
  56. ["price"] = tbl.price,
  57. ["model"] = veh.Model,
  58. ["script"] = veh.KeyValues.vehiclescript,
  59. ["class"] = tbl.class,
  60. ["basetype"] = tbl.base || "prop_vehicle_jeep",
  61. ["cl_scale"] = tbl.cl_scale || .9,
  62. ["customfailmessage"] = tbl.customfailmessage || "You cannot purchase this vehicle!",
  63. ["customcheck"] = function(ply) return tbl.customcheck(ply), tbl.customfailmessage end,
  64. ["tags"] = tbl.tags,
  65. ["allowed_bodygroups"] = tbl.allowed_bodygroups || {},
  66. ["allowed_colors"] = tbl.allowed_colors || {},
  67. ["VehicleData"] = veh
  68. })
  69. CAR_DISPLAY_CONFIG.Vehicles[index]["index"] = index
  70.  
  71. end
  72. end
  73.  
  74. ----------------------------------------------------------------------
  75.  
  76. -- Add your custom vehicles below as follows:
  77. -- <Display Name> : This shows up on all the screens when players are browsing cars
  78. -- <Price> : The price the player pays for the car
  79. -- <Vehicle Class> : Unique Identifier for the car, this is normally found in the vehicle script. If not you can just make it up HOWEVER READ THE BRACKETS (MAKE SURE THEIR UNIQUE THOUGH! ALSO THIS IS USED TO FIND THE SPAWNICON WITHOUT ITLL BE PURPLE AND BLACK SQUARES)
  80. -- <Custom Check> <Optional> : Custom wrote function that checks if the player is allowed to spawn the car in, returns two arguments <true/false> <message to display> true to allow the spawn, false to not allow the spawn. Message to show if the spawn was not allowed
  81. -- <Model Scale> <Optional> : Size of the model being displayed on the car pad
  82. -- <Base Entity> <Optional> : Entity used when creating the vehicle, this defaults to "prop_vehicle_jeep" (Afaik most vehicles use this) if yours uses a different set it here
  83. -- <Tags> <Optionals> : Tag the cars and it can be used to filter vehicles in game, cars of the same tag can be displayed together e.g. {"Muscle Car", "Sports", "Government"}
  84. -- <Allowed Bodygroups> <Optional> : Allowed Bodygroups that can be customised on the car
  85. -- <Allowed Colours> <Optional> : Allowed Colours that can be applied to the car
  86. -- Examples below
  87.  
  88. --[[
  89. AddVehicle({
  90. name = "Jeep - HL2",
  91. price = 150000,
  92. class = "Jeep",
  93. customfailmessage = "You are not a donator!",
  94. customcheck = function(ply) return table.HasValue(ply:GetUserGroup(), {"VIP", "Donator"}),
  95. cl_scale = .2,
  96. base = "prop_vehicle_jeep",
  97. tags = {"Sports"},
  98. allowed_bodygroups = {
  99. ["wing"] = true
  100. },
  101. allowed_colors = {
  102. ["Emerald"] = true,
  103. ["Dark Blue"] = true,
  104. ["Wetasphalt"] = true,
  105. }
  106. })
  107. ]]--
  108. ----------------------------------------------------------------------
  109. function CarDisplay_LoadConfig()
  110.  
  111. -- Example Vehicles, all default to gmod :)
  112. AddVehicle({
  113. name = "Jeep - HL2", -- Name shown on the Car Pad
  114. price = 150000, -- Price of the Car
  115. class = "Jep", -- Classname of the Car (Found in Q > Vehicles > Right Click > Copy to Clipboard)
  116. customfailmessage = "You are not a donator!", -- Message if the user cant buy the car
  117. customcheck = function(ply) return table.HasValue({"VIP", "Donator"}, ply:GetUserGroup()) end, -- Custom Check function, works the same as DarkRP Jobs
  118. cl_scale = .8, -- Scale of the vehicle on the pad (0 = smallest, 1 = largest)
  119. base = "prop_vehicle_jeep", -- Custom BaseTypes for different vehicle bases
  120. tags = {"Donator", "Sports"}, -- Tags used for filtering the Car Pads
  121. allowed_bodygroups = { -- If this is set only the shown bodygroups set to true can be modified
  122. ["wing"] = true
  123. },
  124. allowed_colors = { -- If this is set only the shown colours set to true can be used
  125. ["Emerald"] = true,
  126. ["Dark Blue"] = true,
  127. ["Wetasphalt"] = true,
  128. ["White"] = true,
  129. }
  130. })
  131.  
  132.  
  133.  
  134.  
  135. AddVehicle({
  136. name = "Dodge chrager 2015",
  137. price = 500000,
  138. class = "dodge_charger_2015_lw",
  139. })
  140.  
  141. AddVehicle({
  142. name = "Jaguar xfr",
  143. price = 900000,
  144. class = "jag_xfr",
  145. })
  146.  
  147.  
  148. AddVehicle({
  149. name = "Audi R8",
  150. price = 1200000,
  151. class = "audir8tdm",
  152. })
  153.  
  154. AddVehicle({
  155. name = "Audi R8 spyder",
  156. price = 1400000,
  157. class = "audir8spydtdm",
  158. customfailmessage = "This is a VIP car!", -- Message if the user cant buy the car
  159. customcheck = function(ply) return table.HasValue({"VIP", "superadmin"}, ply:GetUserGroup()) end, -- Custom Check function, works the same as DarkRP Jobs
  160. })
  161. AddVehicle({
  162. name = "Audi R8 Plus",
  163. price = 2000000,
  164. class = "audir8plustdm",
  165. })
  166. AddVehicle({
  167. name = "Audi RS4 Avant",
  168. price = 400000,
  169. class = "rs4avanttdm",
  170. })
  171. AddVehicle({
  172. name = "Audi S4",
  173. price = 350000,
  174. class = "auds4tdm",
  175. })
  176. AddVehicle({
  177. name = "Audi TT",
  178. price = 700000,
  179. class = "auditttdm",
  180. })
  181. AddVehicle({
  182. name = "BMW M1",
  183. price = 30000,
  184. class = "bmw1mtdm",
  185. })
  186. AddVehicle({
  187. name = "BMW 340ir",
  188. price = 100000,
  189. class = "bmw_340itdm",
  190. })
  191. AddVehicle({
  192. name = "BMW 507",
  193. price = 300000,
  194. class = "507tdm",
  195. })
  196. AddVehicle({
  197. name = "BMW M1 1981",
  198. price = 700000,
  199. class = "m1tdm",
  200. })
  201. AddVehicle({
  202. name = "BMW M3 E92",
  203. price =115000,
  204. class = "m3e92tdm",
  205. })
  206. AddVehicle({
  207. name = "BMW M3 GTR",
  208. price =150000,
  209. class = "bmwm3gtrtdm",
  210. })
  211. AddVehicle({
  212. name = "BMW M613",
  213. price = 70000,
  214. class = "bmwm613tdm",
  215. })
  216.  
  217. AddVehicle({
  218. name = "Chevrolet Blazer",
  219. price = 16000,
  220. class = "che_blazertdm",
  221. })
  222.  
  223.  
  224. AddVehicle({
  225. name = "Camro SS",
  226. price = 100000,
  227. class = "che_69camarotdm",
  228. })
  229.  
  230. AddVehicle({
  231. name = "Camro SS ZL1",
  232. price = 600000,
  233. class = "che_camarozl1tdm",
  234. customfailmessage = "This is a VIP car!", -- Message if the user cant buy the car
  235. customcheck = function(ply) return table.HasValue({"VIP", "superadmin"}, ply:GetUserGroup()) end, -- Custom Check function, works the same as DarkRP Jobs
  236. })
  237.  
  238. AddVehicle({
  239. name = "Chevrolet chevelle ss",
  240. price = 40000,
  241. class = "che_chevellesstdm",
  242. })
  243.  
  244. AddVehicle({
  245. name = "chevrolet corvette gsc",
  246. price = 150000,
  247. class = "che_corv_gsctdm",
  248. })
  249.  
  250. AddVehicle({
  251. name = "chevrolet stingray",
  252. price = 300000,
  253. class = "che_stingray427tdm",
  254. })
  255.  
  256. AddVehicle({
  257. name = "chevrolet Impala96",
  258. price = 10000,
  259. class = "che_impala96tdm",
  260. })
  261. AddVehicle({
  262. name = "Mazda RX-7",
  263. price = 120000,
  264. class = "rx7tdm",
  265. })
  266. AddVehicle({
  267. name = "Mazda RX-8",
  268. price = 85000,
  269. class = "rx8tdm",
  270. })
  271. AddVehicle({
  272. name = "Mazda Speed 3 2009",
  273. price = 75000,
  274. class = "speed3tdm",
  275. })
  276. AddVehicle({
  277. name = "Mazda MX 2005",
  278. price = 45000,
  279. class = "mx5tdm",
  280. })
  281. AddVehicle({
  282. name = "Ford F-150 Raptor",
  283. price = 160000,
  284. class = "17raptor_sgm",
  285. customfailmessage = "This is a VIP car!", -- Message if the user cant buy the car
  286. customcheck = function(ply) return table.HasValue({"VIP", "superadmin"}, ply:GetUserGroup()) end, -- Custom Check function, works the same as DarkRP Jobs
  287. })
  288. AddVehicle({
  289. name = "Mazda Furai",
  290. price = 340000,
  291. class = "furaitdm",
  292. customfailmessage = "This is a VIP car!", -- Message if the user cant buy the car
  293. customcheck = function(ply) return table.HasValue({"VIP", "superadmin"}, ply:GetUserGroup()) end, -- Custom Check function, works the same as DarkRP Jobs
  294. })
  295.  
  296. AddVehicle({
  297. name = "chevrolet Spark",
  298. price =5000,
  299. class = "che_sparktdm",
  300. })
  301.  
  302. AddVehicle({
  303. name = "Dodge Challenger 70",
  304. price =70000,
  305. class = "challenger70tdm",
  306. })
  307.  
  308. AddVehicle({
  309. name = "Dodge challenger 15",
  310. price = 100000,
  311. class = "dod_challenger15tdm",
  312. })
  313.  
  314. AddVehicle({
  315. name = "Dodge chargers 8",
  316. price = 90000,
  317. class = "dodge_charger_2015_lw",
  318. })
  319.  
  320. AddVehicle({
  321. name = "dodge ram1500",
  322. price = 500000,
  323. class = "dod_ram_1500tdm",
  324. })
  325.  
  326. AddVehicle({
  327. name = "dodge ram ST",
  328. price = 600000,
  329. class = "dodgeramtdm",
  330. })
  331.  
  332. AddVehicle({
  333. name = "F350 Superduty",
  334. price = 650000,
  335. class = "f350tdm",
  336. customfailmessage = "This is a VIP car!", -- Message if the user cant buy the car
  337. customcheck = function(ply) return table.HasValue({"VIP", "superadmin"}, ply:GetUserGroup()) end, -- Custom Check function, works the same as DarkRP Jobs
  338. customCheck = function( ply ) return table.HasValue( {"VIP"}, ply:GetSecondaryUserGroup() ) end
  339. })
  340.  
  341. AddVehicle({
  342. name = "ford shelby gt500",
  343. price = 600000,
  344. class = "for_she_gt500tdm",
  345. customfailmessage = "This is a VIP car!", -- Message if the user cant buy the car
  346. customcheck = function(ply) return table.HasValue({"VIP", "superadmin"}, ply:GetUserGroup()) end, -- Custom Check function, works the same as DarkRP Jobs
  347. })
  348.  
  349. AddVehicle({
  350. name = "focus rs",
  351. price = 60000,
  352. class = "focusrstdm",
  353. })
  354.  
  355. AddVehicle({
  356. name = "ford focus rs16",
  357. price = 70000,
  358. class = "for_focus_rs16tdm",
  359. })
  360.  
  361. AddVehicle({
  362. name = "focus svt ",
  363. price = 40000,
  364. class = "focussvttdm",
  365. })
  366.  
  367. AddVehicle({
  368. name = "Ford gt05",
  369. price = 600000,
  370. class = "gt05tdm",
  371. })
  372.  
  373. AddVehicle({
  374. name = "mustanggttdm",
  375. price = 400000,
  376. class = "mustanggttdm",
  377. })
  378.  
  379. AddVehicle({
  380. name = "Ford Raptor svt",
  381. price = 600000,
  382. class = "raptorsvttdm",
  383. })
  384.  
  385. AddVehicle({
  386. name = "dodge ram ST",
  387. price = 600000,
  388. class = "dodgeramtdm",
  389. })
  390.  
  391. AddVehicle({
  392. name = "Ford Transit",
  393. price = 4000,
  394. class = "transittdm",
  395. })
  396.  
  397. AddVehicle({
  398. name = "civic 97",
  399. price = 10000,
  400. class = "civic97tdm",
  401. })
  402.  
  403. AddVehicle({
  404. name = "honda crxsir",
  405. price = 20000,
  406. class = "hon_crxsirtdm",
  407. })
  408.  
  409. AddVehicle({
  410. name = "Hoda 2000",
  411. price = 30000,
  412. class = "s2000tdm",
  413. })
  414.  
  415. AddVehicle({
  416. name = "hudson hornet",
  417. price = 50000,
  418. class = "hudhornettdm",
  419. })
  420.  
  421. AddVehicle({
  422. name = "Lamborghini gallardo",
  423. price = 1000000,
  424. class = "gallardotdm",
  425. })
  426.  
  427. AddVehicle({
  428. name = "Lamborghini gallardo spyder",
  429. price = 1200000,
  430. class = "gallardospydtdm",
  431. customfailmessage = "This is a VIP car!", -- Message if the user cant buy the car
  432. customcheck = function(ply) return table.HasValue({"VIP", "superadmin"}, ply:GetUserGroup()) end, -- Custom Check function, works the same as DarkRP Jobs
  433. })
  434.  
  435. AddVehicle({
  436. name = "Lamborghini miuracon",
  437. price = 1300000,
  438. class = "miuracontdm",
  439. })
  440.  
  441. AddVehicle({
  442. name = "Lamborghini miura p400",
  443. price = 1400000,
  444. class = "miurap400tdm",
  445. })
  446.  
  447. AddVehicle({
  448. name = "Lamborghini murcielago",
  449. price = 1500000,
  450. class = "murcielagotdm",
  451. })
  452.  
  453. AddVehicle({
  454. name = "Lamborghini murcielagosv",
  455. price = 1000000,
  456. class = "murcielagosvtdm",
  457. })
  458.  
  459. AddVehicle({
  460. name = "Lamborghini reventon Roadster",
  461. price = 1700000,
  462. class = "reventonrtdm",
  463. })
  464.  
  465. AddVehicle({
  466. name = "Land rover Defender",
  467. price = 30000,
  468. class = "rlrdefendertdm",
  469. })
  470.  
  471. AddVehicle({
  472. name = "land rover ",
  473. price = 40000,
  474. class = "landrovertdm",
  475. })
  476.  
  477. AddVehicle({
  478. name = "land rover Super charged12",
  479. price = 50000,
  480. class = "landrover12tdm",
  481. })
  482.  
  483. AddVehicle({
  484. name = "mercedes slr",
  485. price = 1000000,
  486. class = "mer_slrtdm",
  487. })
  488.  
  489. AddVehicle({
  490. name = "mercedes 300 SEL",
  491. price = 170000,
  492. class = "mer300seltdm",
  493. })
  494.  
  495. AddVehicle({
  496. name = "mercedes 300 SLGILL",
  497. price = 180000,
  498. class = "mer300slgulltdm",
  499. })
  500.  
  501. AddVehicle({
  502. name = "mercedes C32 AMG",
  503. price = 200000,
  504. class = "c32amgtdm",
  505. })
  506.  
  507. AddVehicle({
  508. name = "mercedes E63 AMG",
  509. price = 300000,
  510. class = "mere63tdm",
  511. })
  512.  
  513. AddVehicle({
  514. name = "mercedes ML63",
  515. price = 150000,
  516. class = "merml63tdm",
  517. })
  518.  
  519. AddVehicle({
  520. name = "Nissan GT-R Black Edition",
  521. price = 900000,
  522. class = "gtrtdm",
  523. customfailmessage = "This is a VIP car!", -- Message if the user cant buy the car
  524. customcheck = function(ply) return table.HasValue({"VIP", "superadmin"}, ply:GetUserGroup()) end, -- Custom Check function, works the same as DarkRP Jobs
  525. })
  526.  
  527. AddVehicle({
  528. name = "Nissian Leaf",
  529. price = 14000,
  530. class = "nis_leaftdm",
  531. })
  532.  
  533. AddVehicle({
  534. name = "Nissian siliva",
  535. price = 150000,
  536. class = "nissilvs15tdm",
  537. })
  538.  
  539. AddVehicle({
  540. name = "Nissian Skyline",
  541. price = 400000,
  542. class = "r34tdm",
  543. })
  544.  
  545. AddVehicle({
  546. name = "Porsche 911 GTR",
  547. price = 2000000,
  548. class = "porgt3rsrtdm",
  549. customfailmessage = "This is a VIP car!", -- Message if the user cant buy the car
  550. customcheck = function(ply) return table.HasValue({"VIP", "superadmin"}, ply:GetUserGroup()) end, -- Custom Check function, works the same as DarkRP Jobs
  551. })
  552.  
  553. AddVehicle({
  554. name = "Porsche 918 Spyder",
  555. price = 1400000,
  556. class = "918spydtdm",
  557. customfailmessage = "This is a VIP car!", -- Message if the user cant buy the car
  558. customcheck = function(ply) return table.HasValue({"VIP", "superadmin"}, ply:GetUserGroup()) end, -- Custom Check function, works the same as DarkRP Jobs
  559. })
  560.  
  561. AddVehicle({
  562. name = "Porsche 987 GT",
  563. price = 1200000,
  564. class = "997gt3tdm",
  565. })
  566.  
  567. AddVehicle({
  568. name = "Porsche Carrera GT",
  569. price = 1000000,
  570. class = "carreragttdm",
  571. })
  572.  
  573. AddVehicle({
  574. name = "Porsche Cayenne 12",
  575. price = 300000,
  576. class = "cayenne12tdm",
  577. })
  578.  
  579. AddVehicle({
  580. name = "Porsche Cayenne Turbo",
  581. price = 400000,
  582. class = "cayennetdm",
  583. })
  584.  
  585. AddVehicle({
  586. name = "Viper",
  587. price = 2000000,
  588. class = "vipvipertdm",
  589. customfailmessage = "This is a VIP car!", -- Message if the user cant buy the car
  590. customcheck = function(ply) return table.HasValue({"VIP", "superadmin"}, ply:GetUserGroup()) end, -- Custom Check function, works the same as DarkRP Jobs
  591. })
  592.  
  593. AddVehicle({
  594. name = "Ferrari F50",
  595. price = 900000,
  596. class = "fer_f50tdm",
  597. })
  598.  
  599. AddVehicle({
  600. name = "Ferrari 458 Spider",
  601. price = 2100000,
  602. class = "fer_458spidtdm",
  603. customfailmessage = "This is a VIP car!", -- Message if the user cant buy the car
  604. customcheck = function(ply) return table.HasValue({"VIP", "superadmin"}, ply:GetUserGroup()) end, -- Custom Check function, works the same as DarkRP Jobs
  605. })
  606. AddVehicle({
  607. name = "Ferrari F430",
  608. price = 1300000,
  609. class = "ferf430tdm",
  610. })
  611.  
  612. AddVehicle({
  613. name = "Ferrari Enzo",
  614. price = 1800000,
  615. class = "fer_enzotdm",
  616. })
  617.  
  618. AddVehicle({
  619. name = "Ferrari Berlinetta",
  620. price = 980000,
  621. class = "ferf12tdm",
  622. })
  623.  
  624. AddVehicle({
  625. name = "Ferrari LaFerrari",
  626. price = 3000000,
  627. class = "fer_lafertdm",
  628. customfailmessage = "This is a VIP car!", -- Message if the user cant buy the car
  629. customcheck = function(ply) return table.HasValue({"VIP", "superadmin"}, ply:GetUserGroup()) end, -- Custom Check function, works the same as DarkRP Jobs
  630. })
  631.  
  632. AddVehicle({
  633. name = "Ferrari 512 TR",
  634. price = 740000,
  635. class = "fer_512trtdm",
  636. })
  637.  
  638. AddVehicle({
  639. name = "Ferrari 250 GT",
  640. price = 450000,
  641. class = "fer_250gttdm",
  642. })
  643.  
  644. AddVehicle({
  645. name = "Ferrari 250 GTO",
  646. price = 340000,
  647. class = "fer_250gtotdm",
  648. })
  649.  
  650. AddVehicle({
  651. name = "Bugatti EB110",
  652. price = 800000,
  653. class = "eb110tdm",
  654. })
  655.  
  656. AddVehicle({
  657. name = "Aston Martin v12 Vantage",
  658. price = 1400000,
  659. class = "v12vantagetdm",
  660. customfailmessage = "This is a VIP car!", -- Message if the user cant buy the car
  661. customcheck = function(ply) return table.HasValue({"VIP", "superadmin"}, ply:GetUserGroup()) end, -- Custom Check function, works the same as DarkRP Jobs
  662. })
  663. AddVehicle({
  664. name = "Aston martin DB5",
  665. price = 450000,
  666. class = "ast_db5tdm",
  667. })
  668.  
  669. -- USE THIS FOR TESTING ALL YOUR SERVERS CARS (May not function on some servers)
  670. --[[for k,v in pairs(list.Get("Vehicles")) do
  671. AddVehicle(v.Name, 1000, k, function() return true end, 1, v.Class)
  672. end--]]
  673. CAR_DISPLAY_CONFIG.HasLoaded = true
  674. end
  675. ------------------------------------------------------------------------
  676.  
  677. CAR_DISPLAY_CONFIG.SellPercent = .2 -- Percent of the cars value that should be given back to the player when they sell it.
  678. CAR_DISPLAY_CONFIG.BuyPercent = .1 -- Percent of the cars original value should be charged when they want to change the colour or bodygroups
  679. CAR_DISPLAY_CONFIG.MaxSpawnedVehicles = 2 -- The max allowed vehicles a player is allowed out at any one time.
  680.  
  681. ------------------------------------------------------------------------
  682.  
  683. CAR_DISPLAY_CONFIG.CarColors = { // Default Car Colours
  684. ["Red"] = Color(255,0,0),
  685. ["White"] = Color(255,255,255),
  686. ["Blue"] = Color(0,0,255),
  687. ["Green"] = Color(0,255,0),
  688. ["Grey"] = Color(120,120,120),
  689. ["Black-Grey"] = Color(32,32,32),
  690. ["Black"] = Color(0,0,0),
  691. ["Yellow"] = Color(241,196,15),
  692. ["Light Blue"] = Color(52, 152, 219),
  693. ["Midnight Blue"] = Color(44, 62, 80),
  694. ["Azure"] = Color(240,255,255),
  695. ["Pink"] = Color(255,122,142),
  696. ["Cyan"] = Color(0,255,255),
  697. ["Dark Blue"] = Color(0,0,139),
  698. ["Forest Green"] = Color(34,139,34),
  699. ["Turquoise"] = Color(26,188,156),
  700. ["Emerald"] = Color(46,204,113),
  701. ["Jade Sea"] = Color(22,160,133),
  702. ["Nephritis"] = Color(39,174,96),
  703. ["Peter River"] = Color(52,152,219),
  704. ["Belizehole"] = Color(41,128,185),
  705. ["Amethyst"] = Color(155,89,182),
  706. ["Wisteria"] = Color(142,68,173),
  707. ["Wetasphalt"] = Color(52,73,94),
  708. ["Sunflower"] = Color(241,196,15),
  709. ["Carrot"] = Color(230,126,34),
  710. ["Orange"] = Color(243,156,18),
  711. ["Pumpkin"] = Color(211,84,0),
  712. ["Alizarin"] = Color(231,76,60),
  713. ["Pomegrnate"] = Color(192,57,43),
  714. ["Silver"] = Color(189,195,199),
  715. ["Asbestos"] = Color(127,140,141),
  716. ["Concrete"] = Color(149,165,166),
  717. ["Crimson"] = Color(189,8,28),
  718. ["Scarlet"] = Color(255,36,0),
  719. ["Gold"] = Color(255,215,0),
  720. ["Bronze"] = Color(205,127,50)
  721. }
  722.  
  723. ---------------------------------------------------------------------
  724. if SERVER then
  725. AddCSLuaFile("lib/sh_language.lua")
  726. include("lib/sh_language.lua")
  727. else
  728. include("lib/sh_language.lua")
  729. end
  730.  
  731. CAR_DISPLAY_CONFIG.Language = "EN" --built in languages (EN = English, FR = French, RU = Russian) Need some more translations to do a few more phrases for
  732. -- If you're interested in hepling out send me a message on SF or Steam, thanks
  733.  
  734.  
  735. ---------------------------------------------------------------------------
  736.  
  737. --------------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement