Skip to content

onVehicleExit doesn't trigger if only pulled out of vehicle #476

@ArranTuna

Description

@ArranTuna

Describe the bug
If you're being jacked and the player cancels the jack after throwing you out so you've now exited the vehicle however onVehicleExit doesn't get triggered.

To Reproduce

  • Have 2 clients connected.
  • run addEventHandler("onVehicleExit", root, function() outputChatBox("exited") end)
  • Have 1 client pull the other out of car but then press forwards key before entering the vehicle.
  • Notice lack of "exited".

Expected behaviour
For the event to be triggered.

MTA Client (please complete the following information):
unstated

MTA Server (please complete the following information):
unstated

Additional context
https://bugs.mtasa.com/view.php?id=6494

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions