Price
UnknownA script by TebIT
Price
Unknown
This resource aims to satisfy most of the personal vehicle garage requirements for your server.
All of the config vars found below are stored within the config.lua file.
config = {
-- This is only used for online mechanic duty count.
mechanicJobs = {
"mechanic",
},
-- How many mechanics must be online before the "fix vehicle" option in NUI garages is no longer available?
mechanicsToRepair = 3,
-- Price to repair a vehicle from NUI showroom if no mechanics online.
repairPrice = 500,
-- Price to retrieve vehicle from impound.
impoundFine = 750,
-- Price to deliver vehicle from another garage to the current garage.
deliveryPrice = 1000,
-- Should vehicles that are lost in the world be restored to impound on restart?
restoreLostVehicles = true,
}
For type-specific config options, check out the documentation.
A working example can be found in the garages.lua file.
All labels and translations can be found within the labels.lua file.
labels = {
db_vehicle_not_found = "Error attempting to find vehicle in database.",
db_props_model_err = "The vehicle model does not match the database model.",
}
Check out the wiki for an update-to-date list of dependencies, conflicting resources, examples, and proper export documentation. You can otherwise contact me via DM for further instruction.
| Code is accessible | No |
| Subscription-based | No |
| Lines (approximately) | 3000 |
| Requirements | ti_utils |
| ti_persistentVehicles | |
| ti_vehicleKeys | |
| Support | Yes |
See what others are saying about this script.
Share your experience and help others.