Français Solved Menu déroulant pour choisir la couleur des véhicules modifiés

  • Auteur de la discussion Auteur de la discussion Averking
  • Date de début Date de début

Averking

User
24/4/20
8
0
250
bonjour je voudrais mettre plusieurs couleur dans le menu déroulant du shop pour avoir différent couleur (bleu, rouge, ect) je voie pas comment faire a part modifier le skin des véhicule moddé hors je ne veux pas touché au skin mes juste la couleur merci de vos reponse
 
Solution
bonjour, tu dois aller dans le dossier configet trouver le fichier config_vehicle.hpp et rajouter ces lignes dans les textures des vehicules
Code:
            { "Noir", "civ", {
                "#(argb,8,8,3)color(0.05,0.05,0.05,1)"
            }, "" },
            { "Blanc", "civ", {
                "#(argb,8,8,3)color(1,1,1,1)"
            }, "" },
            { "Gris", "civ", {
                "#(argb,8,8,3)color(0.0925,0.0925,0.0925,1)"
            }, "" },
            { "Sable", "civ", {
                "#(argb,8,8,3)color(1.5,1.6,0.9,0.2)"
            }, "" },
            { "Rouge", "civ", {
                "#(argb,8,8,3)color(1,0,0,1)"
            }, "" },
            { "Jaune", "civ", {...
bonjour, tu dois aller dans le dossier configet trouver le fichier config_vehicle.hpp et rajouter ces lignes dans les textures des vehicules
Code:
            { "Noir", "civ", {
                "#(argb,8,8,3)color(0.05,0.05,0.05,1)"
            }, "" },
            { "Blanc", "civ", {
                "#(argb,8,8,3)color(1,1,1,1)"
            }, "" },
            { "Gris", "civ", {
                "#(argb,8,8,3)color(0.0925,0.0925,0.0925,1)"
            }, "" },
            { "Sable", "civ", {
                "#(argb,8,8,3)color(1.5,1.6,0.9,0.2)"
            }, "" },
            { "Rouge", "civ", {
                "#(argb,8,8,3)color(1,0,0,1)"
            }, "" },
            { "Jaune", "civ", {
                "#(argb,8,8,3)color(0.643,0.663,0,1)"
            }, "" },
            { "Bleu", "civ", {
                "#(argb,8,8,3)color(0.01,0.6,1,0.1)"
            }, "" },
            { "Bleu Nuit", "civ", {
                "#(argb,8,8,3)color(0,0,0.5,0.1)"
            }, "" },
            { "Mauve", "civ", {
                "#(argb,8,8,3)color(0.6,0,1,0.01)"
            }, "" },
            { "Orange", "civ", {
                "#(argb,8,8,3)color(1,0.251,0,1)"
            }, "" },
            { "Vert", "civ", {
                "#(argb,8,8,3)color(0.5,1,0.5,0.05)"
            }, "" },
            { "Rose", "civ", {
                "#(argb,8,8,3)color(0.878,0.067,0.373,1)"
            }, "" },
            { "Violet", "civ", {
                "#(argb,8,8,3)color(0.455,0.004,0.875,1)"
            }, "" }

Voici un exemple d'un vehicule :

Code:
    class Peugeot_308_civ {
        vItemSpace = 45;
        conditions = "";
        price = 23200;
        textures[] = {
            { "Noir", "civ", {
                "#(argb,8,8,3)color(0.05,0.05,0.05,1)"
            }, "" },
            { "Blanc", "civ", {
                "#(argb,8,8,3)color(1,1,1,1)"
            }, "" },
            { "Gris", "civ", {
                "#(argb,8,8,3)color(0.0925,0.0925,0.0925,1)"
            }, "" },
            { "Sable", "civ", {
                "#(argb,8,8,3)color(1.5,1.6,0.9,0.2)"
            }, "" },
            { "Rouge", "civ", {
                "#(argb,8,8,3)color(1,0,0,1)"
            }, "" },
            { "Jaune", "civ", {
                "#(argb,8,8,3)color(0.643,0.663,0,1)"
            }, "" },
            { "Bleu", "civ", {
                "#(argb,8,8,3)color(0.01,0.6,1,0.1)"
            }, "" },
            { "Bleu Nuit", "civ", {
                "#(argb,8,8,3)color(0,0,0.5,0.1)"
            }, "" },
            { "Mauve", "civ", {
                "#(argb,8,8,3)color(0.6,0,1,0.01)"
            }, "" },
            { "Orange", "civ", {
                "#(argb,8,8,3)color(1,0.251,0,1)"
            }, "" },
            { "Vert", "civ", {
                "#(argb,8,8,3)color(0.5,1,0.5,0.05)"
            }, "" },
            { "Rose", "civ", {
                "#(argb,8,8,3)color(0.878,0.067,0.373,1)"
            }, "" },
            { "Violet", "civ", {
                "#(argb,8,8,3)color(0.455,0.004,0.875,1)"
            }, "" }
        };
    };
 
  • Like
Les réactions: Teravince et Averking
Solution