Click or drag to resize

VehicleSetParameters Method (VehicleParameterValue, VehicleParameterValue, VehicleParameterValue, VehicleParameterValue, VehicleParameterValue, VehicleParameterValue, VehicleParameterValue)

Sets this vehicle's parameters for all players.

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

Parameters

engine
Type: SampSharp.Entities.SAMPVehicleParameterValue
Toggle the engine status on or off.
lights
Type: SampSharp.Entities.SAMPVehicleParameterValue
Toggle the lights on or off.
alarm
Type: SampSharp.Entities.SAMPVehicleParameterValue
Toggle the vehicle alarm on or off.
doors
Type: SampSharp.Entities.SAMPVehicleParameterValue
Toggle the lock status of the doors.
bonnet
Type: SampSharp.Entities.SAMPVehicleParameterValue
Toggle the bonnet to be open or closed.
boot
Type: SampSharp.Entities.SAMPVehicleParameterValue
Toggle the boot to be open or closed.
objective
Type: SampSharp.Entities.SAMPVehicleParameterValue
Toggle the objective status for the vehicle on or off.
See Also