openmultiplayer / openmultiplayer/open.mp

PutPlayerInVehicle reset the Camera Position

Open
#768 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug
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:

  1. Be in a Vehicle
  2. Move your Camera to left or right, what ever you want, not default position
  3. 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

  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.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.