mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-18 01:30:26 +03:00
10
SQF/dayz_code/compile/player_markMap.sqf
Normal file
10
SQF/dayz_code/compile/player_markMap.sqf
Normal 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;
|
||||
};
|
||||
Reference in New Issue
Block a user