mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Don't show enter/leave text when changing clothes in trader
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user