You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Personally i think also not only onPlayerWasted should be added, but also when a vehicle is destroyed (onClientElementDestroy) and also onPlayerQuit. I have a lot of functions that need to let's say destroy vehicle when someone quits and event onVehicleExit or onClientVehicleExit won't trigger them but the person who quit was in a vehicle. It's very annoying, and time consuming because i always have to pass vehicle to table where key is player and when he quits i need to check that table and check if isElement and then proceed to destroy it.
Describe the bug
If player died in vehicle (eg. under water or explosion) i think that event
onClientVehicleExit
&onVehicleExit
should be called.To reproduce
Expected behaviour
Trigger onClientVehicleExit and onVehicleExit if player died in vehicle
Screenshots
Version
1.5.9
Additional context
The text was updated successfully, but these errors were encountered: