Add Better "DZE_ForceNameTagsInTrader" system

This commit is contained in:
Skaronator
2014-02-23 18:19:53 +01:00
parent 945ad16332
commit e54cce6845
3 changed files with 27 additions and 1 deletions

View File

@@ -188,7 +188,7 @@ if (!isNull _humanityTarget and isPlayer _humanityTarget and alive _humanityTarg
_color = "color='#3333ff'";
};
};
if(_humanityTarget getVariable ["DZE_display_name", false]) then {
if((_humanityTarget getVariable ["DZE_display_name", false]) or (DZE_ForceNameTagsInTrader && isInTraderCity)) then {
_string = format["<t %2 align='center' size='%3'>%1</t>",(name _humanityTarget),_color,_size];
};
};