Skip to content

onVehicleDamage doesn't trigger for crashes that knock the player off a bike #383

Open
@ArranTuna

Description

@ArranTuna

Describe the bug
onVehicleDamage doesn't trigger for crashes that knock the player off a bike

To Reproduce
Steps to reproduce the behavior:

  1. Enter this into runcode: srun addEventHandler("onVehicleDamage", getRootElement(), function(loss) outputChatBox(loss) end)
  2. Spawn a bike
  3. Scrape up against a few walls - you'll see it shows the loss every time
  4. Gain up speed and smash into a wall hard enough to fall off - doesn't show the loss

Expected behavior
The event should trigger.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfeedbackFurther information is requested

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions