Advertisement
Guest User

12345667777777777777

a guest
Jul 20th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.59 KB | None | 0 0
  1. /*
  2. File: fn_checkpointLockdown.sqf
  3. Author: Cobra
  4. Made for: www.rlgroleplay.com
  5.  
  6. Description:
  7. Engage checkpoint lockdown!
  8. */
  9. if(playerSide != west) exitWith {
  10. ["You do not know the passcode to sound the alarm.","#d32df0"] spawn RLG_fnc_RLGNotificationSystem;
  11. };
  12. player playMove "AinvPercMstpSnonWnonDnon_Putdown_AmovPercMstpSnonWnonDnon";
  13. sleep 4;
  14. Checkpoint1 setVariable ["checkpoint_alarm", true, true];
  15. ["Checkpoint alarm sounded.","#d32df0"] spawn RLG_fnc_RLGNotificationSystem;
  16. [[1,format["DISPATCH: Checkpoint Zulu alarm has been sounded. ASSISTANCE REQUIRED!",_storename]],"life_fnc_broadcast",west,false] spawn life_fnc_MP;
  17.  
  18. while {Checkpoint1 getVariable "checkpoint_alarm"} do {
  19. [[Checkpoint1, "checkpointalarm",5000],"life_fnc_playSound",true,false] spawn life_fnc_MP;
  20. [[Checkpoint2, "checkpointalarm",5000],"life_fnc_playSound",true,false] spawn life_fnc_MP;
  21. [[Checkpoint3, "checkpointalarm",5000],"life_fnc_playSound",true,false] spawn life_fnc_MP;
  22. [[Checkpoint4, "checkpointalarm",5000],"life_fnc_playSound",true,false] spawn life_fnc_MP;
  23. sleep 20;
  24. [[1,format["DISPATCH: Checkpoint Zulu alarm has been sounded. ASSISTANCE REQUIRED!",_storename]],"life_fnc_broadcast",west,false] spawn life_fnc_MP;
  25. [[Checkpoint1, "AirRaidSirenAlert",5000],"life_fnc_playSound",true,false] spawn life_fnc_MP;
  26. [[Checkpoint2, "AirRaidSirenAlert",5000],"life_fnc_playSound",true,false] spawn life_fnc_MP;
  27. [[Checkpoint3, "AirRaidSirenAlert",5000],"life_fnc_playSound",true,false] spawn life_fnc_MP;
  28. [[Checkpoint4, "AirRaidSirenAlert",5000],"life_fnc_playSound",true,false] spawn life_fnc_MP;
  29. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement