Skip to content
VN_fnc_whitelisted_arsenal_vehicle_eject

VN_fnc_whitelisted_arsenal_vehicle_eject

v1.00Theme: Arsenal, Loadouts & AppearanceGroup: Whitelisted arsenalArguments: globalEffects: globalReturns: Nothing

Gets the vehicle the player has gotten into and checks it against the vehicles for their current rank and ejects the unit if needed. Should be used with the “GetInMan” & “SeatSwitchedMan” event handlers

Syntax

[vehicle] call VN_fnc_whitelisted_arsenal_vehicle_eject

Parameters

ParameterTypeDefaultDescription
vehicle Object— vehicle the player has gotten into

Examples

[sogJeep] call VN_fnc_whitelisted_arsenal_vehicle_eject;

Documented by Ethan Johnson.