Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <macro.h>
- /*
- File: fn_initCop.sqf
- Author: Bryan "Tonic" Boardwine
- Description:
- Cop Initialization file.
- */
- private["_end"];
- player addRating 9999999;
- waitUntil {!(isNull (findDisplay 46))};
- _end = false;
- if(life_blacklisted) exitWith
- {
- ["Blacklisted",false,true] call BIS_fnc_endMission;
- sleep 30;
- };
- [] call life_fnc_spawnMenu;
- waitUntil{!isNull (findDisplay 38500)}; //Wait for the spawn selection to be open.
- waitUntil{isNull (findDisplay 38500)}; //Wait for the spawn selection to be done.
- [] spawn //basic cop
- {
- while {true} do
- {
- waitUntil {uniform player == "U_Rangemaster"};
- player setObjectTextureGlobal [0,"textures\Cadet.jpg"];
- waitUntil {uniform player != "U_Rangemaster"};
- };
- };
- [] spawn //basic cop
- {
- while {true} do
- {
- waitUntil {uniform player == "U_Competitor"};
- player setObjectTextureGlobal [0,"textures\Uniform.jpg"];
- waitUntil {uniform player != "U_Competitor"};
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement