The-Programmer Forum

Kurby a écrit le dernier message :
#2
Hey

Utilise ton fn_playerSkins.sqf tu pourrais faire un truc du style :
Code:
if(playerSide == west) then {
    switch(true) do {
        case (uniform player == "U_Rangemaster") : { // <= le classe name de ta tenue
            if( (call life_coplevel) == 1) then
            {
                player setObjectTextureGlobal [0,"le lien de la texture "]; exemple = textures\cop\matexture.paa
            };
           
            if( (call life_coplevel) == 2) then
            {
                player setObjectTextureGlobal [0,""];
            };
            if( (call life_coplevel) == 3) then
            {
                player setObjectTextureGlobal [0,""];
            };
        };
        case (uniform player == "U_B_CombatUniform_mcam") : {
            player setObjectTextureGlobal [0,""];
        };
    };
};
 
Dernière édition: