onClientEnteredVehicle
From Liberty Unleashed Wiki
Revision as of 16:41, 20 February 2015 by Grand Team Unleashed (Talk | contribs)
This is called when the local player has successfully entered a vehicle.
Syntax
function onClientEnteredVehicle ( pointer Vehicle, int Seat )
Arguments
- pVehicle - The pointer of the vehicle the player entered
- iSeat - The ID of the passenger seat.
Returns
This event does not handle return values.
Example
function onClientEnteredVehicle ( pVehicle, iSeat) { // Some code }
Notes
The function Message was used in this example. More info about it can be found in the corresponding page.