Advertisement
DarkSilencer

Untitled

Jan 20th, 2016
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. #include "..\script_macros.hpp"
  2. /*
  3. File: fn_initCop.sqf
  4. Author: Bryan "Tonic" Boardwine
  5.  
  6. Description:
  7. Cop Initialization file.
  8. */
  9. private "_end";
  10. player addRating 9999999;
  11. waitUntil {!(isNull (findDisplay 46))};
  12. _end = false;
  13.  
  14. if(life_blacklisted) exitWith {
  15. ["Blacklisted",false,true] call BIS_fnc_endMission;
  16. sleep 30;
  17. };
  18.  
  19. if(!(str(player) in ["cop_1","cop_2","cop_3","cop_4"])) then { */
  20. if((FETCH_CONST(life_coplevel) == 0) && (FETCH_CONST(life_adminlevel) == 0)) then {
  21. ["NotWhitelisted",false,true] call BIS_fnc_endMission;
  22. sleep 35;
  23. };
  24.  
  25.  
  26. player setVariable["rank",(FETCH_CONST(life_coplevel)),true];
  27. [] call life_fnc_spawnMenu;
  28. waitUntil{!isNull (findDisplay 38500)}; //Wait for the spawn selection to be open.
  29. waitUntil{isNull (findDisplay 38500)}; //Wait for the spawn selection to be done.
  30. [] call life_fnc_playerSkins;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement