Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
if (!isDedicated) then {
waitUntil {!isNil "dayz_loadScreenMsg"};
dayz_loadScreenMsg = (localize "STR_AUTHENTICATING");
_id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}];
_playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";
if (dayz_antihack == 1) then {
[] execVM "antihack.sqf";
};
};
if (!isDedicated) then {
waitUntil {!isNil "dayz_loadScreenMsg"};
_timeOut = 30;
while { _timeOut > 0 } do {
dayz_loadScreenMsg = format["Please wait %1 seconds before you can join",str(_timeOut)];
_timeOut = _timeOut - 1;
sleep 1;
};
dayz_loadScreenMsg = (localize "STR_AUTHENTICATING");
_id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}];
_playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";
if (dayz_antihack == 1) then {
[] execVM "antihack.sqf";
};
};