Class Vehicle
Inheritance
System.Object
Vehicle
Inherited Members
AltV.Net.Shared.Elements.Entities.SharedBaseObject.SetMetaData(Dictionary<, >)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: AltV.Net.dll
Syntax
public class Vehicle : Entity, IInternalBaseObject, IVehicle, ISharedVehicle, IEntity, ISharedEntity, IWorldObject, ISharedWorldObject, IBaseObject, ISharedBaseObject, INative
Constructors
|
Improve this Doc
View Source
Vehicle(ICore, IntPtr, UInt32)
Declaration
public Vehicle(ICore core, IntPtr nativePointer, uint id)
Parameters
Type |
Name |
Description |
ICore |
core |
|
System.IntPtr |
nativePointer |
|
System.UInt32 |
id |
|
Properties
|
Improve this Doc
View Source
AccelerationLevel
Declaration
public float AccelerationLevel { get; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
AppearanceData
Declaration
public string AppearanceData { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Attached
Declaration
public IVehicle Attached { get; }
Property Value
|
Improve this Doc
View Source
AttachedTo
Declaration
public IVehicle AttachedTo { get; }
Property Value
|
Improve this Doc
View Source
BoatAnchor
Declaration
public bool BoatAnchor { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
BodyAdditionalHealth
Declaration
public uint BodyAdditionalHealth { get; set; }
Property Value
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
BodyHealth
Declaration
public uint BodyHealth { get; set; }
Property Value
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
BrakeLevel
Declaration
public float BrakeLevel { get; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
CounterMeasureCount
Declaration
public uint CounterMeasureCount { get; set; }
Property Value
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
CustomTires
Declaration
public bool CustomTires { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
DamageData
Declaration
public string DamageData { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
DashboardColor
Declaration
public byte DashboardColor { get; set; }
Property Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
DirtLevel
Declaration
public byte DirtLevel { get; set; }
Property Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
DriftMode
Declaration
public bool DriftMode { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Driver
Declaration
public IPlayer Driver { get; }
Property Value
|
Improve this Doc
View Source
EngineHealth
Declaration
public int EngineHealth { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
EngineOn
Declaration
public bool EngineOn { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
HasArmoredWindows
Declaration
public bool HasArmoredWindows { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
HeadlightColor
Declaration
public byte HeadlightColor { get; set; }
Property Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
HealthData
Declaration
public string HealthData { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public bool HybridExtraActive { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Declaration
public byte HybridExtraState { get; set; }
Property Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
InteriorColor
Declaration
public byte InteriorColor { get; set; }
Property Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
IsDaylightOn
Declaration
public bool IsDaylightOn { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsDestroyed
Declaration
public bool IsDestroyed { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsFlamethrowerActive
Declaration
public bool IsFlamethrowerActive { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsHandbrakeActive
Declaration
public bool IsHandbrakeActive { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsHornActive
Declaration
public bool IsHornActive { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsMissionTrain
Declaration
public bool IsMissionTrain { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsNeonActive
Declaration
public bool IsNeonActive { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsNightlightOn
Declaration
public bool IsNightlightOn { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsPrimaryColorRgb
Declaration
public bool IsPrimaryColorRgb { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsRoofClosed
Declaration
public bool IsRoofClosed { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsSecondaryColorRgb
Declaration
public bool IsSecondaryColorRgb { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsTireSmokeColorCustom
Declaration
public bool IsTireSmokeColorCustom { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsTowingDisabled
Declaration
public bool IsTowingDisabled { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsTrainCaboose
Declaration
public bool IsTrainCaboose { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsTrainEngine
Declaration
public bool IsTrainEngine { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
LightsMultiplier
Declaration
public float LightsMultiplier { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
LightState
Declaration
public byte LightState { get; set; }
Property Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
Livery
Declaration
public byte Livery { get; set; }
Property Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
LockState
Declaration
public VehicleLockState LockState { get; set; }
Property Value
|
Improve this Doc
View Source
ManualEngineControl
Declaration
public bool ManualEngineControl { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Model
Declaration
public override uint Model { get; set; }
Property Value
Type |
Description |
System.UInt32 |
|
Overrides
|
Improve this Doc
View Source
ModKit
Declaration
public byte ModKit { get; set; }
Property Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
ModKitsCount
Declaration
public byte ModKitsCount { get; }
Property Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
NativePointer
Declaration
public override IntPtr NativePointer { get; }
Property Value
Type |
Description |
System.IntPtr |
|
Overrides
|
Improve this Doc
View Source
NeonColor
Declaration
public Rgba NeonColor { get; set; }
Property Value
|
Improve this Doc
View Source
NumberplateIndex
Declaration
public uint NumberplateIndex { get; set; }
Property Value
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
NumberplateText
Declaration
public string NumberplateText { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Passengers
Declaration
public List<PlayerSeat> Passengers { get; }
Property Value
Type |
Description |
System.Collections.Generic.List<PlayerSeat> |
|
|
Improve this Doc
View Source
PearlColor
Declaration
public byte PearlColor { get; set; }
Property Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
PetrolTankHealth
Declaration
public int PetrolTankHealth { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
PrimaryColor
Declaration
public byte PrimaryColor { get; set; }
Property Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
PrimaryColorRgb
Declaration
public Rgba PrimaryColorRgb { get; set; }
Property Value
|
Improve this Doc
View Source
Quaternion
Declaration
public Quaternion Quaternion { get; set; }
Property Value
Type |
Description |
System.Numerics.Quaternion |
|
|
Improve this Doc
View Source
RadioStation
Declaration
public uint RadioStation { get; set; }
Property Value
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
RearWheel
Declaration
public byte RearWheel { get; set; }
Property Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
RepairsCount
Declaration
public byte RepairsCount { get; }
Property Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
RocketRefuelSpeed
Declaration
public float RocketRefuelSpeed { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
RoofLivery
Declaration
public byte RoofLivery { get; set; }
Property Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
ScriptData
Declaration
public string ScriptData { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
ScriptMaxSpeed
Declaration
public float ScriptMaxSpeed { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
SecondaryColor
Declaration
public byte SecondaryColor { get; set; }
Property Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
SecondaryColorRgb
Declaration
public Rgba SecondaryColorRgb { get; set; }
Property Value
|
Improve this Doc
View Source
SirenActive
Declaration
public bool SirenActive { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
SpecialDarkness
Declaration
public byte SpecialDarkness { get; set; }
Property Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
State
Declaration
public string State { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
SteeringAngle
Declaration
public float SteeringAngle { get; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
TimedExplosion
Declaration
public bool TimedExplosion { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
TimedExplosionCulprit
Declaration
public IPlayer TimedExplosionCulprit { get; }
Property Value
|
Improve this Doc
View Source
TimedExplosionTime
Declaration
public uint TimedExplosionTime { get; }
Property Value
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
TireSmokeColor
Declaration
public Rgba TireSmokeColor { get; set; }
Property Value
|
Improve this Doc
View Source
TrainCarriageConfigIndex
Declaration
public sbyte TrainCarriageConfigIndex { get; set; }
Property Value
Type |
Description |
System.SByte |
|
|
Improve this Doc
View Source
TrainConfigIndex
Declaration
public sbyte TrainConfigIndex { get; set; }
Property Value
Type |
Description |
System.SByte |
|
|
Improve this Doc
View Source
TrainCruiseSpeed
Declaration
public float TrainCruiseSpeed { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
TrainDirection
Declaration
public bool TrainDirection { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
TrainDistanceFromEngine
Declaration
public float TrainDistanceFromEngine { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
TrainEngine
Declaration
public IVehicle TrainEngine { get; set; }
Property Value
|
Improve this Doc
View Source
TrainForceDoorsOpen
Declaration
public bool TrainForceDoorsOpen { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
TrainLinkedToBackward
Declaration
public IVehicle TrainLinkedToBackward { get; set; }
Property Value
|
Improve this Doc
View Source
TrainLinkedToForward
Declaration
public IVehicle TrainLinkedToForward { get; set; }
Property Value
|
Improve this Doc
View Source
TrainPassengerCarriages
Declaration
public bool TrainPassengerCarriages { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
TrainRenderDerailed
Declaration
public bool TrainRenderDerailed { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
TrainTrackId
Declaration
public sbyte TrainTrackId { get; set; }
Property Value
Type |
Description |
System.SByte |
|
|
Improve this Doc
View Source
VehicleNativePointer
Declaration
public IntPtr VehicleNativePointer { get; }
Property Value
Type |
Description |
System.IntPtr |
|
|
Improve this Doc
View Source
Velocity
Declaration
public Position Velocity { get; }
Property Value
Type |
Description |
Position |
|
|
Improve this Doc
View Source
WheelColor
Declaration
public byte WheelColor { get; set; }
Property Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
WheelsCount
Declaration
public byte WheelsCount { get; }
Property Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
WheelType
Declaration
public byte WheelType { get; }
Property Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
WheelVariation
Declaration
public byte WheelVariation { get; }
Property Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
WindowTint
Declaration
public byte WindowTint { get; set; }
Property Value
Type |
Description |
System.Byte |
|
Methods
|
Improve this Doc
View Source
DoesWheelHasTire(Byte)
Declaration
public bool DoesWheelHasTire(byte wheelId)
Parameters
Type |
Name |
Description |
System.Byte |
wheelId |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
GetArmoredWindowHealth(Byte)
Declaration
public float GetArmoredWindowHealth(byte windowId)
Parameters
Type |
Name |
Description |
System.Byte |
windowId |
|
Returns
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
GetArmoredWindowShootCount(Byte)
Declaration
public byte GetArmoredWindowShootCount(byte windowId)
Parameters
Type |
Name |
Description |
System.Byte |
windowId |
|
Returns
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
GetBumperDamageLevel(Byte)
Declaration
public byte GetBumperDamageLevel(byte bumperId)
Parameters
Type |
Name |
Description |
System.Byte |
bumperId |
|
Returns
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
GetDoorState(Byte)
Declaration
public byte GetDoorState(byte doorId)
Parameters
Type |
Name |
Description |
System.Byte |
doorId |
|
Returns
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
GetId(IntPtr)
Declaration
public static uint GetId(IntPtr vehiclePointer)
Parameters
Type |
Name |
Description |
System.IntPtr |
vehiclePointer |
|
Returns
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
GetMod(Byte)
Declaration
public byte GetMod(byte category)
Parameters
Type |
Name |
Description |
System.Byte |
category |
|
Returns
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
GetModsCount(Byte)
Declaration
public byte GetModsCount(byte category)
Parameters
Type |
Name |
Description |
System.Byte |
category |
|
Returns
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
GetNeonActive(ref Boolean, ref Boolean, ref Boolean, ref Boolean)
Declaration
public void GetNeonActive(ref bool left, ref bool right, ref bool front, ref bool back)
Parameters
Type |
Name |
Description |
System.Boolean |
left |
|
System.Boolean |
right |
|
System.Boolean |
front |
|
System.Boolean |
back |
|
|
Improve this Doc
View Source
GetPartBulletHoles(Byte)
Declaration
public byte GetPartBulletHoles(byte partId)
Parameters
Type |
Name |
Description |
System.Byte |
partId |
|
Returns
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
GetPartDamageLevel(Byte)
Declaration
public byte GetPartDamageLevel(byte partId)
Parameters
Type |
Name |
Description |
System.Byte |
partId |
|
Returns
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
GetWeaponCapacity(Byte)
Declaration
public int GetWeaponCapacity(byte index)
Parameters
Type |
Name |
Description |
System.Byte |
index |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
GetWheelHealth(Byte)
Declaration
public float GetWheelHealth(byte wheelId)
Parameters
Type |
Name |
Description |
System.Byte |
wheelId |
|
Returns
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
Declaration
public bool IsExtraOn(byte extraId)
Parameters
Type |
Name |
Description |
System.Byte |
extraId |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsLightDamaged(Byte)
Declaration
public bool IsLightDamaged(byte lightId)
Parameters
Type |
Name |
Description |
System.Byte |
lightId |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsSpecialLightDamaged(Byte)
Declaration
public bool IsSpecialLightDamaged(byte specialLightId)
Parameters
Type |
Name |
Description |
System.Byte |
specialLightId |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsWheelBurst(Byte)
Declaration
public bool IsWheelBurst(byte wheelId)
Parameters
Type |
Name |
Description |
System.Byte |
wheelId |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsWheelDetached(Byte)
Declaration
public bool IsWheelDetached(byte wheelId)
Parameters
Type |
Name |
Description |
System.Byte |
wheelId |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsWheelOnFire(Byte)
Declaration
public bool IsWheelOnFire(byte wheelId)
Parameters
Type |
Name |
Description |
System.Byte |
wheelId |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsWindowDamaged(Byte)
Declaration
public bool IsWindowDamaged(byte windowId)
Parameters
Type |
Name |
Description |
System.Byte |
windowId |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsWindowOpened(Byte)
Declaration
public bool IsWindowOpened(byte windowId)
Parameters
Type |
Name |
Description |
System.Byte |
windowId |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Repair()
Declaration
|
Improve this Doc
View Source
SetArmoredWindowHealth(Byte, Single)
Declaration
public void SetArmoredWindowHealth(byte windowId, float health)
Parameters
Type |
Name |
Description |
System.Byte |
windowId |
|
System.Single |
health |
|
|
Improve this Doc
View Source
SetArmoredWindowShootCount(Byte, Byte)
Declaration
public void SetArmoredWindowShootCount(byte windowId, byte count)
Parameters
Type |
Name |
Description |
System.Byte |
windowId |
|
System.Byte |
count |
|
|
Improve this Doc
View Source
SetBadge(String, String, VehicleBadgePosition[])
Declaration
public void SetBadge(string textureDictionary, string texture, VehicleBadgePosition[] vehicleBadgePosition)
Parameters
Type |
Name |
Description |
System.String |
textureDictionary |
|
System.String |
texture |
|
VehicleBadgePosition[] |
vehicleBadgePosition |
|
|
Improve this Doc
View Source
SetBadge(UInt32, UInt32, VehicleBadgePosition[])
Declaration
public void SetBadge(uint textureDictionary, uint texture, VehicleBadgePosition[] vehicleBadgePosition)
Parameters
Type |
Name |
Description |
System.UInt32 |
textureDictionary |
|
System.UInt32 |
texture |
|
VehicleBadgePosition[] |
vehicleBadgePosition |
|
|
Improve this Doc
View Source
SetBumperDamageLevel(Byte, Byte)
Declaration
public void SetBumperDamageLevel(byte bumperId, byte damageLevel)
Parameters
Type |
Name |
Description |
System.Byte |
bumperId |
|
System.Byte |
damageLevel |
|
|
Improve this Doc
View Source
SetCached(IntPtr)
Declaration
public override void SetCached(IntPtr cachedVehicle)
Parameters
Type |
Name |
Description |
System.IntPtr |
cachedVehicle |
|
Overrides
|
Improve this Doc
View Source
SetDoorState(Byte, Byte)
Declaration
public void SetDoorState(byte doorId, byte state)
Parameters
Type |
Name |
Description |
System.Byte |
doorId |
|
System.Byte |
state |
|
|
Improve this Doc
View Source
SetLightDamaged(Byte, Boolean)
Declaration
public void SetLightDamaged(byte lightId, bool isDamaged)
Parameters
Type |
Name |
Description |
System.Byte |
lightId |
|
System.Boolean |
isDamaged |
|
|
Improve this Doc
View Source
SetMod(Byte, Byte)
Declaration
public bool SetMod(byte category, byte id)
Parameters
Type |
Name |
Description |
System.Byte |
category |
|
System.Byte |
id |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
SetNeonActive(Boolean, Boolean, Boolean, Boolean)
Declaration
public void SetNeonActive(bool left, bool right, bool front, bool back)
Parameters
Type |
Name |
Description |
System.Boolean |
left |
|
System.Boolean |
right |
|
System.Boolean |
front |
|
System.Boolean |
back |
|
|
Improve this Doc
View Source
SetPartBulletHoles(Byte, Byte)
Declaration
public void SetPartBulletHoles(byte partId, byte shootsCount)
Parameters
Type |
Name |
Description |
System.Byte |
partId |
|
System.Byte |
shootsCount |
|
|
Improve this Doc
View Source
SetPartDamageLevel(Byte, Byte)
Declaration
public void SetPartDamageLevel(byte partId, byte damage)
Parameters
Type |
Name |
Description |
System.Byte |
partId |
|
System.Byte |
damage |
|
|
Improve this Doc
View Source
SetSearchLight(Boolean, IEntity)
Declaration
public bool SetSearchLight(bool state, IEntity spottedEntity)
Parameters
Type |
Name |
Description |
System.Boolean |
state |
|
IEntity |
spottedEntity |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
SetTimedExplosion(Boolean, IPlayer, UInt32)
Declaration
public void SetTimedExplosion(bool state, IPlayer culprit, uint time)
Parameters
Type |
Name |
Description |
System.Boolean |
state |
|
IPlayer |
culprit |
|
System.UInt32 |
time |
|
|
Improve this Doc
View Source
SetWeaponCapacity(Byte, Int32)
Declaration
public void SetWeaponCapacity(byte index, int capacity)
Parameters
Type |
Name |
Description |
System.Byte |
index |
|
System.Int32 |
capacity |
|
|
Improve this Doc
View Source
SetWheelBurst(Byte, Boolean)
Declaration
public void SetWheelBurst(byte wheelId, bool state)
Parameters
Type |
Name |
Description |
System.Byte |
wheelId |
|
System.Boolean |
state |
|
|
Improve this Doc
View Source
SetWheelDetached(Byte, Boolean)
Declaration
public void SetWheelDetached(byte wheelId, bool state)
Parameters
Type |
Name |
Description |
System.Byte |
wheelId |
|
System.Boolean |
state |
|
|
Improve this Doc
View Source
SetWheelFixed(Byte)
Declaration
public void SetWheelFixed(byte wheelId)
Parameters
Type |
Name |
Description |
System.Byte |
wheelId |
|
|
Improve this Doc
View Source
SetWheelHasTire(Byte, Boolean)
Declaration
public void SetWheelHasTire(byte wheelId, bool state)
Parameters
Type |
Name |
Description |
System.Byte |
wheelId |
|
System.Boolean |
state |
|
|
Improve this Doc
View Source
SetWheelHealth(Byte, Single)
Declaration
public void SetWheelHealth(byte wheelId, float health)
Parameters
Type |
Name |
Description |
System.Byte |
wheelId |
|
System.Single |
health |
|
|
Improve this Doc
View Source
SetWheelOnFire(Byte, Boolean)
Declaration
public void SetWheelOnFire(byte wheelId, bool state)
Parameters
Type |
Name |
Description |
System.Byte |
wheelId |
|
System.Boolean |
state |
|
|
Improve this Doc
View Source
SetWheels(Byte, Byte)
Declaration
public void SetWheels(byte type, byte variation)
Parameters
Type |
Name |
Description |
System.Byte |
type |
|
System.Byte |
variation |
|
|
Improve this Doc
View Source
SetWindowDamaged(Byte, Boolean)
Declaration
public void SetWindowDamaged(byte windowId, bool isDamaged)
Parameters
Type |
Name |
Description |
System.Byte |
windowId |
|
System.Boolean |
isDamaged |
|
|
Improve this Doc
View Source
SetWindowOpened(Byte, Boolean)
Declaration
public void SetWindowOpened(byte windowId, bool state)
Parameters
Type |
Name |
Description |
System.Byte |
windowId |
|
System.Boolean |
state |
|
|
Improve this Doc
View Source
Declaration
public void ToggleExtra(byte extraId, bool state)
Parameters
Type |
Name |
Description |
System.Byte |
extraId |
|
System.Boolean |
state |
|
Explicit Interface Implementations
|
Improve this Doc
View Source
IVehicle.SetSpecialLightDamaged(Byte, Boolean)
Declaration
void IVehicle.SetSpecialLightDamaged(byte specialLightId, bool isDamaged)
Parameters
Type |
Name |
Description |
System.Byte |
specialLightId |
|
System.Boolean |
isDamaged |
|
Implements