mtasa-blue icon indicating copy to clipboard operation
mtasa-blue copied to clipboard

onClientVehicleCollision doesn't trigger when world objects are broken

Open ArranTuna opened this issue 7 years ago • 1 comments

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:

  • 1294 common lantern pole
  • 1412 fence

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

ArranTuna avatar Sep 20 '18 16:09 ArranTuna

Any updates on this issue?

VibingCreator avatar Nov 03 '23 19:11 VibingCreator