SadBoy1981 Posted October 11, 2014 Report Share Posted October 11, 2014 How to dissable change skin if player have backpack. Looks like there is some dupe so i want to dissable backpacks when wear skin. Any idea? Link to comment Share on other sites More sharing options...
0 Gr8 Posted October 11, 2014 Report Share Posted October 11, 2014 i am also looking for this Link to comment Share on other sites More sharing options...
0 deadeye Posted October 11, 2014 Report Share Posted October 11, 2014 There's already a line in the code to not allow changing clothes while wearing a backpack but it has been commented out. Try this: In your custom compiles.sqf, put this line player_wearClothes = compile preprocessFileLineNumbers "custom\player_wearClothes.sqf"; Then create this file in your custom folder and name it player_wearClothes.sqf http://pastebin.com/DnygKich Line 24 is the only one that was changed from the default file. Link to comment Share on other sites More sharing options...
0 SadBoy1981 Posted October 12, 2014 Author Report Share Posted October 12, 2014 There's already a line in the code to not allow changing clothes while wearing a backpack but it has been commented out. Try this: In your custom compiles.sqf, put this line player_wearClothes = compile preprocessFileLineNumbers "custom\player_wearClothes.sqf"; Then create this file in your custom folder and name it player_wearClothes.sqf http://pastebin.com/DnygKich Line 24 is the only one that was changed from the default file. Thanks, this must help! Link to comment Share on other sites More sharing options...
Question
SadBoy1981
How to dissable change skin if player have backpack. Looks like there is some dupe so i want to dissable backpacks when wear skin.
Any idea?
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now