mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-17 09:10:27 +03:00
Fix Adv Trade localized string spacing
This commit is contained in:
@@ -211,7 +211,7 @@ if (isPlayer cursorTarget) then {
|
||||
};
|
||||
if (_unit isKindOf "Man") then {
|
||||
// should only fire if cursor target is man and not vehicle
|
||||
_charID = _unit getVariable ["CharacterID", 0];
|
||||
_charID = _unit getVariable ["CharacterID","0"];
|
||||
_friendlies = player getVariable ["friendlies", []];
|
||||
if !(_charID in _friendlies) then {
|
||||
r_action = true;
|
||||
|
||||
@@ -15,7 +15,7 @@ if ((vehicle player) == player) then {
|
||||
if (DZE_BackpackAntiTheft) then {
|
||||
_friendlies = player getVariable ["friendlies",[]];
|
||||
_rcharID = _cTarget getVariable ["CharacterID","0"];
|
||||
if (!canbuild && {_cTarget isKindOf "Man"} && {alive _cTarget} && {!((typeOf _cTarget) in serverTraders)} && {!(_rcharID in _friendlies)} && {(player distance _cTarget) < 12}) then {
|
||||
if (!canbuild && {_cTarget isKindOf "Man"} && {alive _cTarget} && {isPlayer _cTarget} && {!(_rcharID in _friendlies)} && {(player distance _cTarget) < 12}) then {
|
||||
localize "STR_EPOCH_PLAYER_316" call dayz_rollingMessages;
|
||||
_display closeDisplay 1;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user