Mein Problem ist wie folgt ich ich habe ein neues z-inv hinzugefügt und jetzt sind meine texturen die ich für die cops rein gemacht hab weg die gehen nicht bzw. hat man diese nicht an. kann mir jemand helfen ?
Der code für die cop kleidung
Code
case west: {
switch (FETCH_CONST(life_coplevel)) do {
case 1: {
if ((uniform player) isEqualTo "U_B_GEN_Commander_F") then {
_skinName = "textures\cop\rang_1.jpg";
};
};
case 2: {
if ((uniform player) isEqualTo "U_B_GEN_Commander_F") then {
_skinName = "textures\cop\rang_2.jpg";
};
};
case 3: {
if ((uniform player) isEqualTo "U_B_GEN_Commander_F") then {
_skinName = "textures\cop\PMA.jpg";
};
};
case 4: {
if ((uniform player) isEqualTo "U_B_GEN_Commander_F") then {
_skinName = "textures\cop\rang_4.jpg";
};
};
case 5: {
if ((uniform player) isEqualTo "U_B_GEN_Commander_F") then {
_skinName = "textures\cop\rang_5.jpg";
};
};
case 6: {
if ((uniform player) isEqualTo "U_B_GEN_Commander_F") then {
_skinName = "textures\cop\rang_6.jpg";
};
};
case 7: {
if ((uniform player) isEqualTo "U_B_GEN_Commander_F") then {
_skinName = "textures\cop\rang_7.jpg";
};
};
case 8: {
if ((uniform player) isEqualTo "U_B_GEN_Commander_F") then {
_skinName = "textures\cop\rang_8.jpg";
};
};
case 9: {
if ((uniform player) isEqualTo "U_B_GEN_Commander_F") then {
_skinName = "textures\cop\rang_9.jpg";
};
};
case 10: {
if ((uniform player) isEqualTo "U_B_GEN_Commander_F") then {
_skinName = "textures\cop\rang_10.jpg";
};
};
case 11;
case 12;
case 13;
case 14: {
if ((uniform player) isEqualTo "U_B_GEN_Commander_F") then {
_skinName = "textures\cop\Zoll.jpg";
};
};
case 15;
case 16;
case 17;
case 18: {
if ((uniform player) isEqualTo "U_B_GEN_Commander_F") then {
_skinName = "textures\cop\sek.jpg";
};
};
case 19: {
if ((uniform player) isEqualTo "U_B_GEN_Commander_F") then {
_skinName = "textures\cop\rang_14.jpg";
};
};
case 20: {
if ((uniform player) isEqualTo "U_B_GEN_Commander_F") then {
_skinName = "textures\cop\rang_15.jpg";
};
};
};
if (!isNil "_skinName") then {
player setObjectTextureGlobal [0, _skinName];
};
};
Alles anzeigen