Advertisement
friquentin

Untitled

Dec 8th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. #include "..\script_macros.hpp"
  2. /*
  3. File: fn_initMedic.sqf
  4. Author: Bryan "Tonic" Boardwine
  5.  
  6. Description:
  7. Initializes the medic..
  8. */
  9. player addRating 99999999;
  10. waitUntil {!(isNull (findDisplay 46))};
  11.  
  12. if ((FETCH_CONST(life_medicLevel)) < 1 && (FETCH_CONST(life_adminlevel) isEqualTo 0)) exitWith {
  13. ["Notwhitelisted",false,true] call BIS_fnc_endMission;
  14. sleep 35;
  15. };
  16.  
  17.  
  18. ACE_Medical_menu_useMenu = 1;
  19. ["ColorIndependent"] spawn life_fnc_initMarkers;
  20. player setVariable ["medicRank",(FETCH_CONST(life_mediclevel)),true];
  21. player setVariable ["tf_sendingDistanceMultiplicator", 100.0, true];
  22.  
  23. [] call life_fnc_spawnMenu;
  24. [] spawn life_fnc_placeablesInit;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement