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

New event: getAllEventHandler

Open TracerDS opened this issue 2 years ago • 0 comments

Is your feature request related to a problem? Please describe.

This function would return all event handlers for bounded element without restricting it to current resource. Essentially, this function would return a list of all attached event handlers from every single resource and pack it into a list.

Why? Current possibilities are very limited; for my purpose you cannot cancel an event from other resource (cancel it completely - remove all event handlers)

Describe the solution you'd like

Creating an independent map of functions with attached elements might be the perfect solution here. From that every resource could get their exported functions and store it in itself.

Describe alternatives you've considered

No response

Additional context

No response

Security Policy

  • [X] I have read and understood the Security Policy and this issue is not about a cheat or security vulnerability.

TracerDS avatar Jan 30 '24 14:01 TracerDS