Config = {} Config.DrawDistance = 100.0 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 = "Appuyez sur ~INPUT_PICKUP~ pour personnaliser le véhicule." } } Config.Colors = { { label = 'Noir', value = 'black'}, { label = 'Blanc', value = 'white'}, { label = 'Gris', value = 'grey'}, { label = 'Rouge', value = 'red'}, { label = 'Rose', value = 'pink'}, { label = 'Bleu', value = 'blue'}, { label = 'Jaune', value = 'yellow'}, { label = 'Vert', value = 'green'}, { label = 'Orange', value = 'orange'}, { label = 'Marron', value = 'brown'}, { label = 'Violet', value = 'purple'}, { label = 'Chrome', value = 'chrome'}, { label = 'Or', value = 'gold'}, } function GetColors(color) local colors = {} if color == 'black' then colors = { { index = 0, label = 'Noir'}, { index = 1, label = 'Graphite'}, { index = 2, label = 'Noir Métallisé'}, { index = 3, label = 'Acier Fondu'}, { index = 11, label = 'Noir Anthracite'}, { index = 12, label = 'Noir Mat'}, { index = 15, label = 'Nuit Sombre'}, { index = 16, label = 'Noir Profond'}, { index = 21, label = 'Pétrol'}, { index = 147, label = 'Carbon'} } elseif color == 'white' then colors = { { index = 106, label = 'Vanille'}, { index = 107, label = 'Crème'}, { index = 111, label = 'Blanc'}, { index = 112, label = 'Blanc Polair'}, { index = 113, label = 'Beige'}, { index = 121, label = 'Blanc Mat'}, { index = 122, label = 'Neige'}, { index = 131, label = 'Coton'}, { index = 132, label = 'Albâtre'}, { index = 134, label = 'Blanc Pure'} } elseif color == 'grey' then colors = { { index = 4, label = 'Argenté'}, { index = 5, label = 'Gris Métallisé'}, { index = 6, label = 'Acier Laminé'}, { index = 7, label = 'Gris Foncé'}, { index = 8, label = 'Gris Rocheux'}, { index = 9, label = 'Gris Nuit'}, { index = 10, label = 'Aluminium'}, { index = 13, label = 'Gris Mat'}, { index = 14, label = 'Gris Clair'}, { index = 17, label = 'Gris Bitume'}, { index = 18, label = 'Gris Béton'}, { index = 19, label = 'Argent Sombre'}, { index = 20, label = 'Magnésite'}, { index = 22, label = 'Nickel'}, { index = 23, label = 'Zinc'}, { index = 24, label = 'Dolomite'}, { index = 25, label = 'Argent Bleuté'}, { index = 26, label = 'Titane'}, { index = 66, label = 'Acier Bleui'}, { index = 93, label = 'Champagne'}, { index = 144, label = 'Gris Chasseur'}, { index = 156, label = 'Gris'} } elseif color == 'red' then colors = { { index = 27, label = 'Rouge'}, { 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 = 'Rose Electrique'}, { index = 136, label = 'Rose Saumon'}, { index = 137, label = 'Rose Dragée'} } 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 = 'Jaune'}, { index = 88, label = 'Jaune Blé'}, { index = 89, label = 'Jaune Rally'}, { index = 91, label = 'Jaune Clair'}, { index = 126, label = 'Jaune Pale'} } 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 = 'Tangerine'}, { index = 38, label = 'Orange'}, { index = 41, label = 'Orange Mat'}, { index = 123, label = 'Orange Clair'}, { index = 124, label = 'Pèche'}, { index = 130, label = 'Citrouille'}, { index = 138, label = 'Orange Lambo'} } elseif color == 'brown' then colors = { { index = 45, label = 'Cuivre'}, { index = 47, label = 'Marron clair'}, { index = 48, label = 'Marron Foncé'}, { index = 90, label = 'Bronze'}, { index = 94, label = 'Marron Métallisé'}, { index = 95, label = 'Expresso'}, { index = 96, label = 'Chocolat'}, { index = 97, label = 'Terre Cuite'}, { index = 98, label = 'Marbre'}, { index = 99, label = 'Sable'}, { index = 100, label = 'Sépia'}, { index = 101, label = 'Bison'}, { index = 102, label = 'Palmier'}, { index = 103, label = 'Caramel'}, { index = 104, label = 'Rouille'}, { index = 105, label = 'Chataigne'}, { index = 108, label = 'Brun'}, { index = 109, label = 'Noisette'}, { index = 110, label = 'Coquillage'}, { index = 114, label = 'Acajou'}, { index = 115, label = 'Chaudron'}, { index = 116, label = 'Blond'}, { index = 129, label = 'Gravillon'}, { index = 153, label = 'Terre Foncé'}, { index = 154, label = 'Désert'} } elseif color == 'purple' then colors = { { index = 71, label = 'Indigo'}, { index = 72, label = 'Violet Profond'}, { index = 76, label = 'Violet Foncé'}, { index = 81, label = 'Améthyste'}, { index = 142, label = 'Violet Mystique'}, { index = 145, label = 'Violet Métallisé'}, { index = 148, label = 'Vilot Mat'}, { index = 149, label = 'Violet Profond Mat'} } elseif color == 'chrome' then colors = { { index = 117, label = 'Chrome Brossé'}, { index = 118, label = 'Chrome Noir'}, { index = 119, label = 'Aluminum Brossé'}, { index = 120, label = 'Chrome'} } elseif color == 'gold' then colors = { { index = 37, label = 'Or'}, { index = 158, label = 'Or Pure'}, { index = 159, label = 'Or Brossé'}, { index = 160, label = 'Or Clair'} } 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 = "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 = "yellow", r = 255, g = 255, b = 0}, { label = "gold", r = 255, g = 215, b = 0}, { label = "orange", r = 255, g = 165, b = 0}, { label = "wheat", r = 245, g = 222, b = 179}, { label = "red", r = 255, g = 0, b = 0}, { label = "pink", r = 255, g = 161, b = 211}, { label = "bright_pink", r = 255, g = 0, b = 255}, { label = "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 "Bleu sur fond Blanc 1" elseif (index == 1) then return "Jaune sur fond Noir" elseif (index == 2) then return "Jaune sur fond Bleu" elseif (index == 3) then return "Bleu sur fond Blanc 2" elseif (index == 4) then return "Bleu sur fond Blanc 3" end end Config.Menus = { main = { label = 'LS CUSTOM', parent = nil, upgrades = 'Upgrades', cosmetics = 'Cosmétiques' }, upgrades = { label = 'Upgrades', parent = 'main', modEngine = "Moteur", modBrakes = "Freins", modTransmission = "Transmission", modSuspension = "Suspension", modArmor = "Armure", modTurbo = "Turbo" }, modEngine = { label = 'Moteur', parent = 'modEngine', modType = 11, price = 500 }, modBrakes = { label = 'Freins', parent = 'modBrakes', modType = 12, price = 500 }, modTransmission = { label = 'Transmission', parent = 'modTransmission', modType = 13, price = 500 }, modSuspension = { label = 'Suspension', parent = 'modSuspension', modType = 15, price = 500 }, modArmor = { label = 'Armure', parent = 'modArmor', modType = 16, price = 500 }, modTurbo = { label = 'Turbo', parent = 'modTurbo', modType = 18, price = 500 }, cosmetics = { label = 'Cosmétiques', parent = 'main', bodyparts = 'Carosserie', -- windowTint = 'Fenêtres', -- modHorns = 'Klaxon', -- neonColor = "Néons", -- resprays = 'Peinture', -- modXenon = 'Phares', -- plateIndex = 'Plaque', -- wheels = 'Roues' -- }, wheels = { label = 'Roues', parent = 'cosmetics', modFrontWheelsTypes = "Types de Jantes", modFrontWheelsColor = "Couleurs jantes", tyreSmokeColor = "Fumée des pneus" }, modFrontWheelsTypes = { label = 'Types de Jantes', parent = 'wheels', modFrontWheelsType0 = 'Jantes Sport', modFrontWheelsType1 = 'Jantes Muscle', modFrontWheelsType2 = 'Jantes Lowrider', modFrontWheelsType3 = 'Jantes SUV', modFrontWheelsType4 = 'Jantes Tout-terrain', modFrontWheelsType5 = 'Jantes Tuning', modFrontWheelsType6 = 'Jantes Moto', modFrontWheelsType7 = 'Jantes Haut de gamme' }, modFrontWheelsType0 = { label = 'Jantes Sport', parent = 'modFrontWheelsTypes', modType = 23, wheelType = 0, price = 500 }, modFrontWheelsType1 = { label = 'Jantes Muscle', parent = 'modFrontWheelsTypes', modType = 23, wheelType = 1, price = 500 }, modFrontWheelsType2 = { label = 'Jantes Lowrider', parent = 'modFrontWheelsTypes', modType = 23, wheelType = 2, price = 500 }, modFrontWheelsType3 = { label = 'Jantes SUV', parent = 'modFrontWheelsTypes', modType = 23, wheelType = 3, price = 500 }, modFrontWheelsType4 = { label = 'Jantes Tout-terrain', parent = 'modFrontWheelsTypes', modType = 23, wheelType = 4, price = 500 }, modFrontWheelsType5 = { label = 'Jantes Tuning', parent = 'modFrontWheelsTypes', modType = 23, wheelType = 5, price = 500 }, modFrontWheelsType6 = { label = 'Jantes Moto', parent = 'modFrontWheelsTypes', modType = 23, wheelType = 6, price = 500 }, modFrontWheelsType7 = { label = 'Jantes Haut de gamme', 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 = 'Plaque', parent = 'cosmetics', modType = 'plateIndex', price = 500 }, resprays = { label = 'Peinture', parent = 'cosmetics', primaryRespray = 'Primaire', secondaryRespray = 'Secondaire', pearlescentRespray = 'Nacré', }, primaryRespray = { label = 'Primaire', parent = 'resprays', }, secondaryRespray = { label = 'Secondaire', parent = 'resprays', }, pearlescentRespray = { label = 'Nacré', parent = 'resprays', }, color1 = { label = 'Primaire', parent = 'primaryRespray', modType = 'color1', price = 500 }, color2 = { label = 'Secondaire', parent = 'secondaryRespray', modType = 'color2', price = 500 }, pearlescentColor = { label = 'Nacré', parent = 'pearlescentRespray', modType = 'pearlescentColor', price = 500 }, modXenon = { label = 'Phares', parent = 'cosmetics', modType = 22, price = 500 }, bodyparts = { label = 'Carosserie', parent = 'cosmetics', modFender = 'Aile gauche', modRightFender = 'Aile droite', modSpoilers = 'Aileron', modSideSkirt = 'Bas de caisse', modFrame = 'Cage', modHood = 'Capot', modGrille = 'Grille', modRearBumper = 'Pare-choc arrière', modFrontBumper = 'Pare-choc avant', modExhaust = 'Pot d\'échappement', modRoof = 'Toit' }, modSpoilers = { label = 'Aileron', parent = 'bodyparts', modType = 0, price = 500 }, modFrontBumper = { label = 'Pare-choc avant', modType = 1, price = 500 }, modRearBumper = { label = 'Pare-choc arrière', modType = 2, price = 500 }, modSideSkirt = { label = 'Bas de caisse', modType = 3, price = 500 }, modExhaust = { label = 'Pot d\'échappement', modType = 4, price = 500 }, modFrame = { label = 'Cage', modType = 5, price = 500 }, modGrille = { label = 'Grille', modType = 6, price = 500 }, modHood = { label = 'Capot', modType = 7, price = 500 }, modFender = { label = 'Aile gauche', modType = 8, price = 500 }, modRightFender = { label = 'Aile droite', modType = 9, price = 500 }, modRoof = { label = 'Toit', modType = 10, price = 500 }, windowTint = { label = 'Fenêtres', parent = 'cosmetics', modType = 'windowTint', price = 500 }, modHorns = { label = 'Klaxon', parent = 'cosmetics', modType = 14, price = 500 }, neonColor = { label = 'Néons', parent = 'cosmetics', modType = 'neonColor', price = 500 }, tyreSmokeColor = { label = 'Fumée des pneus', parent = 'wheels', modType = 'tyreSmokeColor', price = 500 } }