Error in expression <getVariable["clothesTaken",false];
if (_isMan and !_isAlive and !_isZombie and >
Error position: <_isMan and !_isAlive and !_isZombie and >
Error Undefined variable in expression: _isman
File mpmissions\__CUR_MP.chernarus\Fixes\fn_selfActions.sqf, line 957
And this is my fn_selfAction.sqf
//****************************** Take Clothes ************************************************************//
_clothesTaken = cursorTarget getVariable["clothesTaken",false];
if (_isMan and !_isAlive and !_isZombie and !_clothesTaken) then {
if (s_player_clothes < 0) then {
s_player_clothes = player addAction [("<t color='#0096ff'>")+("Take Clothes")+("</t>"), "Scripts\TakeClothes\player_takeClothes.sqf",cursorTarget, -10, false, true, "",""];
};
} else {
player removeAction s_player_clothes;
s_player_clothes = -1;
};
//****************************** End ************************************************************//
Question
freakystyle
Hey i have a Problem. this Take Clothes Script by Zabns spamt my client. Can anyone help me ?
Take Clothes Script.
Mod: DayZ Overpoch
Epoch Version: 1.0.5.1
The Error.
And this is my fn_selfAction.sqf
Can anyone help me for fix that? :)
Link to comment
Share on other sites
14 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 accountSign in
Already have an account? Sign in here.
Sign In Now