/* File: fn_pullOutVeh.sqf Author: Bryan "Tonic" Boardwine Description: */ if (isNull objectParent player) exitWith {}; if (player getVariable "restrained") then { detach player; player setVariable ["Escorting",false,true]; player setVariable ["transporting",false,true]; life_disable_getOut = false; player action ["Eject", vehicle player]; titleText[localize "STR_NOTF_PulledOut","PLAIN"]; titleFadeOut 4; life_disable_getIn = true; } else { player action ["Eject", vehicle player]; titleText[localize "STR_NOTF_PulledOut","PLAIN"]; titleFadeOut 4; };