Jump to content

Stop players being airlifted in Vehicles


82ndAB_Bravo17

Recommended Posts

If you want to stop players being airlifted whilst in Vehicles then try adding this to the end of epochserver\compile\epoch_server\EPOCH_server_vehicleinit.sqf

 

if (_this isKindOf "air") then {
    _this addEventHandler["RopeAttach", { if (count crew (_this select 2) > 0) then { {moveOut _x} forEach crew (_this select 2)};}];
} else {
    _this addeventhandler["GetIn", { if ( not isNull (ropeAttachedto (_this select 0))) then { {moveOut _x} forEach crew (_this select 0)};}];
};

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...