Black Ops III

GetVehicleOccupied

Returns the vehicle entity that the player occupies. If player isn't in a vehicle then this causes an error.

Example:

self GetVehicleOccupied()

Returns: entity