Skip to content

getVehicleNameFromModel returns incorrect names for IDs 502 & 503 #4065

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 task done
zjkdev opened this issue Mar 4, 2025 · 2 comments
Open
1 task done

getVehicleNameFromModel returns incorrect names for IDs 502 & 503 #4065

zjkdev opened this issue Mar 4, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@zjkdev
Copy link

zjkdev commented Mar 4, 2025

Describe the bug

getVehicleNameFromModel seem to return incorrect values for vehicle IDs 502 & 503.

  • ID 502 should return "Hotring Racer 2" but returns "Hotring Racer 3" instead
  • ID 503 should return "Hotring Racer 3" but returns "Hotring Racer 2" instead

https://wiki.multitheftauto.com/wiki/Vehicle_IDs

Steps to reproduce

iprint(494, getVehicleNameFromModel(494))
iprint(502, getVehicleNameFromModel(502))
iprint(503, getVehicleNameFromModel(503))

-- Debug
-- INFO: 494  "Hotring Racer"
-- INFO: 502  "Hotring Racer 3"
-- INFO: 503  "Hotring Racer 2"

Version

Client: Multi Theft Auto v1.6-release-23046 (Windows 11, 64-bit)
Server: MTA:SA Server v1.6-release-22951 (Debian 11, 64-bit)

Additional context

No response

Relevant log output

Security Policy

  • I have read and understood the Security Policy and this issue is not security related.
@zjkdev zjkdev added the bug Something isn't working label Mar 4, 2025
@SpeedyFolf
Copy link

Someone else who cares about this 😮 I already made a pull request to fix it, but it still hasn't been merged, maybe it will be when 1.6.1 releases #3797

@botder
Copy link
Member

botder commented Mar 6, 2025

Don't worry, we will merge the backwards-incompatible PRs after 1.6.1 release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants