OnVehicleStartExit

From Multi Theft Auto: Wiki
Revision as of 15:47, 2 December 2006 by Talidan (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