Click or drag to resize

VehicleGetParameters Method (VehicleParameterValue, VehicleParameterValue, VehicleParameterValue, VehicleParameterValue, VehicleParameterValue, VehicleParameterValue, VehicleParameterValue)

Gets this vehicle's parameters.

Namespace:  SampSharp.Entities.SAMP
Assembly:  SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public void GetParameters(
	out VehicleParameterValue engine,
	out VehicleParameterValue lights,
	out VehicleParameterValue alarm,
	out VehicleParameterValue doors,
	out VehicleParameterValue bonnet,
	out VehicleParameterValue boot,
	out VehicleParameterValue objective
)

Parameters

engine
Type: SampSharp.Entities.SAMPVehicleParameterValue
Get the engine status. If on the engine is running.
lights
Type: SampSharp.Entities.SAMPVehicleParameterValue
Get the vehicle's lights' state. If on the lights are on.
alarm
Type: SampSharp.Entities.SAMPVehicleParameterValue
Get the vehicle's alarm state. If on the alarm is (or was) sounding.
doors
Type: SampSharp.Entities.SAMPVehicleParameterValue
Get the lock status of the doors. If on the doors are locked.
bonnet
Type: SampSharp.Entities.SAMPVehicleParameterValue
Get the bonnet/hood status. If on it is open.
boot
Type: SampSharp.Entities.SAMPVehicleParameterValue
Get the boot/trunk status. If on it is open.
objective
Type: SampSharp.Entities.SAMPVehicleParameterValue
Get the objective status. If on the objective is on.
See Also