OnVehicleStartExit: Difference between revisions
Jump to navigation
Jump to search
JonChappell (talk | contribs) No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
void onVehicleStartExit ( player player, int seat, player jacker ) | void onVehicleStartExit ( player player, int seat, player jacker ) | ||
</syntaxhighlight> | </syntaxhighlight> | ||
===Canceling=== | |||
If this event is [[Events#Canceling|canceled]], the player will not exit a vehicle. | |||
==Example== | ==Example== |
Revision as of 15:47, 2 December 2006
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