Hallo erstmal ich hab das Problem das ich irgendwo bei der fn_playerSkins.sqf einen Fehler gemacht habe oder irgend etwas vergessen hab. Um noch mal genauer ins geteilt zu gehen ich wollte mehrere Medic Skins einfügen (insgesamt 14) und wenn ich den Server dann Starte werden mir keine Skins angezeigt und auch wenn ich die Skins Ingame neu lade passiert nix
Spoiler anzeigen
case independent: {
// Uniformen für Medics
if(playerSide == independent) then {
switch(uniform player) do {
case "U_I_CombatUniform" : {
if(FETCH_CONST(life_mediclevel) == 1) then {
player setObjectTextureGlobal [0,"skins\med\uni\MED_1.paa"];
};
if(FETCH_CONST(life_mediclevel) == 2) then {
player setObjectTextureGlobal [0,"skins\med\uni\MED_2.paa"];
};
if(FETCH_CONST(life_mediclevel) == 3) then {
player setObjectTextureGlobal [0,"skins\med\uni\MED_3.paa"];
};
if(FETCH_CONST(life_mediclevel) == 4) then {
player setObjectTextureGlobal [0,"skins\med\uni\MED_4.paa"];
};
if(FETCH_CONST(life_mediclevel) == 5) then {
player setObjectTextureGlobal [0,"skins\med\uni\MED_5.paa"];
};
if(FETCH_CONST(life_mediclevel) == 6) then {
player setObjectTextureGlobal [0,"skins\med\uni\MED_6.paa"];
};
if(FETCH_CONST(life_mediclevel) == 7) then {
player setObjectTextureGlobal [0,"skins\med\uni\MED_7.paa"];
};
if(FETCH_CONST(life_mediclevel) == then {
player setObjectTextureGlobal [0,"skins\med\uni\MED_8.paa"];
};
if(FETCH_CONST(life_mediclevel) == 9) then {
player setObjectTextureGlobal [0,"skins\med\uni\MED_9.paa"];
};
if(FETCH_CONST(life_mediclevel) == 10) then {
player setObjectTextureGlobal [0,"skins\med\uni\MED_10.paa"];
};
if(FETCH_CONST(life_mediclevel) == 11) then {
player setObjectTextureGlobal [0,"skins\med\uni\MED_11.paa"];
};
if(FETCH_CONST(life_mediclevel) == 12) then {
player setObjectTextureGlobal [0,"skins\med\uni\MED_12.paa"];
};
if(FETCH_CONST(life_mediclevel) == 13) then {
player setObjectTextureGlobal [0,"skins\med\uni\MED_13.paa"];
};
if(FETCH_CONST(life_mediclevel) == 14) then {
player setObjectTextureGlobal [0,"skins\med\uni\MED_14.paa"];
};
};
};
};