Click or drag to resize

PlayerObjectAttachTo Method (BaseVehicle, Vector3, Vector3)

Attaches this PlayerObject to the specified vehicle.

Namespace:  SampSharp.GameMode.World
Assembly:  SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntax
C#
public virtual void AttachTo(
	BaseVehicle vehicle,
	Vector3 offset,
	Vector3 rotation
)

Parameters

vehicle
Type: SampSharp.GameMode.WorldBaseVehicle
The vehicle.
offset
Type: SampSharp.GameModeVector3
The offset.
rotation
Type: SampSharp.GameModeVector3
The rotation.
Exceptions
ExceptionCondition
ArgumentNullExceptionvehicle
See Also