SHARE
TWEET

Untitled

a guest Aug 12th, 2017 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //Written by beta
  2. //Kills a player if they move out of the AO
  3.  
  4.  
  5. while {true} do
  6. {
  7.     if (!([getPos player, "aom"] call CBA_fnc_inArea) && (player distance specPen > 100) && !("camman" == vehicleVarName player)) then
  8.     {
  9.         hint "You have left the Area of Operations. TURN BACK NOW.";
  10.         sleep 20;
  11.         if (!([getPos player, "aom"] call CBA_fnc_inArea) && (player distance specPen > 100) && !("camman" == vehicleVarName player)) then
  12.         {
  13.             hint "Should have paid attention to the briefing and/or watched your map.";
  14.             player say ["retardalert",5];
  15.             sleep 10;
  16.             player setDamage 1;
  17.         };
  18.     };
  19.    
  20.     sleep 5;
  21. };
RAW Paste Data
Top