mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Markers - Add setting for system timestamps
This commit is contained in:
parent
a997ae60bf
commit
15372558b2
@ -42,6 +42,11 @@ if (cbChecked _aceTimestamp && {ACE_player call FUNC(canTimestamp)}) then {
|
||||
_time = _time - 12;
|
||||
_periodPostfix = " pm";
|
||||
};
|
||||
} else {
|
||||
if (GVAR(timestampHourFormat) == 0) then {
|
||||
systemTime params ["", "", "", "_hour", "_min", "_sec"];
|
||||
_time = _hour + _min/60 + _sec/3600;
|
||||
};
|
||||
};
|
||||
|
||||
_description ctrlSetText format [
|
||||
|
@ -37,8 +37,8 @@ private _categoryName = format ["ACE %1", localize ELSTRING(map,Module_DisplayNa
|
||||
[LSTRING(TimestampHourFormat), LSTRING(TimestampHourFormatDescription)],
|
||||
[_categoryName, LLSTRING(Module_DisplayName)],
|
||||
[
|
||||
[24, 12],
|
||||
[LSTRING(TimestampHourFormat24), LSTRING(TimestampHourFormat12)],
|
||||
[24, 12, 0],
|
||||
[LSTRING(TimestampHourFormat24), LSTRING(TimestampHourFormat12), "System"],
|
||||
0
|
||||
]
|
||||
] call CBA_fnc_addSetting;
|
||||
|
Loading…
x
Reference in New Issue
Block a user