From the reference libraryFiveM

enteringVehicle

fivem-docs/docs/resources/baseevents/events/enteringVehicle.md

enteringVehicle


title: enteringVehicle

Name

baseevents:enteringVehicle

Parameters

vehicle targetVehicle, int vehicleSeat, string vehicleDisplayName
  • targetVehicle: The handle of the vehicle the player is trying to get in to.
  • vehicleSeat: The seat number (-1 is drivers seat, 0 = passenger right front, etc.) which the player is trying to get in to.
  • vehicleDisplayName: A string containing the display name of the vehicle the player is trying to get in to.

Examples

TODO


title: enteringVehicle

Name

baseevents:enteringVehicle

Parameters

vehicle targetVehicle, int vehicleSeat, string vehicleDisplayName
  • targetVehicle: The handle of the vehicle the player is trying to get in to.
  • vehicleSeat: The seat number (-1 is drivers seat, 0 = passenger right front, etc.) which the player is trying to get in to.
  • vehicleDisplayName: A string containing the display name of the vehicle the player is trying to get in to.

Examples

TODO

Back to documentation