Click or drag to resize

BasePlayerRemoveFromVehicle Method

Removes/ejects this BasePlayer from his vehicle.

Namespace:  SampSharp.GameMode.World
Assembly:  SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntax
C#
public virtual void RemoveFromVehicle()
Remarks
The exiting animation is not synced for other players. This function will not work when used in OnEnterVehicle(EnterVehicleEventArgs), because the player isn't in the vehicle when the callback is called. Use OnStateChanged(StateEventArgs) instead.
See Also