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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...