Advertisement
Guest User

click_actions init.sqf

a guest
Apr 7th, 2015
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. if(isServer) exitWith {};
  2. private["_build"];
  3. _build = 3;
  4. // don't initialize more than once
  5. if(isNil "DZE_CLICK_ACTIONS_BUILD") then {
  6. diag_log text "CLICK ACTIONS: loading...";
  7. call compile preprocessFileLineNumbers "overwrites\click_actions\config.sqf";
  8. DZE_CLICK_ACTIONS_BUILD = _build;
  9. } else {
  10. if(_build != DZE_CLICK_ACTIONS_BUILD) then {
  11. diag_log text format["CLICK ACTIONS: tried to load build #%1 but #%2 already loaded!",_build,DZE_CLICK_ACTIONS_BUILD];
  12. } else {
  13. diag_log text "CLICK ACTIONS: already loaded (not an error)!";
  14. };
  15. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement