DarkSilencer

Untitled

Dec 30th, 2015
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. private["_vehicle"];
  2. _vehicle = [_this,0,ObjNull,[ObjNull]] call BIS_fnc_param;
  3.  
  4. if(isNull _vehicle) exitWith {};
  5. if(isNil {_vehicle getVariable "siren2"}) exitWith {};
  6.  
  7. while {true} do
  8. {
  9. if(!(_vehicle getVariable "siren2")) exitWith {};
  10. if(count (crew (_vehicle)) == 0) then {_vehicle setVariable["siren2",false,true]};
  11. if(!alive _vehicle) exitWith {};
  12. if(isNull _vehicle) exitWith {};
  13. _vehicle say3D "Yelp";
  14. sleep 2.0;
  15. if(!(_vehicle getVariable "siren2")) exitWith {};
  16. };
Add Comment
Please, Sign In to add comment