Class Vehicle
Inherited Members
Namespace: GTA
Assembly: ScriptHookVDotNet2.dll
Syntax
public sealed class Vehicle : Entity, IEquatable<Entity>, IHandleable, ISpatial
Constructors
Name | Description |
---|---|
Vehicle(Int32) |
Properties
Name | Description |
---|---|
Acceleration | Gets the acceleration of this Vehicle. |
AlarmActive | |
BodyHealth | Gets or sets this Vehicles body health. |
BrakeLightsOn | |
CanBeVisiblyDamaged | |
CanTiresBurst | |
CanWheelsBreak | |
ClassType | Gets the class of this Vehicle. |
ColorCombination | |
ColorCombinationCount | |
CurrentGear | Gets or sets the current gear this Vehicle is using. |
CurrentRPM | Gets or sets the current RPM of this Vehicle. |
CustomPrimaryColor | |
CustomSecondaryColor | |
DashboardColor | |
DirtLevel | |
DisplayName | Gets the display name of this Vehicle.
|
Driver | |
DropsMoneyOnExplosion | Gets or sets a value indicating whether this Vehicle drops money when destroyed. Only works when the vehicle model is a car, quad bikes or trikes (strictly when the internal vehicle class is CAutomobile or derived class from CAutomobile). |
EngineCanDegrade | |
EngineHealth | Gets or sets this Vehicle engine health. |
EnginePowerMultiplier | |
EngineRunning | |
EngineTorqueMultiplier | |
FriendlyName | |
FuelLevel | Gets or sets this Vehicle fuel level. |
HandbrakeOn | |
HasAlarm | |
HasBombBay | |
HasForks | Gets a value indicating whether this Vehicle has forks. |
HasRoof | |
HasSiren | Gets a value indicating whether this Vehicle has a siren. |
HasTowArm | |
HighBeamsOn | |
HighGear | |
InteriorLightOn | |
IsAxlesStrong | |
IsConvertible | |
IsDamaged | |
IsDriveable | |
IsFrontBumperBrokenOff | |
IsInBurnout() | |
IsOnAllWheels | |
IsPrimaryColorCustom | |
IsRadioEnabled | Turns this Vehicles radio on or off |
IsRearBumperBrokenOff | |
IsSecondaryColorCustom | |
IsSirenSilent | Sets a value indicating whether the siren on this Vehicle plays sounds. |
IsStolen | Gets or sets a value indicating whether this Vehicle was stolen. |
IsStopped | |
IsStoppedAtTrafficLights | |
IsWanted | Gets or sets a value indicating whether this Vehicle is wanted by the police. |
LandingGear | |
LeftHeadLightBroken | |
LeftIndicatorLightOn | |
LightsMultiplier | |
LightsOn | |
Livery | |
LiveryCount | |
LockStatus | |
MaxBraking | Gets the maximum brake power of this Vehicle. |
MaxTraction | Gets the maximum traction of this Vehicle. |
NeedsToBeHotwired | Gets or sets a value indicating whether this Vehicle needs to be hotwired to start. |
NeonLightsColor | |
NumberPlate | |
NumberPlateMounting | |
NumberPlateType | |
Occupants | |
PassengerCount | |
Passengers | |
PassengerSeats | |
PearlescentColor | |
PetrolTankHealth | Gets or sets this Vehicle petrol tank health. |
PreviouslyOwnedByPlayer | Gets or sets a value indicating whether this Vehicle was previously owned by a Player. |
PrimaryColor | |
ProvidesCover | Gets or sets a value indicating whether peds can use this Vehicle for cover. |
RadioStation | Sets this Vehicles radio station. |
RightHeadLightBroken | |
RightIndicatorLightOn | |
RimColor | |
RoofState | |
SearchLightOn | |
SecondaryColor | |
SirenActive | |
Speed | |
Steering | |
SteeringAngle | Gets or sets the steering angle of this Vehicle. |
SteeringScale | Gets or sets the steering scale of this Vehicle. |
TaxiLightOn | |
TireSmokeColor | |
TowedVehicle | |
TowingCraneRaisedAmount | |
TrimColor | |
WheelSpeed | Gets the speed the drive wheels are turning at, This is the value used for the dashboard speedometers(after being converted to mph). |
WheelType | |
WindowTint |