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-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
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