From c4d3f01f38e3cceae57814969b72da266b1dd8a2 Mon Sep 17 00:00:00 2001 From: ebaydayz Date: Wed, 4 May 2016 15:08:19 -0400 Subject: [PATCH] Don't show enter/leave text when changing clothes in trader --- SQF/dayz_code/compile/player_traderCity.sqf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/SQF/dayz_code/compile/player_traderCity.sqf b/SQF/dayz_code/compile/player_traderCity.sqf index 65c3bca6c..09bd29247 100644 --- a/SQF/dayz_code/compile/player_traderCity.sqf +++ b/SQF/dayz_code/compile/player_traderCity.sqf @@ -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 {