mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
Some compiles, start separation of blood system
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
private ["_hrStr","_minStr","_curDate","_hr","_min","_strTime"];
|
||||
private["_hrStr","_minStr","_strTime"];
|
||||
|
||||
_curDate = date;
|
||||
_hr = _curDate select 3;
|
||||
_min = _curDate select 4;
|
||||
@@ -10,4 +11,4 @@ if (_hr == 0) then {_hrStr = "00"};
|
||||
if (_min < 10) then {_minStr = format["0%1",_min]} else {_minStr = format["%1",_min]};
|
||||
if (_min == 0) then {_minStr = "00"};
|
||||
_strTime = format["%1%2 hrs",_hrStr,_minStr];
|
||||
_strTime;
|
||||
_strTime
|
||||
Reference in New Issue
Block a user