openmultiplayer / openmultiplayer/open.mp

ChangeVehiclePaintjob bug

Open
#1,212 0 comments 0 reactions 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
When I set a vehicle's paintjob using the ChangeVehiclePaintjob function, the paintjob remains after the vehicle respawns, while other tuning components and the vehicle color are not preserved.

To Reproduce
Steps to reproduce the behavior:

  1. Change a vehicle's paintjob using ChangeVehiclePaintjob
  2. Respawn the vehicle
  3. The paintjob remains

Expected behavior
After the vehicle respawns, the paintjob should be reset (just like other tuning components and colors).

Screenshots and/or logs
//

Release version
v1.5.8.3079

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 at the ChangeVehiclePaintjob entry point and reproduce the behavior by applying a paintjob, respawning the vehicle, and comparing it with other tuning components and colors. Done means the paintjob is reset after respawn consistently with those other vehicle properties.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
game-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.