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-local+709673996c0cc3c0733358a87691d1009326afa7
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