[This is preliminary documentation and is subject to change.]
Assembly: RagePluginHook (in RagePluginHook.dll) Version: 0.0.0.0 (0.56.1131.11510)
public bool IsInVehicle( Vehicle vehicle, bool atGetIn )
Public Function IsInVehicle ( vehicle As Vehicle, atGetIn As Boolean ) As Boolean
public: bool IsInVehicle( Vehicle^ vehicle, bool atGetIn )
- Type: RageVehicle
The Vehicle to check if this instance is inside.
- Type: SystemBoolean
If true this method returns true if the ped is currently getting into the vehicle (that is, the ped has opened the door, and is about to get in); if false the method doesn't return true until the ped is sitting in the seat.
Return ValueType: Boolean
If this instance is currently in the specified Vehicle, returns true; otherwise, returns false.