Advertisement
Guest User

Untitled

a guest
May 22nd, 2015
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. _unit spawn {
  2. _haveHeadGear = false;
  3. while {alive _this} do {
  4. if(headgear _this == "H_CrewHelmetHeli_B" && !_haveHeadGear) then {
  5. _haveHeadGear = true;
  6. //cos zrob
  7. };
  8. if(headgear _this != "H_CrewHelmetHeli_B" && _haveHeadGear) then {
  9. _haveHeadGear = false;
  10. };
  11.  
  12. sleep 0.5;
  13. };
  14. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement