Skip to content
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

fix(client/admin): return vehicle model by hash lookup vice native #64

Merged
merged 1 commit into from
Aug 10, 2024

Conversation

solareon
Copy link
Contributor

@solareon solareon commented Aug 9, 2024

Description

GetDisplayNameFromVehicleModel trims output to 11 characters or less. There is not a limitation for how long a vehicle model name can be. This switches the lookup to use the GetVehiclesByHash export from the core to lookup the model. This could alternatively be placed in vehicles.lua on the client side.

Checklist

  • I have personally loaded this code into an updated Qbox project and checked all of its functionality.
  • My pull request fits the contribution guidelines & code conventions.

@KostaZx KostaZx merged commit 689d220 into main Aug 10, 2024
4 checks passed
@solareon solareon deleted the use-vehhashtable branch August 10, 2024 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants