openmultiplayer / openmultiplayer/open.mp
PutPlayerInVehicle reset the Camera Position
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 641
- Forks
- 208
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
Use PutPlayerInVehicle function when a Player is already in a vehicle. e.g change Virtual World and it resets the Camera position, can be really hard for Players in a Minigame with different Virtual World at Vehicle change...
To Reproduce
Steps to reproduce the behavior:
- Be in a Vehicle
- Move your Camera to left or right, what ever you want, not default position
- Use again PutPlayerInVehicle and the Camera gets reseted to default position
Expected behavior
Camera should not move to default position as in SA:MP 0.3.7
Release version
OMP Build RC1, RC2, 1.1.0.2612
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the PutPlayerInVehicle entry point and the vehicle-player camera handling it invokes. Reproduce the issue by moving the camera, calling PutPlayerInVehicle again, and changing the player's virtual world; done means the camera retains its position instead of returning to the default, matching SA:MP 0.3.7 behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100