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

@@ -561,7 +561,9 @@ if (isNil "DZE_snapExtraRange") then {
if (isNil "DZE_checkNearbyRadius") then {
DZE_checkNearbyRadius = 30;
};
if (isNil "DZE_RestrictSkins") then {
DZE_RestrictSkins = [];
};
// needed on server
if(isNil "DZE_PlotPole") then {
DZE_PlotPole = [30,45];