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

[Feature Request] - Adding compatibility for colors in SetVehicleProperties #1565

Open
l2rhydra opened this issue Jan 1, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@l2rhydra
Copy link

l2rhydra commented Jan 1, 2025

Describe the Feature
Enhance compatibility by allowing color properties to accept RGB color tables, such as [255, 255, 255]. This update ensures seamless integration with modern mechanic scripts that predominantly use RGB color combinations for vehicles. The feature will modify ESX.Game.SetVehicleProperties to support these RGB color tables, aligning it with the current standards of vehicle customization.

Screenshots
Changes to line ~99 and ~107
image

Additional context
Currently, calling the valet service via phone fails when using RGB color tables because ESX.Game.SetVehicleProperties does not support this format. This enhancement will bridge the gap, ensuring compatibility and a smoother user experience for those relying on RGB-based scripts for vehicle management.

Error that currently happens

Screenshot_34

@l2rhydra l2rhydra added the enhancement New feature or request label Jan 1, 2025
@github-project-automation github-project-automation bot moved this to 🆕 To be Discussed in ESX Roadmap Jan 1, 2025
@l2rhydra l2rhydra changed the title [Feature Request] - Adding conpatibility for colors in SetVehicleProperties [Feature Request] - Adding compatibility for colors in SetVehicleProperties Jan 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: 🆕 To be Discussed
Development

No branches or pull requests

3 participants