OnVehicleStartExit

From Multi Theft Auto: Wiki
Revision as of 22:36, 30 August 2007 by Jbeta (talk | contribs)
Jump to navigation Jump to search


This event is triggered when a player starts to leave a vehicle. It can be used to cancel the exit and cause the player to remain in the vehicle, if necessary.

Syntax

void onVehicleStartExit ( player player, int seat, player jacker ) 

Canceling

If this event is canceled, the player will not exit a vehicle.

Example

This example does...

--This line does...
blabhalbalhb --abababa
--This line does this...
mooo