Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*---------------------------------------------------------------------------
- Headless Client
- ---------------------------------------------------------------------------*/
- if (!hasInterface && !isDedicated && !isServer) exitWith {
- p2d_headless = true;
- diag_log("Init.sqf: ZombZ Headless Client");
- //Make sure headless is in civillian slot
- [] spawn { waitUntil{ uiSleep 5; ((format["%1", (side player)]) != "UNKNOWN")}; if ((format["%1", (side player)]) != "CIV") then { endMission "END1"; }; };
- //Wait for BIS Functions to load
- waitUntil {!isNil "BIS_fnc_init"};
- //Disable BIS Effects
- BIS_Effects_Burn = {};
- BIS_Effects_AircraftVapour = {};
- BIS_Effects_AirDestructionStage2 = {};
- BIS_Effects_Secondaries = {};
- BIS_Effects_AirDestruction = {};
- /* AI Missions */
- diag_log(format["P2DEBUG: %1 Executing AI: MissionSystem!", (getPlayerUID player)]);
- [] execVM "PATH TO DZMS INIT.SQF";
- }
Advertisement
Add Comment
Please, Sign In to add comment