mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-16 21:22:57 +03:00
Change over to new DZE_ForceNameTagsInTrader System
This commit is contained in:
@@ -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;
|
||||
@@ -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";
|
||||
@@ -127,10 +127,7 @@ if (!isDedicated) then {
|
||||
player_hasTools = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_hasTools.sqf";
|
||||
player_checkItems = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_checkItems.sqf";
|
||||
player_removeItems = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_removeItems.sqf";
|
||||
|
||||
// trader
|
||||
trader_enter = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\trader_enter.sqf";
|
||||
trader_leave = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\trader_leave.sqf";
|
||||
//Trader ["Trader City Name",false,"enter"] - Trader City Name | Show Message | "enter" or "leave"
|
||||
player_traderCity = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_traderCity.sqf";
|
||||
|
||||
// combination of check and remove items
|
||||
|
||||
Reference in New Issue
Block a user