Tag map markers with player names #1871

closes #1871
This commit is contained in:
ebayShopper
2017-02-11 17:15:49 -05:00
parent c24f70d8be
commit 952beed531
4 changed files with 18 additions and 2 deletions

View File

@@ -0,0 +1,10 @@
private ["_text","_textBox"];
disableSerialization;
_textBox = _this displayCtrl 101;
_text = ctrlText _textBox;
if (alive player) then {
_text = if (_text == "") then {name player} else {format["%1: %2",name player,_text]};
_textBox ctrlSetText _text;
};