Open
Description
Describe the bug
Spectate is getting disabled automatically while a player is Destroying vehicle in Driving State ( Note: Only in driving state )
To Reproduce
Steps to reproduce the behavior:
- Spectate a player who is in vehicle ( Driving State )
- Destroy the vehicle which the spectated is driving
- The Spectate will get turn off automatically
I have attached a my code for Testing Purpose like Gamemode ( ignore if any minor mistakes )
Expected behavior
The spectate should work like the way it work in SAMP
Screenshots and/or logs
Commit hash in master
https://github.com/openmultiplayer/open.mp/actions/runs/10116117829