OnClientVehicleStartEnter: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
[[Category:Incomplete Event]]
[[Category:Incomplete Event]]
{{Client event}}
__NOTOC__
This event is triggered when a player starts entering a vehicle. Once the entering animation completes, [[onClientVehicleEnter]] is triggered.


__NOTOC__
==Parameters==
This event is blahblah and is used for blahblah.
<syntaxhighlight lang="lua">
player thePlayer, int seat
</syntaxhighlight>
*'''thePlayer:''' the player that just started entering a vehicle.
*'''seat:''' the number of the seat he is going to sit on.


==Syntax==  
==Source==
<syntaxhighlight lang="lua">
The source of this event is the vehicle the player is entering.
void onClientVehicleStartEnter ( player thePlayer, int seat )
</syntaxhighlight>


==Example==  
==Example==  
This example does...
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
--This line does...
 
blabhalbalhb --abababa
--This line does this...
mooo
</syntaxhighlight>
</syntaxhighlight>

Revision as of 16:28, 30 December 2007

This event is triggered when a player starts entering a vehicle. Once the entering animation completes, onClientVehicleEnter is triggered.

Parameters

player thePlayer, int seat
  • thePlayer: the player that just started entering a vehicle.
  • seat: the number of the seat he is going to sit on.

Source

The source of this event is the vehicle the player is entering.

Example