[Help/Discussion] Zabns Take Clothes

hello,

Just added this in, and when i scroll wheel on a dead body, the " take clothes " option just flickers & I am unable to select it.

Cheers,
Ryan.
 
When I have seen that before there is something wrong in your fn_self Actions file. Check what you have added there for the right location and syntax errorserrors
 
The script works for me, but there is a slight problem. When I scroll it prompts me with the 'Take Clothes' option, but it is flashing. Like, the option disappears for a second then comes back, and it continues that process. It has a working function, but it's like you'll need to catch the option and click it at the same time in order to take the clothes. Has anyone had this problem?
 
You put something in the wrong section in your selfactions file. Relook at that part.

Its clearing the action each iterations and reapplying it.
 
I probably wasn't clear enough. Inside the file for selfactions you modified, something is in the wrong place. Go back and look at the instructions. If you can't figure out your mistake, paste the contents of your self action file into here.
 
hi,

very nice script, but sometimes we take different clothes as lying in front of us, and we got client RPT errors:
CSS:
Error in expression <"",""];
};
} else {
player removeAction s_player_hookahHit;
s_player_hookahHit =>
  Error position: <s_player_hookahHit;
s_player_hookahHit =>
  Error Undefined variable in expression: s_player_hookahhit
File mpmissions\__CUR_MP.Chernarus\scripts\fn_selfActions.sqf, line 655
Error in expression <live and !_isZombie and !_isAnimal and !_clothesTaken) then {
if (s_player_cloth>
  Error position: <_clothesTaken) then {
if (s_player_cloth>
  Error Undefined variable in expression: _clothestaken
File mpmissions\__CUR_MP.Chernarus\scripts\fn_selfActions.sqf, line 758
Error in expression <;

} else {


if ((isPlayer _unit) && !(_charID in _friendlies)) then {
r_action>
  Error position: <_charID in _friendlies)) then {
r_action>
  Error Undefined variable in expression: _charid
File z\addons\dayz_code\compile\fn_damageActions.sqf, line 178
Error in expression <emPainkiller" in _playerMagazines;


if(_unconscious) then {
r_action = true;
_a>
  Error position: <_unconscious) then {
r_action = true;
_a>
  Error Undefined variable in expression: _unconscious
File z\addons\dayz_code\compile\fn_damageActions.sqf, line 106
Error in expression <live and !_isZombie and !_isAnimal and !_clothesTaken) then {
if (s_player_cloth>
  Error position: <_clothesTaken) then {
if (s_player_cloth>
  Error Undefined variable in expression: _clothestaken
File mpmissions\__CUR_MP.Chernarus\scripts\fn_selfActions.sqf, line 758
Error in expression <live and !_isZombie and !_isAnimal and !_clothesTaken) then {
if (s_player_cloth>
  Error position: <_clothesTaken) then {
if (s_player_cloth>
  Error Undefined variable in expression: _clothestaken
File mpmissions\__CUR_MP.Chernarus\scripts\fn_selfActions.sqf, line 758
Error in expression <live and !_isZombie and !_isAnimal and !_clothesTaken) then {
if (s_player_cloth>
  Error position: <_clothesTaken) then {
if (s_player_cloth>
  Error Undefined variable in expression: _clothestaken
File mpmissions\__CUR_MP.Chernarus\scripts\fn_selfActions.sqf, line 758
Error in expression <live and !_isZombie and !_isAnimal and !_clothesTaken) then {
if (s_player_cloth>
  Error position: <_clothesTaken) then {
if (s_player_cloth>
  Error Undefined variable in expression: _clothestaken
File mpmissions\__CUR_MP.Chernarus\scripts\fn_selfActions.sqf, line 758
Cannot create non-ai vehicle c_grasstall,
Error in expression <live and !_isZombie and !_isAnimal and !_clothesTaken) then {
if (s_player_cloth>
  Error position: <_clothesTaken) then {
if (s_player_cloth>
  Error Undefined variable in expression: _clothestaken
File mpmissions\__CUR_MP.Chernarus\scripts\fn_selfActions.sqf, line 758

any ideas?
 
hi,

very nice script, but sometimes we take different clothes as lying in front of us, and we got client RPT errors:
CSS:
Error in expression <"",""];
};
} else {
player removeAction s_player_hookahHit;
s_player_hookahHit =>
  Error position: <s_player_hookahHit;
s_player_hookahHit =>
  Error Undefined variable in expression: s_player_hookahhit
File mpmissions\__CUR_MP.Chernarus\scripts\fn_selfActions.sqf, line 655
Error in expression <live and !_isZombie and !_isAnimal and !_clothesTaken) then {
if (s_player_cloth>
  Error position: <_clothesTaken) then {
if (s_player_cloth>
  Error Undefined variable in expression: _clothestaken
File mpmissions\__CUR_MP.Chernarus\scripts\fn_selfActions.sqf, line 758
Error in expression <;

} else {


if ((isPlayer _unit) && !(_charID in _friendlies)) then {
r_action>
  Error position: <_charID in _friendlies)) then {
r_action>
  Error Undefined variable in expression: _charid
File z\addons\dayz_code\compile\fn_damageActions.sqf, line 178
Error in expression <emPainkiller" in _playerMagazines;


if(_unconscious) then {
r_action = true;
_a>
  Error position: <_unconscious) then {
r_action = true;
_a>
  Error Undefined variable in expression: _unconscious
File z\addons\dayz_code\compile\fn_damageActions.sqf, line 106
Error in expression <live and !_isZombie and !_isAnimal and !_clothesTaken) then {
if (s_player_cloth>
  Error position: <_clothesTaken) then {
if (s_player_cloth>
  Error Undefined variable in expression: _clothestaken
File mpmissions\__CUR_MP.Chernarus\scripts\fn_selfActions.sqf, line 758
Error in expression <live and !_isZombie and !_isAnimal and !_clothesTaken) then {
if (s_player_cloth>
  Error position: <_clothesTaken) then {
if (s_player_cloth>
  Error Undefined variable in expression: _clothestaken
File mpmissions\__CUR_MP.Chernarus\scripts\fn_selfActions.sqf, line 758
Error in expression <live and !_isZombie and !_isAnimal and !_clothesTaken) then {
if (s_player_cloth>
  Error position: <_clothesTaken) then {
if (s_player_cloth>
  Error Undefined variable in expression: _clothestaken
File mpmissions\__CUR_MP.Chernarus\scripts\fn_selfActions.sqf, line 758
Error in expression <live and !_isZombie and !_isAnimal and !_clothesTaken) then {
if (s_player_cloth>
  Error position: <_clothesTaken) then {
if (s_player_cloth>
  Error Undefined variable in expression: _clothestaken
File mpmissions\__CUR_MP.Chernarus\scripts\fn_selfActions.sqf, line 758
Cannot create non-ai vehicle c_grasstall,
Error in expression <live and !_isZombie and !_isAnimal and !_clothesTaken) then {
if (s_player_cloth>
  Error position: <_clothesTaken) then {
if (s_player_cloth>
  Error Undefined variable in expression: _clothestaken
File mpmissions\__CUR_MP.Chernarus\scripts\fn_selfActions.sqf, line 758

any ideas?

Do you have _clothesTaken = _cursorTarget getVariable["clothesTaken",false]; above the add action chunk in your fn_selfactions?
 
Anyone having issues where changing clothes will wipe all the gear in you're backpack? this happens to me everytime i change clothes..
 
Hey everyone... This script works great, but there are a lot of Ai on my server that have awesome skins that no one can take. It gives the option to take clothes, but when you try it says "The FR_'blah blah specific type' is not supported by this script."

Any idea how to get all clothes supported? I tried to look through all 11 pages here, but i didn't really see anything, just people trying to prevent certain clothes, and that didn't help me, lol.
 
Hey everyone... This script works great, but there are a lot of Ai on my server that have awesome skins that no one can take. It gives the option to take clothes, but when you try it says "The FR_'blah blah specific type' is not supported by this script."

Any idea how to get all clothes supported? I tried to look through all 11 pages here, but i didn't really see anything, just people trying to prevent certain clothes, and that didn't help me, lol.
I made a script somewhere in here that supports all skins, it just changes your clothes automatically if the skin doesn't have a skin parcel. So like sniper skin would give you the sniper skin in inventory and something like FR_GL would change your current skin to FR_GL and attempt to give you the skin you were wearing into your inventory. I don't know if I have the code still but its not too hard to remake it.
 
I went back and looked for your posts specifically and I think I found what you are talking about. I will try it out. Thank you.
 
well now I don't even get the option to take clothes on the scroll wheel.... :/


Edit, ok I got the option back, but nothing happens when I click "Take clothes" Nothing, on any body. All I did was copy and paste your code over the original take clothes script.
 
Last edited:
well now I don't even get the option to take clothes on the scroll wheel.... :/


Edit, ok I got the option back, but nothing happens when I click "Take clothes" Nothing, on any body. All I did was copy and paste your code over the original take clothes script.
I'll try and find the script for it, i did a couple different versions and some didn't work so its kinda a miss or hit on trying to find it in this thread. If not I can always just remake it.
 
Back
Top