openmultiplayer / openmultiplayer/open.mp

Spectate Bug in Open.mp

Open
#942 0 comments 1 reaction 1 assignee View on GitHub

@AmyrAhmady is already working on this.

Since Jul 27, 2024.

bug nightly
Dominant language
C++
Stars
641
Forks
208
PR merge metrics
No merged PRs in 30d

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:

  1. Spectate a player who is in vehicle ( Driving State )
  2. Destroy the vehicle which the spectated is driving
  3. 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

OMP POV

SAMP POV

Commit hash in master
https://github.com/openmultiplayer/open.mp/actions/runs/10116117829

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.