Jump to content
  • 0

Take clothes not working with 1.0.2.4


Lanmanfm

Question

I am using Churchie's script and it was working fine with 1.0.2.3. I added it to 1.0.2.4 and it is no longer working.

in the fn_selfactions I added this

//CLOTHES


if (_isMan and !_isAlive and !_isZombie and !_isAnimal) then {
if (s_clothes < 0) then {
s_clothes = player addAction [("" + ("Take Clothes") + ""), "scripts\clothes.sqf",cursorTarget, 1, false, true, "",""];
};
} else {
player removeAction s_clothes;
s_clothes = -1;
};

right below the sleep section, just like I did in 1.0.2.3 and added this

player removeAction s_clothes;


s_clothes = -1;

right below the study body section in the //others section

 

 

any ideas?

 

I copied the compiles and fn_selfactions from the dayz_code.pbo, changed the location of the compiles in my init.sqf, changed the location of the fn_selfactions in the compiles...

 

 

 

 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...