Open
Description
Describe the bug
onVehicleDamage doesn't trigger for crashes that knock the player off a bike
To Reproduce
Steps to reproduce the behavior:
- Enter this into runcode:
srun addEventHandler("onVehicleDamage", getRootElement(), function(loss) outputChatBox(loss) end)
- Spawn a bike
- Scrape up against a few walls - you'll see it shows the loss every time
- 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