SampSharp
SampSharp
SampSharp.Entities.SAMP
VehicleInfoService Class
VehicleInfoService Methods
GetComponentType Method
GetModelInfo Method
VehicleInfoService
GetComponentType Method
Gets the car mod type of the specified
componentId
.
Namespace:
SampSharp.Entities.SAMP
Assembly:
SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
Copy
public
CarModType
GetComponentType
(
int
componentId
)
Parameters
componentId
Type:
System
Int32
The identifier of the component.
Return Value
Type:
CarModType
The car mod type of the component.
Implements
IVehicleInfoService
GetComponentType(Int32)
Exceptions
Exception
Condition
ArgumentOutOfRangeException
Thrown if the specified
componentId
is invalid.
See Also
Reference
VehicleInfoService Class
SampSharp.Entities.SAMP Namespace