mtasa-blue
mtasa-blue copied to clipboard
onClientVehicleCollision doesn't trigger when world objects are broken
Describe the bug When you hit and break a default SA object like lantern poles and fences the event doesn't trigger. If it's not broken but just damaged the event triggers with all expected arguments. It's easier to notice with objects that disappear after they're broken, as objects that don't disappear will still collide and trigger the event afterwards.
Example model ids:
1294common lantern pole1412fence
Expected behavior Event should trigger.
Additional context As an extra suggestion, maybe add a bool argument that indicates if the object was broken. The new object events only seem to work for elements and afaik there is no other way to detect it.
From https://bugs.mtasa.com/view.php?id=7470
Any updates on this issue?