Config = {} Config.DrawDistance = 100.0 Config.Locale = 'fr' Config.Zones = { ls1 = { Pos = { x = -362.7962, y = -132.4005, z = 38.25239}, Size = {x = 3.0, y = 3.0, z = 0.2}, Color = {r = 204, g = 204, b = 0}, Marker= 1, Name = "LS CUSTOM", Hint = _U('press_custom') } } Config.Colors = { { label = _U('black'), value = 'black'}, { label = _U('white'), value = 'white'}, { label = _U('grey'), value = 'grey'}, { label = _U('red'), value = 'red'}, { label = _U('pink'), value = 'pink'}, { label = _U('blue'), value = 'blue'}, { label = _U('yellow'), value = 'yellow'}, { label = _U('green'), value = 'green'}, { label = _U('orange'), value = 'orange'}, { label = _U('brown'), value = 'brown'}, { label = _U('purple'), value = 'purple'}, { label = _U('chrome'), value = 'chrome'}, { label = _U('gold'), value = 'gold'}, } function GetColors(color) local colors = {} if color == 'black' then colors = { { index = 0, label = _U('black')}, { index = 1, label = _U('graphite')}, { index = 2, label = _U('black_metallic')}, { index = 3, label = _U('caststeel')}, { index = 11, label = _U('black_anth')}, { index = 12, label = _U('matteblack')}, { index = 15, label = _U('darknight')}, { index = 16, label = _U('deepblack')}, { index = 21, label = _U('oil')}, { index = 147, label = _U('carbon')} } elseif color == 'white' then colors = { { index = 106, label = _U('vanilla')}, { index = 107, label = _U('creme')}, { index = 111, label = _U('white')}, { index = 112, label = _U('polarwhite')}, { index = 113, label = _U('beige')}, { index = 121, label = _U('mattewhite')}, { index = 122, label = _U('snow')}, { index = 131, label = _U('cotton')}, { index = 132, label = _U('alabaster')}, { index = 134, label = _U('purewhite')} } elseif color == 'grey' then colors = { { index = 4, label = _U('silver')}, { index = 5, label = _U('metallicgrey')}, { index = 6, label = _U('laminatedsteel')}, { index = 7, label = _U('darkgray')}, { index = 8, label = _U('rockygray')}, { index = 9, label = _U('graynight')}, { index = 10, label = _U('aluminum')}, { index = 13, label = _U('graymat')}, { index = 14, label = _U('lightgrey')}, { index = 17, label = _U('asphaltgray')}, { index = 18, label = _U('grayconcrete')}, { index = 19, label = _U('darksilver')}, { index = 20, label = _U('magnesite')}, { index = 22, label = _U('nickel')}, { index = 23, label = _U('zinc')}, { index = 24, label = _U('dolomite')}, { index = 25, label = _U('bluesilver')}, { index = 26, label = _U('titanium')}, { index = 66, label = _U('steelblue')}, { index = 93, label = _U('champagne')}, { index = 144, label = _U('grayhunter')}, { index = 156, label = _U('grey')} } elseif color == 'red' then colors = { { index = 27, label = _U('red')}, { index = 28, label = 'Rouge Turin'}, { index = 29, label = 'Coquelicot'}, { index = 30, label = 'Rouge Cuivré'}, { index = 31, label = 'Rouge Cardinal'}, { index = 32, label = 'Rouge Brique'}, { index = 33, label = 'Grenat'}, { index = 34, label = 'Pourpre'}, { index = 35, label = 'Framboise'}, { index = 39, label = 'Rouge Mat'}, { index = 40, label = 'Rouge Foncé'}, { index = 43, label = 'Rouge Pulpeux'}, { index = 44, label = 'Rouge Brillant'}, { index = 46, label = 'Rouge Pale'}, { index = 143, label = 'Rouge Vin'}, { index = 150, label = 'Volcano'} } elseif color == 'pink' then colors = { { index = 135, label = _U('electricpink')}, { index = 136, label = _U('salmon')}, { index = 137, label = _U('sugarplum')} } elseif color == 'blue' then colors = { { index = 54, label = 'Topaze'}, { index = 60, label = 'Bleu Clair'}, { index = 61, label = 'Bleu Galaxy'}, { index = 62, label = 'Bleu Foncé'}, { index = 63, label = 'Bleu Azur'}, { index = 64, label = 'Bleu Marine'}, { index = 65, label = 'Lapis Lazuli'}, { index = 67, label = 'Bleu Diamant'}, { index = 68, label = 'Surfer'}, { index = 69, label = 'Pastel'}, { index = 70, label = 'Bleu Celeste'}, { index = 73, label = 'Bleu Rally'}, { index = 74, label = 'Bleu Paradis'}, { index = 75, label = 'Bleu Nuit'}, { index = 77, label = 'Bleu Cyan'}, { index = 78, label = 'Cobalt'}, { index = 79, label = 'Bleu Electrique'}, { index = 80, label = 'Bleu Horizon'}, { index = 82, label = 'Bleu Métallisé'}, { index = 83, label = 'Aigue Marine '}, { index = 84, label = 'Bleu Agathe'}, { index = 85, label = 'Zirconium'}, { index = 86, label = 'Spinelle'}, { index = 87, label = 'Tourmaline'}, { index = 127, label = 'Paradis'}, { index = 140, label = 'Bubble Gum'}, { index = 141, label = 'Bleu Minuit'}, { index = 146, label = 'Bleu Interdit'}, { index = 157, label = 'Bleu Glacier'} } elseif color == 'yellow' then colors = { { index = 42, label = _U('yellow')}, { index = 88, label = _U('wheat')}, { index = 89, label = _U('raceyellow')}, { index = 91, label = _U('paleyellow')}, { index = 126, label = _U('lightyellow')} } elseif color == 'green' then colors = { { index = 49, label = 'Vert Foncé'}, { index = 50, label = 'Vert Rally'}, { index = 51, label = 'Vert Sapin'}, { index = 52, label = 'Vert Olive'}, { index = 53, label = 'Vert Clair'}, { index = 55, label = 'Vert Lime'}, { index = 56, label = 'Vert Forêt'}, { index = 57, label = 'Vert Pelouse'}, { index = 58, label = 'Vert Impérial'}, { index = 59, label = 'Vert Bouteille'}, { index = 92, label = 'Vert Citrus'}, { index = 125, label = 'Vert Anis'}, { index = 128, label = 'Kaki'}, { index = 133, label = 'Vert Army'}, { index = 151, label = 'Vert Sombre'}, { index = 152, label = 'Vert Chasseur'}, { index = 155, label = 'Amarylisse'} } elseif color == 'orange' then colors = { { index = 36, label = _U('tangerine')}, { index = 38, label = _U('orange')}, { index = 41, label = _U('matteorange')}, { index = 123, label = _U('lightorange')}, { index = 124, label = _U('peach')}, { index = 130, label = _U('pumpkin')}, { index = 138, label = _U('orangelambo')} } elseif color == 'brown' then colors = { { index = 45, label = _U('copper')}, { index = 47, label = _U('lightbrown')}, { index = 48, label = _U('darkbrown')}, { index = 90, label = _U('bronze')}, { index = 94, label = _U('brownmetallic')}, { index = 95, label = _U('Expresso')}, { index = 96, label = _U('chocolate')}, { index = 97, label = _U('terracotta')}, { index = 98, label = _U('marble')}, { index = 99, label = _U('sand')}, { index = 100, label = _U('sepia')}, { index = 101, label = _U('bison')}, { index = 102, label = _U('palm')}, { index = 103, label = _U('caramel')}, { index = 104, label = _U('rust')}, { index = 105, label = _U('chestnut')}, { index = 108, label = _U('brown')}, { index = 109, label = _U('hazelnut')}, { index = 110, label = _U('shell')}, { index = 114, label = _U('mahogany')}, { index = 115, label = _U('cauldron')}, { index = 116, label = _U('blond')}, { index = 129, label = _U('gravel')}, { index = 153, label = _U('darkearth')}, { index = 154, label = _U('desert')} } elseif color == 'purple' then colors = { { index = 71, label = _U('indigo')}, { index = 72, label = _U('deeppurple')}, { index = 76, label = _U('darkviolet')}, { index = 81, label = _U('amethyst')}, { index = 142, label = _U('mysticalviolet')}, { index = 145, label = _U('purplemetallic')}, { index = 148, label = _U('matteviolet')}, { index = 149, label = _U('mattedeeppurple')} } elseif color == 'chrome' then colors = { { index = 117, label = _U('brushechrome')}, { index = 118, label = _U('blackchrome')}, { index = 119, label = _U('brushedaluminum')}, { index = 120, label = _U('chrome')} } elseif color == 'gold' then colors = { { index = 37, label = _U('gold')}, { index = 158, label = _U('puregold')}, { index = 159, label = _U('brushedgold')}, { index = 160, label = _U('lightgold')} } end return colors end function GetWindowName(index) if (index == 1) then return "Pure Black" elseif (index == 2) then return "Darksmoke" elseif (index == 3) then return "Lightsmoke" elseif (index == 4) then return "Limo" elseif (index == 5) then return "Green" else return "Unknown" end end function GetHornName(index) if (index == 0) then return "Truck Horn" elseif (index == 1) then return "Cop Horn" elseif (index == 2) then return "Clown Horn" elseif (index == 3) then return "Musical Horn 1" elseif (index == 4) then return "Musical Horn 2" elseif (index == 5) then return "Musical Horn 3" elseif (index == 6) then return "Musical Horn 4" elseif (index == 7) then return "Musical Horn 5" elseif (index == 8) then return "Sad Trombone" elseif (index == 9) then return "Classical Horn 1" elseif (index == 10) then return "Classical Horn 2" elseif (index == 11) then return "Classical Horn 3" elseif (index == 12) then return "Classical Horn 4" elseif (index == 13) then return "Classical Horn 5" elseif (index == 14) then return "Classical Horn 6" elseif (index == 15) then return "Classical Horn 7" elseif (index == 16) then return "Scale - Do" elseif (index == 17) then return "Scale - Re" elseif (index == 18) then return "Scale - Mi" elseif (index == 19) then return "Scale - Fa" elseif (index == 20) then return "Scale - Sol" elseif (index == 21) then return "Scale - La" elseif (index == 22) then return "Scale - Ti" elseif (index == 23) then return "Scale - Do" elseif (index == 24) then return "Jazz Horn 1" elseif (index == 25) then return "Jazz Horn 2" elseif (index == 26) then return "Jazz Horn 3" elseif (index == 27) then return "Jazz Horn Loop" elseif (index == 28) then return "Star Spangled Banner 1" elseif (index == 29) then return "Star Spangled Banner 2" elseif (index == 30) then return "Star Spangled Banner 3" elseif (index == 31) then return "Star Spangled Banner 4" elseif (index == 32) then return "Classical Horn 8 Loop" elseif (index == 33) then return "Classical Horn 9 Loop" elseif (index == 34) then return "Classical Horn 10 Loop" elseif (index == 35) then return "Classical Horn 8" elseif (index == 36) then return "Classical Horn 9" elseif (index == 37) then return "Classical Horn 10" elseif (index == 38) then return "Funeral Loop" elseif (index == 39) then return "Funeral" elseif (index == 40) then return "Spooky Loop" elseif (index == 41) then return "Spooky" elseif (index == 42) then return "San Andreas Loop" elseif (index == 43) then return "San Andreas" elseif (index == 44) then return "Liberty City Loop" elseif (index == 45) then return "Liberty City" elseif (index == 46) then return "Festive 1 Loop" elseif (index == 47) then return "Festive 1" elseif (index == 48) then return "Festive 2 Loop" elseif (index == 49) then return "Festive 2" elseif (index == 50) then return "Festive 3 Loop" elseif (index == 51) then return "Festive 3" else return "Unknown Horn" end end function GetNeons() local neons = { { label = _U('white'), r = 255, g = 255, b = 255}, { label = "Slate Gray", r = 112, g = 128, b = 144}, { label = "Blue", r = 0, g = 0, b = 255}, { label = "Light Blue", r = 0, g = 150, b = 255}, { label = "Navy Blue", r = 0, g = 0, b = 128}, { label = "Sky Blue", r = 135, g = 206, b = 235}, { label = "Turquoise", r = 0, g = 245, b = 255}, { label = "Mint Green", r = 50, g = 255, b = 155}, { label = "Lime Green", r = 0, g = 255, b = 0}, { label = "Olive", r = 128, g = 128, b = 0}, { label = _U('yellow'), r = 255, g = 255, b = 0}, { label = _U('gold'), r = 255, g = 215, b = 0}, { label = _U('orange'), r = 255, g = 165, b = 0}, { label = _U('wheat'), r = 245, g = 222, b = 179}, { label = _U('red'), r = 255, g = 0, b = 0}, { label = _U('pink'), r = 255, g = 161, b = 211}, { label = _U('brightpink'), r = 255, g = 0, b = 255}, { label = _U('purple'), r = 153, g = 0, b = 153}, { label = "Ivory", r = 41, g = 36, b = 33} } return neons end function GetPlatesName(index) if (index == 0) then return _U('blue_on_white_1') elseif (index == 1) then return _U('yellow_on_black') elseif (index == 2) then return _U('yellow_blue') elseif (index == 3) then return _U('blue_on_white_2') elseif (index == 4) then return _U('blue_on_white_3') end end Config.Menus = { main = { label = 'LS CUSTOM', parent = nil, upgrades = _U('upgrades'), cosmetics = _U('cosmetics') }, upgrades = { label = _U('upgrades'), parent = 'main', modEngine = _U('engine'), modBrakes = _U('brakes'), modTransmission = _U('transmission'), modSuspension = _U('suspension'), modArmor = _U('armor'), modTurbo = _U('turbo') }, modEngine = { label = _U('engine'), parent = 'modEngine', modType = 11, price = 500 }, modBrakes = { label = _U('brakes'), parent = 'modBrakes', modType = 12, price = 500 }, modTransmission = { label = _U('transmission'), parent = 'modTransmission', modType = 13, price = 500 }, modSuspension = { label = _U('suspension'), parent = 'modSuspension', modType = 15, price = 500 }, modArmor = { label = _U('armor'), parent = 'modArmor', modType = 16, price = 500 }, modTurbo = { label = _U('turbo'), parent = 'modTurbo', modType = 18, price = 500 }, cosmetics = { label = _U('cosmetics'), parent = 'main', bodyparts = _U('bodyparts'), windowTint = _U('windowtint'), modHorns = _U('horns'), neonColor = _U('neons'), resprays = _U('respray'), modXenon = _U('headlights'), plateIndex = _U('licenseplates'), wheels = _U('wheels') }, wheels = { label = _U('wheels'), parent = 'cosmetics', modFrontWheelsTypes = _U('wheel_type'), modFrontWheelsColor = _U('wheel_color'), tyreSmokeColor = _U('tiresmoke') }, modFrontWheelsTypes = { label = _U('wheel_type'), parent = 'wheels', modFrontWheelsType0 = _U('sport'), modFrontWheelsType1 = _U('muscle'), modFrontWheelsType2 = _U('lowrider'), modFrontWheelsType3 = _U('suv'), modFrontWheelsType4 = _U('allterain'), modFrontWheelsType5 = _U('tuning'), modFrontWheelsType6 = _U('motorcycle'), modFrontWheelsType7 = _U('highend') }, modFrontWheelsType0 = { label = _U('sport'), parent = 'modFrontWheelsTypes', modType = 23, wheelType = 0, price = 500 }, modFrontWheelsType1 = { label = _U('muscle'), parent = 'modFrontWheelsTypes', modType = 23, wheelType = 1, price = 500 }, modFrontWheelsType2 = { label = _U('lowrider'), parent = 'modFrontWheelsTypes', modType = 23, wheelType = 2, price = 500 }, modFrontWheelsType3 = { label = _U('suv'), parent = 'modFrontWheelsTypes', modType = 23, wheelType = 3, price = 500 }, modFrontWheelsType4 = { label = _U('allterain'), parent = 'modFrontWheelsTypes', modType = 23, wheelType = 4, price = 500 }, modFrontWheelsType5 = { label = _U('tuning'), parent = 'modFrontWheelsTypes', modType = 23, wheelType = 5, price = 500 }, modFrontWheelsType6 = { label = _U('motorcycle'), parent = 'modFrontWheelsTypes', modType = 23, wheelType = 6, price = 500 }, modFrontWheelsType7 = { label = _U('highend'), parent = 'modFrontWheelsTypes', modType = 23, wheelType = 7, price = 500 }, modFrontWheelsColor = { label = 'Peinture Jantes', parent = 'wheels' }, wheelColor = { label = 'Peinture Jantes', parent = 'modFrontWheelsColor', modType = 'wheelColor', price = 500 }, plateIndex = { label = _U('licenseplates'), parent = 'cosmetics', modType = 'plateIndex', price = 500 }, resprays = { label = _U('respray'), parent = 'cosmetics', primaryRespray = _U('primary'), secondaryRespray = _U('secondary'), pearlescentRespray = _U('pearlescent'), }, primaryRespray = { label = _U('primary'), parent = 'resprays', }, secondaryRespray = { label = _U('secondary'), parent = 'resprays', }, pearlescentRespray = { label = _U('pearlescent'), parent = 'resprays', }, color1 = { label = _U('primary'), parent = 'primaryRespray', modType = 'color1', price = 500 }, color2 = { label = _U('secondary'), parent = 'secondaryRespray', modType = 'color2', price = 500 }, pearlescentColor = { label = _U('pearlescent'), parent = 'pearlescentRespray', modType = 'pearlescentColor', price = 500 }, modXenon = { label = _U('headlights'), parent = 'cosmetics', modType = 22, price = 500 }, bodyparts = { label = _U('bodyparts'), parent = 'cosmetics', modFender = _U('leftfender'), modRightFender = _U('rightfender'), modSpoilers = _U('spoilers'), modSideSkirt = _U('sideskirt'), modFrame = _U('cage'), modHood = _U('hood'), modGrille = _U('grille'), modRearBumper = _U('rearbumper'), modFrontBumper = _U('frontbumper'), modExhaust = _U('exhaust'), modRoof = _U('roof') }, modSpoilers = { label = _U('spoilers'), parent = 'bodyparts', modType = 0, price = 500 }, modFrontBumper = { label = _U('frontbumper'), modType = 1, price = 500 }, modRearBumper = { label = _U('rearbumper'), modType = 2, price = 500 }, modSideSkirt = { label = _U('sideskirt'), modType = 3, price = 500 }, modExhaust = { label = _U('exhaust'), modType = 4, price = 500 }, modFrame = { label = _U('cage'), modType = 5, price = 500 }, modGrille = { label = _U('grille'), modType = 6, price = 500 }, modHood = { label = _U('hood'), modType = 7, price = 500 }, modFender = { label = _U('leftfender'), modType = 8, price = 500 }, modRightFender = { label = _U('rightfender'), modType = 9, price = 500 }, modRoof = { label = _U('roof'), modType = 10, price = 500 }, windowTint = { label = _U('windowTint'), parent = 'cosmetics', modType = 'windowTint', price = 500 }, modHorns = { label = _U('horns'), parent = 'cosmetics', modType = 14, price = 500 }, neonColor = { label = _U('neons'), parent = 'cosmetics', modType = 'neonColor', price = 500 }, tyreSmokeColor = { label = _U('tiresmoke'), parent = 'wheels', modType = 'tyreSmokeColor', price = 500 } }