Player::getVehicleIsIn

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

Gets the vehicle the specified Ped is/was in depending on bool value.

[False = CurrentVehicle, True = LastVehicle]

Syntax

player.getVehicleIsIn(getLastVehicle);

Required Arguments

  • getLastVehicle: Boolean

Return value

  • Vehicle handle or object

Example

// todo

See also