removeEject2.sqf 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. _this setVehicleLock "LOCKED";
  2. _this addAction ["<t color='#FFFF00'>GET IN PILOT------------- U10</t>",
  3. {
  4. params["_this","_user"];
  5. _user moveInDriver (vehicle(_this));
  6. },[1],0,false,true];
  7. _this addAction ["<t color='#00FFFF'>GET IN GUNNER------------- U10</t>",
  8. {
  9. params["_this","_user"];
  10. _user moveInTurret [ (vehicle(_this)),[0]];
  11. },[1],0,false,true];
  12. _this addAction ["<t color='#0000FF'>GET IN NAV------------- U10</t>",
  13. {
  14. params["_this","_user"];
  15. _user moveInTurret [ (vehicle(_this)),[1]];
  16. },[1],0,false,true];
  17. _this addAction ["<t color='#FF00FF'>GET OUT OF VIC------------- U11</t>",
  18. {
  19. params["_this","_user"];
  20. moveOut _user ;
  21. },[1],0,false,true,"User12"];
  22. _this addAction ["<t color='#FF0000'>LOCK--------U14</t>",
  23. {
  24. (vehicle (_this select 0)) setVehicleLock "LOCKED";
  25. (vehicle (_this select 0)) vehicleChat "LOCKED";
  26. },[1],0,false,true];
  27. _this addAction ["<t color='#00FF00'>UNLOCK--------U15</t>",
  28. {
  29. (vehicle (_this select 0)) setVehicleLock "UNLOCKED";
  30. (vehicle (_this select 0)) vehicleChat "UNLOCKED";
  31. },[1],0,false,true,"User15"];