Click or drag to resize

VehicleGetComponentInSlot Method

Retrieves the installed component ID from this vehicle in a specific slot.

Namespace:  SampSharp.Entities.SAMP
Assembly:  SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public int GetComponentInSlot(
	CarModType slot
)

Parameters

slot
Type: SampSharp.Entities.SAMPCarModType
The component slot to check for components.

Return Value

Type: Int32
The ID of the component installed in the specified slot.
See Also