mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-24 09:29:21 +03:00
@@ -27,8 +27,6 @@ class RscDisplayMainMap
|
||||
h = "0.832";
|
||||
colorBackground[] = {0.30,0.30,0.30,0.85};
|
||||
};
|
||||
|
||||
|
||||
class DiaryList: RscIGUIListBox
|
||||
{
|
||||
idc = 1001;
|
||||
@@ -42,4 +40,10 @@ class RscDisplayMainMap
|
||||
h = "0";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class RscDisplayInsertMarker
|
||||
{
|
||||
idd = 54;
|
||||
onUnload = "if (!isNil 'player_markMap') then {(_this select 0) call player_markMap;};";
|
||||
};
|
||||
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;
|
||||
};
|
||||
@@ -130,6 +130,7 @@ if (!isDedicated) then {
|
||||
player_toggleStreamerMode = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_toggleStreamerMode.sqf";
|
||||
player_selectSlot = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\ui_selectSlot.sqf";
|
||||
player_selectWeapon = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_selectWeapon.sqf";
|
||||
player_markMap = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_markMap.sqf";
|
||||
player_gearSet = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_gearSet.sqf";
|
||||
ui_changeDisplay = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\ui_changeDisplay.sqf";
|
||||
ui_gear_sound = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\ui_gear_sound.sqf";
|
||||
|
||||
Reference in New Issue
Block a user