Click or drag to resize

BaseVehicleSetParameters Method (VehicleParameterValue, VehicleParameterValue, VehicleParameterValue, VehicleParameterValue, VehicleParameterValue, VehicleParameterValue, VehicleParameterValue)

Sets this BaseVehicle's parameters for all players.

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

Parameters

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