Eki

Results 17 comments of Eki

I think the better way to do it is just to give the choice to developers :) You could leave this server-side event system here for compatibility and allow it...

This seems like minor optimization, it would probably most costly to calls natives to check distance with every other player rather than send an event to -1 Statebag could work...

pmms is using [MediaElement](https://github.com/mediaelement/mediaelement/) in the background to play video. This would probably be something to bring to their attention more than something pmms can do for you :)

Why would you delete folders and add back some files, this make the fix actually unreadable for anyone to use ???

That's okay, suppose you just want to help anyone that will need to fix this exploit :) Everyone needs to learn ;)

I also tested these changes on a dev server and it fixes many issues we encountered when using state bags. Before : - A lot of issues with applying vehicle...

I could re-do/change this PR if needed after his commit is merged first, just need to know if something is blocking the merge of #591 🤔

Seems understandable, implementing some sort of trycatch functions could be a solution with error handling being reported through a sentry. I suppose it would need approval from the Cfx team...

Thanks for answering :) Your suggestion is great so I added it to this PR, you're right about also suggesting the old way with an explanation

Here is the related crash dump : [CfxCrashDump_2024_04_16_17_07_38.zip](https://github.com/user-attachments/files/17298920/CfxCrashDump_2024_04_16_17_07_38.zip) This crash was first reported on #lounge-support on the txAdmin discord, it was investigated by gotfried in april [here](https://discord.com/channels/577993482761928734/885648563105837116/1229980892123103383)