Click or drag to resize

BaseVehicleGetComponentInSlot Method

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

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

Parameters

slot
Type: SampSharp.GameMode.DefinitionsCarModType
The component slot to check for components.

Return Value

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