Change over to new DZE_ForceNameTagsInTrader System

This commit is contained in:
Skaronator
2014-02-23 18:25:41 +01:00
parent e54cce6845
commit 5e27942bd0
17 changed files with 161 additions and 193 deletions

View File

@@ -1,15 +0,0 @@
private ["_traderName","_showText"];
_traderName = _this select 0;
_showText = _this select 1;
if (_showText) then {
cutText [format [localize "STR_EPOCH_TRADER_ENTER", _traderName], "PLAIN DOWN"];
};
if (DZE_ForceNameTagsInTrader) then {
player setVariable["DZE_display_name_tmp", (player getVariable "DZE_display_name")];
player setVariable["DZE_display_name", true, true];
};
canbuild = false;
inTraderCity = _traderName;

View File

@@ -1,14 +0,0 @@
private ["_traderName","_showText"];
_traderName = _this select 0;
_showText = _this select 1;
if (_showText) then {
cutText [format [localize "STR_EPOCH_TRADER_LEAVE", _traderName], "PLAIN DOWN"];
};
if (DZE_ForceNameTagsInTrader) then {
player setVariable["DZE_display_name", (player getVariable "DZE_display_name_old"), true];
};
canbuild = true;
inTraderCity = "Any";