Don't show enter/leave text when changing clothes in trader

This commit is contained in:
ebaydayz
2016-05-04 15:08:19 -04:00
parent e6c5930415
commit c4d3f01f38

View File

@@ -4,6 +4,11 @@ _traderName = _this select 0;
_showText = _this select 1;
_enterORleave = _this select 2;
// Do not show cutText when player changes clothes in trader area
if ((dayz_lastClothesChange + 3 > diag_tickTime) or (player distance getMarkerPos "respawn_west" < 15)) then {
_showText = false;
};
switch _enterORleave do {
case "enter": {
if (_showText) then {