Français Solved Comment personnaliser la couleur des voitures dans les shops?

20/11/20
243
4
6
1 100
Bonjour j'aurais souhaiter rajouter des couleur sur les voiture dans les shops. Les voiture sont moder et ont dejà une couleur dans leur PBO. Savez vous comment faire?
 
Hey ou alors :
Code:
class TON_VL {
        vItemSpace = TA_PLACE;
        conditions = "";
        price = TON_PRIX;
        textures[] = {
            { "Noir", "civ", {
                "#(argb,8,8,3)color(0,0,0,1.0,CO)"
            } },
            { "Gris", "civ", {
                "#(argb,8,8,3)color(0.501961,0.501961,0.501961,1.0,CO)"
            } },
            { "Gris Clair", "civ", {
                "#(argb,8,8,3)color(0.752941,0.752941,0.752941,1.0,CO)"
            } },
            { "Blanc", "civ", {
                "#(argb,8,8,3)color(1,1,1,1.0,CO)"
            } },
            { "Mauve", "civ", {
                "#(argb,8,8,3)color(0.25098,0,0.501961,1.0,CO)"
            } },
            { "Violet", "civ", {
                "#(argb,8,8,3)color(0.501961,0,1,1.0,CO)"
            } },
            { "Violet Fonce", "civ", {
                "#(argb,8,8,3)color(0.25098,0,0.25098,1.0,CO)"
            } },
            { "Bleu", "civ", {
                "#(argb,8,8,3)color(0,0,1,1.0,CO)"
            } },
            { "Bleu Fonce", "civ", {
                "#(argb,8,8,3)color(0,0,0.501961,1.0,CO)"
            } },
            { "Bleu Nuit", "civ", {
                "#(argb,8,8,3)color(0,0,0.25098,1.0,CO)"
            } },
            { "Vert", "civ", {
                "#(argb,8,8,3)color(0,1,0,1.0,CO)"
            } },
            { "Vert Fonce", "civ", {
                "#(argb,8,8,3)color(0,0.25098,0,1.0,CO)"
            } },
            { "Maron", "civ", {
                "#(argb,8,8,3)color(0.501961,0.25098,0,1.0,CO)"
            } },
            { "Rouge", "civ", {
                "#(argb,8,8,3)color(1,0,0,1.0,CO)"
            } },
            { "Rouge Fonce", "civ", {
                "#(argb,8,8,3)color(0.501961,0,0,1.0,CO)"
            } },
            { "Orange", "civ", {
                "#(argb,8,8,3)color(1,0.501961,0,1.0,CO)"
            } },
            { "Jaune", "civ", {
                "#(argb,8,8,3)color(1,1,0,1.0,CO)"
            } },
            { "Rose", "civ", {
                "#(argb,8,8,3)color(1,0,1,1.0,CO)"
            } },
            { "Moutard", "civ", {
                "#(argb,8,8,3)color(0.501961,0.501961,0,1.0,CO)"
            } }
        };
    };