if (!local player) exitWith {}; waitUntil {vehicle player == player}; player addAction ["whatever", "script.sqf"];