Jump to content
Sign in to follow this  
[IL] KingCrazyHunter

[TUTORIAL] Invisible Backpack for 4.4 EASY (working)

Recommended Posts

Difficulty: EASY PEASY

First, go into your core > functions and find fn_playerSkins.sqf open it up 

Scroll down to where it says

case west: {

in the brackets paste this

if ((backpack player) == "Change to classname you want") then {
			    (unitbackpack player) setObjectTextureGlobal [0,""];
			};

To find backpack classnames go to https://ironsideint.com/arma-3-backpacks/

for example it should look like this

    case west: {
        if (uniform player isEqualTo "U_Rangemaster") then {
            _skinName = "textures\cop_uniform.jpg";
            if (LIFE_SETTINGS(getNumber,"cop_extendedSkins") isEqualTo 1) then {
                if (FETCH_CONST(life_coplevel) >= 1) then {
                    _skinName = ["textures\cop_uniform_",(FETCH_CONST(life_coplevel)),".jpg"] joinString "";
                };
            };
            player setObjectTextureGlobal [0, _skinName];
        };
	if ((backpack player) == "B_Carryall_cbr") then {
		   (unitbackpack player) setObjectTextureGlobal [0,""];
	};
    };

or how I have it on my server

    case west: {
			if(uniform player == "U_Rangemaster") then {
				player setObjectTextureGlobal [0, "textures\cop_uniform.jpg"];
			};
			if ((FETCH_CONST(life_coplevel) >= 1) && ((uniform player) == "U_Rangemaster")) then {
				player setObjectTextureGlobal [0, "textures\cop_uniform_1.jpg"];
			};
			if ((FETCH_CONST(life_coplevel) >= 2) && ((uniform player) == "U_Rangemaster")) then {
				player setObjectTextureGlobal [0, "textures\cop_uniform_2.jpg"];
			};
			if ((FETCH_CONST(life_coplevel) >= 3) && ((uniform player) == "U_Rangemaster")) then {
				player setObjectTextureGlobal [0, "textures\cop_uniform_3.jpg"];
			};
			if ((FETCH_CONST(life_coplevel) >= 4) && ((uniform player) == "U_Rangemaster")) then {
				player setObjectTextureGlobal [0, "textures\cop_uniform_4.jpg"];
			};
			if ((FETCH_CONST(life_coplevel) >= 5) && ((uniform player) == "U_Rangemaster")) then {
				player setObjectTextureGlobal [0, "textures\cop_uniform_5.jpg"];
			};
			if ((FETCH_CONST(life_coplevel) >= 6) && ((uniform player) == "U_Rangemaster")) then {
				player setObjectTextureGlobal [0, "textures\cop_uniform_6.jpg"];
			};
			if ((FETCH_CONST(life_coplevel) >= 7) && ((uniform player) == "U_Rangemaster")) then {
				player setObjectTextureGlobal [0, "textures\cop_uniform_7.jpg"];
			};
			if ((FETCH_CONST(life_coplevel) >= 8) && ((uniform player) == "U_Rangemaster")) then {
				player setObjectTextureGlobal [0, "textures\cop_uniform_8.jpg"];
			};
			if ((FETCH_CONST(life_coplevel) >= 9) && ((uniform player) == "U_Rangemaster")) then {
				player setObjectTextureGlobal [0, "textures\cop_uniform_9.jpg"];
			};
			if ((backpack player) == "B_Carryall_cbr") then {
			    (unitbackpack player) setObjectTextureGlobal [0,""];
			};
	};

 

Edited by [IL] KingCrazyHunter
  • Like 2

Share this post


Link to post
Share on other sites
15 hours ago, [IL] KingCrazyHunter said:

Difficulty: EASY PEASY

First, go into your core > functions and find fn_playerSkins.sqf open it up 

Scroll down to where it says

case west: {

in the brackets paste this

if ((backpack player) == "Change to classname you want") then {
			    (unitbackpack player) setObjectTextureGlobal [0,""];
			};

To find backpack classnames go to https://ironsideint.com/arma-3-backpacks/

for example it should look like this

    case west: {
        if (uniform player isEqualTo "U_Rangemaster") then {
            _skinName = "textures\cop_uniform.jpg";
            if (LIFE_SETTINGS(getNumber,"cop_extendedSkins") isEqualTo 1) then {
                if (FETCH_CONST(life_coplevel) >= 1) then {
                    _skinName = ["textures\cop_uniform_",(FETCH_CONST(life_coplevel)),".jpg"] joinString "";
                };
            };
            player setObjectTextureGlobal [0, _skinName];
        };
	if ((backpack player) == "B_Carryall_cbr") then {
		   (unitbackpack player) setObjectTextureGlobal [0,""];
	};
    };

or how I have it on my server

    case west: {
			if(uniform player == "U_Rangemaster") then {
				player setObjectTextureGlobal [0, "textures\cop_uniform.jpg"];
			};
			if ((FETCH_CONST(life_coplevel) >= 1) && ((uniform player) == "U_Rangemaster")) then {
				player setObjectTextureGlobal [0, "textures\cop_uniform_1.jpg"];
			};
			if ((FETCH_CONST(life_coplevel) >= 2) && ((uniform player) == "U_Rangemaster")) then {
				player setObjectTextureGlobal [0, "textures\cop_uniform_2.jpg"];
			};
			if ((FETCH_CONST(life_coplevel) >= 3) && ((uniform player) == "U_Rangemaster")) then {
				player setObjectTextureGlobal [0, "textures\cop_uniform_3.jpg"];
			};
			if ((FETCH_CONST(life_coplevel) >= 4) && ((uniform player) == "U_Rangemaster")) then {
				player setObjectTextureGlobal [0, "textures\cop_uniform_4.jpg"];
			};
			if ((FETCH_CONST(life_coplevel) >= 5) && ((uniform player) == "U_Rangemaster")) then {
				player setObjectTextureGlobal [0, "textures\cop_uniform_5.jpg"];
			};
			if ((FETCH_CONST(life_coplevel) >= 6) && ((uniform player) == "U_Rangemaster")) then {
				player setObjectTextureGlobal [0, "textures\cop_uniform_6.jpg"];
			};
			if ((FETCH_CONST(life_coplevel) >= 7) && ((uniform player) == "U_Rangemaster")) then {
				player setObjectTextureGlobal [0, "textures\cop_uniform_7.jpg"];
			};
			if ((FETCH_CONST(life_coplevel) >= 8) && ((uniform player) == "U_Rangemaster")) then {
				player setObjectTextureGlobal [0, "textures\cop_uniform_8.jpg"];
			};
			if ((FETCH_CONST(life_coplevel) >= 9) && ((uniform player) == "U_Rangemaster")) then {
				player setObjectTextureGlobal [0, "textures\cop_uniform_9.jpg"];
			};
			if ((backpack player) == "B_Carryall_cbr") then {
			    (unitbackpack player) setObjectTextureGlobal [0,""];
			};
	};

 

you can allso use this code

		if(backpack player != "") then {
			unitBackpack player setObjectTextureGlobal [0, ""];
			[unitBackpack player,0,""] remoteExec ["life_fnc_setTexture",RCLIENT];
		};

insted of

if ((backpack player) == "Change to classname you want") then {
			    (unitbackpack player) setObjectTextureGlobal [0,""];
			};

this way what ever backpack they use it would hide it

Edited by MrDeano
  • Like 1

Share this post


Link to post
Share on other sites
17 hours ago, MrDeano said:

you can allso use this code

		if(backpack player != "") then {
			unitBackpack player setObjectTextureGlobal [0, ""];
			[unitBackpack player,0,""] remoteExec ["life_fnc_setTexture",RCLIENT];
		};

insted of

if ((backpack player) == "Change to classname you want") then {
			    (unitbackpack player) setObjectTextureGlobal [0,""];
			};

this way what ever backpack they use it would hide it

thank you ill add it to my post

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.