Add option to restrict wearable clothes

See #1560

Note: Already wearing check is not needed in player_humanityMorph
because it is already done in player_wearClothes. See:

0726311df5
This commit is contained in:
ebaydayz
2016-02-20 22:08:20 -05:00
parent 9876819da5
commit 0075b44c0e
5 changed files with 18 additions and 5 deletions

View File

@@ -3,8 +3,6 @@ _playerUID = _this select 0;
_charID = _this select 1;
_model = _this select 2;
if (typeOF player == _model) exitWith {cutText ['You already wear this Skin!', 'PLAIN'];};
_old = player;
player allowDamage false;