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

Added Vehicle Modification options. #232

Open
wants to merge 17 commits into
base: main
Choose a base branch
from

Conversation

adhershmnair
Copy link
Contributor

@adhershmnair adhershmnair commented Nov 16, 2024

Vehicle Options Menu - Added "Vehicle Moddings"
image

Vehicle Moddings Menu
image

Modifications Menu
image

Vehicle Color Menu
image

Fixed
image

Pending Task

Add Lang in other language files.

@@ -271,7 +271,6 @@ end)
RegisterServerEvent('qb-admin:giveWeapon', function(weapon)
local src = source
if QBCore.Functions.HasPermission(src, 'admin') or IsPlayerAceAllowed(src, 'command') then
local Player = QBCore.Functions.GetPlayer(src)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing as it is an unused variable.

@adhershmnair adhershmnair changed the title Removed unused variable to fix lint issues Added Vehicle Modification options. Nov 17, 2024
@@ -0,0 +1,1055 @@
VehicleMods = {};
VehicleMods.enabled = true;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Disable the Vehicle Moddings Menu.

@@ -0,0 +1,1055 @@
VehicleMods = {};
VehicleMods.enabled = true;
VehicleMods.FuelResource = "LegacyFuel";
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Switch the FuelResource if something else is used.

VehicleMods = {};
VehicleMods.enabled = true;
VehicleMods.FuelResource = "LegacyFuel";
VehicleMods.colors = {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Vehicle color list with index.

colorindex = 112
}
};
VehicleMods.metalcolors = {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mettalic color list.

colorindex = 120
}
};
VehicleMods.mattecolors = {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Matte Color list

colorindex = 154
}
};
VehicleMods.tyrecolors = {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tyre Color List

b = 128
}
};
VehicleMods.neoncolors = {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Neon Light color List

description = "Demo Item 4"
}
};
VehicleMods.vehmods = {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Vehicle modification configuration list.

@Qwerty1Verified
Copy link
Contributor

Hello, I've been looking at this PR over the last few days and gathering feedback. We're currently deciding what to do in regards to the resource so it might take a little longer for me to get back to you.

Thank you for your work on the PR and I hope to get back to you soon.

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.

2 participants