Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (isServer) then {
- call compile preprocessFileLineNumbers "\z\addons\dayz_server\missions\DayZ_Epoch_13.Tavi\dynamic_vehicle.sqf"; //Compile vehicle configs
- // Add trader citys
- _nil = [] execVM "\z\addons\dayz_server\missions\DayZ_Epoch_13.Tavi\mission.sqf";
- _serverMonitor = [] execVM "\z\addons\dayz_code\system\server_monitor.sqf";
- };
- if (!isDedicated) then {
- [] execVM "compile\Server_WelcomeCredits.sqf";
- //Conduct map operations
- 0 fadeSound 0;
- waitUntil {!isNil "dayz_loadScreenMsg"};
- dayz_loadScreenMsg = (localize "STR_AUTHENTICATING");
- //Run the player monitor
- _id = player addEventHandler ["Respawn", {_id = [] spawn player_death; _nul = [] execVM "playerspawn.sqf";}];
- _playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";
- _nul = [] execVM "playerspawn.sqf";
- //Lights
- //[0,0,true,true,true,58,280,600,[0.698, 0.556, 0.419],"Generator_DZ",0.1] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf";
- };
- #include "\z\addons\dayz_code\system\BIS_Effects\init.sqf"
- waitUntil {!isNil ("PVDZE_plr_LoginRecord")};
- if (dayzPlayerLogin2 select 2) then
- {
- [] execVM "addons\DRNSpawn.sqf";
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement