Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _unit spawn {
- _haveHeadGear = false;
- while {alive _this} do {
- if(headgear _this == "H_CrewHelmetHeli_B" && !_haveHeadGear) then {
- _haveHeadGear = true;
- //cos zrob
- };
- if(headgear _this != "H_CrewHelmetHeli_B" && _haveHeadGear) then {
- _haveHeadGear = false;
- };
- sleep 0.5;
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement