Added Vehicle Modification options.#232
Added Vehicle Modification options.#232adhershmnair wants to merge 17 commits intoqbcore-framework:mainfrom
Conversation
Update pt.lua to fix typo
server/server.lua
Outdated
| 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) |
There was a problem hiding this comment.
Removing as it is an unused variable.
| @@ -0,0 +1,1055 @@ | |||
| VehicleMods = {}; | |||
| VehicleMods.enabled = true; | |||
There was a problem hiding this comment.
Disable the Vehicle Moddings Menu.
| @@ -0,0 +1,1055 @@ | |||
| VehicleMods = {}; | |||
| VehicleMods.enabled = true; | |||
| VehicleMods.FuelResource = "LegacyFuel"; | |||
There was a problem hiding this comment.
Switch the FuelResource if something else is used.
| VehicleMods = {}; | ||
| VehicleMods.enabled = true; | ||
| VehicleMods.FuelResource = "LegacyFuel"; | ||
| VehicleMods.colors = { |
There was a problem hiding this comment.
Vehicle color list with index.
| colorindex = 112 | ||
| } | ||
| }; | ||
| VehicleMods.metalcolors = { |
There was a problem hiding this comment.
Mettalic color list.
| colorindex = 120 | ||
| } | ||
| }; | ||
| VehicleMods.mattecolors = { |
There was a problem hiding this comment.
Matte Color list
| colorindex = 154 | ||
| } | ||
| }; | ||
| VehicleMods.tyrecolors = { |
There was a problem hiding this comment.
Tyre Color List
| b = 128 | ||
| } | ||
| }; | ||
| VehicleMods.neoncolors = { |
There was a problem hiding this comment.
Neon Light color List
| description = "Demo Item 4" | ||
| } | ||
| }; | ||
| VehicleMods.vehmods = { |
There was a problem hiding this comment.
Vehicle modification configuration list.
|
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. |
|
love the addons for the veh mod to the admin menu, testing it now currently, so far so good with everything working as normal |
|
i think this admin menu needs to use qb menu instead of menuv |
i do agree Mate maybe get a pr in for it |
Bellck
left a comment
There was a problem hiding this comment.
Love this, would be better in QB-Menu rather than MenuV for an upgrade.
|
Thanks for the suggestions! I agree that moving towards Once Happy to revisit this once qb-menu catches up feature-wise! 👍 |


Vehicle Options Menu - Added "Vehicle Moddings"

Vehicle Moddings Menu

Modifications Menu

Vehicle Color Menu

Fixed

Pending Task
Add Lang in other language files.