OnVehicleStartExit: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 10: Line 10:


===Canceling===
===Canceling===
If this event is [[Events#Canceling|canceled]], the player will not exit a vehicle.
If this event is [[Event system #Canceling|canceled]], the player will not exit a vehicle.


==Example==  
==Example==  

Revision as of 22:36, 30 August 2007


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