Click or drag to resize

BaseVehicleFactoryBaseVehicleFactoryInternalCreateVehicle Method

[Missing <summary> documentation for "M:SampSharp.GameMode.Factories.BaseVehicleFactory.BaseVehicleFactoryInternal.CreateVehicle(System.Int32,System.Single,System.Single,System.Single,System.Single,System.Int32,System.Int32,System.Int32,System.Boolean)"]

Namespace:  SampSharp.GameMode.Factories
Assembly:  SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public virtual int CreateVehicle(
	int vehicletype,
	float x,
	float y,
	float z,
	float rotation,
	int color1,
	int color2,
	int respawnDelay,
	bool addsiren = false
)

Parameters

vehicletype
Type: SystemInt32

[Missing <param name="vehicletype"/> documentation for "M:SampSharp.GameMode.Factories.BaseVehicleFactory.BaseVehicleFactoryInternal.CreateVehicle(System.Int32,System.Single,System.Single,System.Single,System.Single,System.Int32,System.Int32,System.Int32,System.Boolean)"]

x
Type: SystemSingle

[Missing <param name="x"/> documentation for "M:SampSharp.GameMode.Factories.BaseVehicleFactory.BaseVehicleFactoryInternal.CreateVehicle(System.Int32,System.Single,System.Single,System.Single,System.Single,System.Int32,System.Int32,System.Int32,System.Boolean)"]

y
Type: SystemSingle

[Missing <param name="y"/> documentation for "M:SampSharp.GameMode.Factories.BaseVehicleFactory.BaseVehicleFactoryInternal.CreateVehicle(System.Int32,System.Single,System.Single,System.Single,System.Single,System.Int32,System.Int32,System.Int32,System.Boolean)"]

z
Type: SystemSingle

[Missing <param name="z"/> documentation for "M:SampSharp.GameMode.Factories.BaseVehicleFactory.BaseVehicleFactoryInternal.CreateVehicle(System.Int32,System.Single,System.Single,System.Single,System.Single,System.Int32,System.Int32,System.Int32,System.Boolean)"]

rotation
Type: SystemSingle

[Missing <param name="rotation"/> documentation for "M:SampSharp.GameMode.Factories.BaseVehicleFactory.BaseVehicleFactoryInternal.CreateVehicle(System.Int32,System.Single,System.Single,System.Single,System.Single,System.Int32,System.Int32,System.Int32,System.Boolean)"]

color1
Type: SystemInt32

[Missing <param name="color1"/> documentation for "M:SampSharp.GameMode.Factories.BaseVehicleFactory.BaseVehicleFactoryInternal.CreateVehicle(System.Int32,System.Single,System.Single,System.Single,System.Single,System.Int32,System.Int32,System.Int32,System.Boolean)"]

color2
Type: SystemInt32

[Missing <param name="color2"/> documentation for "M:SampSharp.GameMode.Factories.BaseVehicleFactory.BaseVehicleFactoryInternal.CreateVehicle(System.Int32,System.Single,System.Single,System.Single,System.Single,System.Int32,System.Int32,System.Int32,System.Boolean)"]

respawnDelay
Type: SystemInt32

[Missing <param name="respawnDelay"/> documentation for "M:SampSharp.GameMode.Factories.BaseVehicleFactory.BaseVehicleFactoryInternal.CreateVehicle(System.Int32,System.Single,System.Single,System.Single,System.Single,System.Int32,System.Int32,System.Int32,System.Boolean)"]

addsiren (Optional)
Type: SystemBoolean

[Missing <param name="addsiren"/> documentation for "M:SampSharp.GameMode.Factories.BaseVehicleFactory.BaseVehicleFactoryInternal.CreateVehicle(System.Int32,System.Single,System.Single,System.Single,System.Single,System.Int32,System.Int32,System.Int32,System.Boolean)"]

Return Value

Type: Int32
See Also