Click or drag to resize

WorldServiceNativeCreateVehicle Method

[Missing <summary> documentation for "M:SampSharp.Entities.SAMP.WorldServiceNative.CreateVehicle(System.Int32,System.Single,System.Single,System.Single,System.Single,System.Int32,System.Int32,System.Int32,System.Boolean)"]

Namespace:  SampSharp.Entities.SAMP
Assembly:  SampSharp.Entities (in SampSharp.Entities.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.Entities.SAMP.WorldServiceNative.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.Entities.SAMP.WorldServiceNative.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.Entities.SAMP.WorldServiceNative.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.Entities.SAMP.WorldServiceNative.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.Entities.SAMP.WorldServiceNative.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.Entities.SAMP.WorldServiceNative.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.Entities.SAMP.WorldServiceNative.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.Entities.SAMP.WorldServiceNative.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.Entities.SAMP.WorldServiceNative.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