zapatahacks

Untitled

Sep 9th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. #include "script_macros.hpp"
  2. /*
  3. File: initPlayerLocal.sqf
  4. Author:
  5.  
  6. Description:
  7. Starts the initialization of the player.
  8. */
  9. if (!hasInterface && !isServer) exitWith {
  10. [] call compile preprocessFileLineNumbers "\life_hc\initHC.sqf";
  11. }; //This is a headless client.
  12.  
  13. #define CONST(var1,var2) var1 = compileFinal (if (var2 isEqualType "") then {var2} else {str(var2)})
  14. #define LIFE_SETTINGS(TYPE,SETTING) TYPE(missionConfigFile >> "Life_Settings" >> SETTING)
  15.  
  16. CONST(BIS_fnc_endMission,BIS_fnc_endMission);
  17. if (LIFE_SETTINGS(getNumber,"spyGlass_toggle") isEqualTo 1) then {[] execVM "SpyGlass\fn_initSpy.sqf";};
  18.  
  19. [] execVM "core\init.sqf";
  20.  
  21. waitUntil {!(isNil "allFunctions")};
  22. [] remoteExec ["TON_fnc_receiveFunctions",clientOwner];
  23. waitUntil {(!(isNil "life_serverFunctionsReady"))}; waitUntil {life_serverFunctionsReady};
Add Comment
Please, Sign In to add comment