SampSharp
SampSharp
SampSharp.Entities.SAMP
NativeVehicle Class
NativeVehicle Methods
AddVehicleComponent Method
AttachTrailerToVehicle Method
ChangeVehicleColor Method
ChangeVehiclePaintjob Method
DestroyVehicle Method
DetachTrailerFromVehicle Method
GetVehicleComponentInSlot Method
GetVehicleDamageStatus Method
GetVehicleDistanceFromPoint Method
GetVehicleHealth Method
GetVehicleModel Method
GetVehicleParamsCarDoors Method
GetVehicleParamsCarWindows Method
GetVehicleParamsEx Method
GetVehicleParamsSirenState Method
GetVehiclePos Method
GetVehicleRotationQuat Method
GetVehicleTrailer Method
GetVehicleVelocity Method
GetVehicleVirtualWorld Method
GetVehicleZAngle Method
IsTrailerAttachedToVehicle Method
IsValidVehicle Method
IsVehicleStreamedIn Method
LinkVehicleToInterior Method
RemoveVehicleComponent Method
RepairVehicle Method
SetVehicleAngularVelocity Method
SetVehicleHealth Method
SetVehicleNumberPlate Method
SetVehicleParamsCarDoors Method
SetVehicleParamsCarWindows Method
SetVehicleParamsEx Method
SetVehicleParamsForPlayer Method
SetVehiclePos Method
SetVehicleToRespawn Method
SetVehicleVelocity Method
SetVehicleVirtualWorld Method
SetVehicleZAngle Method
UpdateVehicleDamageStatus Method
NativeVehicle Methods
The
NativeVehicle
type exposes the following members.
Methods
Name
Description
AddComponent
T
Adds a component of the specified type
T
to the entity.
(Inherited from
Component
.)
AddComponent
T
(
Object
)
Adds a component of the specified type
T
to the entity with the specified constructor
args
.
(Inherited from
Component
.)
AddVehicleComponent
AttachTrailerToVehicle
ChangeVehicleColor
ChangeVehiclePaintjob
Destroy
Destroys this component.
(Inherited from
Component
.)
DestroyComponents
T
Destroys the components of the specified type
T
attached to the entity.
(Inherited from
Component
.)
DestroyEntity
Destroys the entity.
(Inherited from
Component
.)
DestroyVehicle
DetachTrailerFromVehicle
Equals
(Inherited from
Object
.)
Finalize
(Inherited from
Object
.)
GetComponent
T
Gets a component of the specified type
T
attached to the entity.
(Inherited from
Component
.)
GetComponentInChildren
T
Gets a component of the specified type
T
attached to a child entity of the entity using a depth first search.
(Inherited from
Component
.)
GetComponentInParent
T
Gets a component of the specified type
T
attached to a parent entity of the entity.
(Inherited from
Component
.)
GetComponents
T
Gets all components of the specified type
T
attached to the entity.
(Inherited from
Component
.)
GetComponentsInChildren
T
Gets all components of the specified type
T
attached to a child entity of the entity.
(Inherited from
Component
.)
GetComponentsInParent
T
Gets all components of the specified type
T
attached to a parent entity of the entity.
(Inherited from
Component
.)
GetHashCode
(Inherited from
Object
.)
GetType
(Inherited from
Object
.)
GetVehicleComponentInSlot
GetVehicleDamageStatus
GetVehicleDistanceFromPoint
GetVehicleHealth
GetVehicleModel
GetVehicleParamsCarDoors
GetVehicleParamsCarWindows
GetVehicleParamsEx
GetVehicleParamsSirenState
GetVehiclePos
GetVehicleRotationQuat
GetVehicleTrailer
GetVehicleVelocity
GetVehicleVirtualWorld
GetVehicleZAngle
IsTrailerAttachedToVehicle
IsValidVehicle
IsVehicleStreamedIn
LinkVehicleToInterior
MemberwiseClone
(Inherited from
Object
.)
OnDestroyComponent
This method is invoked before this component is destroyed and removed from its entity.
(Inherited from
Component
.)
OnInitializeComponent
(Inherited from
BaseNativeComponent
.)
RemoveVehicleComponent
RepairVehicle
SetVehicleAngularVelocity
SetVehicleHealth
SetVehicleNumberPlate
SetVehicleParamsCarDoors
SetVehicleParamsCarWindows
SetVehicleParamsEx
SetVehicleParamsForPlayer
SetVehiclePos
SetVehicleToRespawn
SetVehicleVelocity
SetVehicleVirtualWorld
SetVehicleZAngle
ToString
(Inherited from
Object
.)
UpdateVehicleDamageStatus
Top
See Also
Reference
NativeVehicle Class
SampSharp.Entities.SAMP Namespace