Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "script_macros.hpp"
- waitUntil {!(isNil "allFunctions")};
- [] remoteExec ["TON_fnc_receiveFunctions",clientOwner];
- waitUntil {(!(isNil "life_serverFunctionsReady"))}; waitUntil {life_serverFunctionsReady};
- if (!hasInterface && !isServer) exitWith {
- [] call compile preprocessFileLineNumbers "\life_hc\initHC.sqf";
- }; //This is a headless client.
- #define CONST(var1,var2) var1 = compileFinal (if (var2 isEqualType "") then {var2} else {str(var2)})
- #define LIFE_SETTINGS(TYPE,SETTING) TYPE(missionConfigFile >> "Life_Settings" >> SETTING)
- CONST(BIS_fnc_endMission,BIS_fnc_endMission);
- if (LIFE_SETTINGS(getNumber,"spyGlass_toggle") isEqualTo 1) then {[] execVM "SpyGlass\fn_initSpy.sqf";};
- if (hasInterface) then {
- player addEventHandler ["GetOutMan", {
- life_seatbelt = false;
- [] call life_fnc_hudUpdate; //--Enable if you are putting a hud option to display when your seatbelt is on
- }];
- };
- if (hasInterface) then {
- player addEventHandler ["GetInMan", {
- life_seatbelt = false;
- [] call life_fnc_hudUpdate; //--Enable if you are putting a hud option to display when your seatbelt is on
- }];
- };
- [] execVM "core\init.sqf";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement