Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "..\script_macros.hpp"
- /*
- File: fn_initCop.sqf
- Author: Bryan "Tonic" Boardwine
- Description:
- Cop Initialization file.
- */
- waitUntil {!(isNull (findDisplay 46))};
- if (life_blacklisted) exitWith {
- ["Blacklisted",false,true] call BIS_fnc_endMission;
- sleep 30;
- };
- if(!(str(player) in ["cop_99"])) then {
- if((FETCH_CONST(life_coplevel) < 1) && (FETCH_CONST(life_adminlevel) == 0)) then {
- ["NotWhitelisted",false,true] call BIS_fnc_endMission;
- sleep 35;
- };
- };
- player setVariable ["copLevel",(FETCH_CONST(life_coplevel)),true];
- player setVariable ["rank",(FETCH_CONST(life_coplevel)),true];
- player setVariable ["tf_sendingDistanceMultiplicator", 100.0, true];
- ACE_Medical_menu_useMenu = 0;
- ["ColorBLUFOR"] spawn life_fnc_initMarkers;
- [] call life_fnc_spawnMenu;
- [] spawn life_fnc_placeablesInit;
Add Comment
Please, Sign In to add comment