-
Notifications
You must be signed in to change notification settings - Fork 249
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
base: main
Are you sure you want to change the base?
Conversation
Update pt.lua to fix typo
server/server.lua
Outdated
@@ -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) |
There was a problem hiding this comment.
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.
@@ -0,0 +1,1055 @@ | |||
VehicleMods = {}; | |||
VehicleMods.enabled = true; |
There was a problem hiding this comment.
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"; |
There was a problem hiding this comment.
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 = { |
There was a problem hiding this comment.
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 = { |
There was a problem hiding this comment.
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 = { |
There was a problem hiding this comment.
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 = { |
There was a problem hiding this comment.
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 = { |
There was a problem hiding this comment.
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 = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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. |
Vehicle Options Menu - Added "Vehicle Moddings"
Vehicle Moddings Menu
Modifications Menu
Vehicle Color Menu
Fixed
Pending Task
Add Lang in other language files.