Advertisement
Guest User

Untitled

a guest
Jul 16th, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. _veh setVariable ["compressorOn", false, true];
  2.  
  3. _compressorOnAction = _veh addAction ["Включить компрессор", '(_this select 0) setVariable ["compressorOn", true, true]; hint "Компрессор включен";', "", 0, false, false, "", '((driver _target) isEqualTo player) && !(_target getVariable ["compressorOn", false])'];
  4. _compressorOffAction = _veh addAction ["Выключить компрессор", '(_this select 0) setVariable ["compressorOn", false, true]; hint "Компрессор выключен";', "", 0, false, false, "", '((driver _target) isEqualTo player) && (_target getVariable ["compressorOn", false])'];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement