Click or drag to resize

IVehicleInfoServiceGetComponentType 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#
CarModType GetComponentType(
	int componentId
)

Parameters

componentId
Type: SystemInt32
The identifier of the component.

Return Value

Type: CarModType
The car mod type of the component.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionThrown if the specified componentId is invalid.
See Also