Click or drag to resize

PlayerRemoveFromVehicle Method

Removes/ejects this player from his vehicle.

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