Moin!
Ich bin zurzeit dabei einige Mod Fahrzeuge in Altis Life einzufügen.
Mein Problem:
Ich würde gern für die Fahrzeuge verschiedene Farben anbieten.
Das hier habe Ich bereits versucht:
Code
class ivory_r34 {
vItemSpace = 40;
licenses[] = { {""}, {""}, {""}, {""} };
price = 450000;
textures[] = {
{ "Schwarz", "civ", {
"#(argb,8,8,3)color(0.05,0.05,0.05,1)"
} },
{ "Orange", "civ", {
"#(argb(255,140,0)color(0.05,0.05,0.05,1)"
} },
{ "Siber", "civ", {
"#(argb(192,192,192)color(0.05,0.05,0.05,1)"
} },
{ "Blau", "civ", {
"#(argb(0,0,255)color(0.05,0.05,0.05,1)"
} },
{ "Gelb", "civ", {
"#(argb(255,255,0)color(0.05,0.05,0.05,1)"
} },
{ "Dunkelrot", "civ", {
"#(argb(128,0,0)color(0.05,0.05,0.05,1)"
} },
{ "Rot", "civ", {
"#(argb(255,0,0)color(0.05,0.05,0.05,1)"
} },
{ "Türkis", "civ", {
"#(argb(0,128,128)color(0.05,0.05,0.05,1)"
} },
{ "Grün", "civ", {
"#(argb(0,255,0)color(0.05,0.05,0.05,1)"
} },
{ "Lila", "civ", {
"#(argb(128,0,128)color(0.05,0.05,0.05,1)"
} },
{ "Grau", "civ", {
"#(argb(105,105,105)color(0.05,0.05,0.05,1)"
} }
};
};
Alles anzeigen
Aber es wird nur Schwarz & Orange im Shop Menü angezeigt.
Wenn man andere Farben anklickt, verändert sich die Farbe nicht.
Was mache Ich falsch?
Die Farbcodes habe Ich aus einer RGB Farbtabelle. Ich glaube, dass die rgb und argb Dinger falsch sind.
MFG Prankson