Files
esx_core-esx-framework/config.lua
T
ElPumpo 14fbc69357 Major improvements, see desc
- Fixed selling same vehicle multiple times
- Fixed selling <no> vehicle
- Major security improvements
- Removed buying vehicle for society
- Code cleanup
- Fixed depopping vehicle not working (not respecting network owner)
2020-02-08 12:36:18 +01:00

58 lines
1.5 KiB
Lua

Config = {}
Config.DrawDistance = 100
Config.MarkerColor = {r = 120, g = 120, b = 240}
Config.EnablePlayerManagement = false -- enables the actual car dealer job. You'll need esx_addonaccount, esx_billing and esx_society
Config.ResellPercentage = 50
Config.Locale = 'fr'
Config.LicenseEnable = false -- require people to own drivers license when buying vehicles? Only applies if EnablePlayerManagement is disabled. Requires esx_license
-- looks like this: 'LLL NNN'
-- The maximum plate length is 8 chars (including spaces & symbols), don't go past it!
Config.PlateLetters = 3
Config.PlateNumbers = 3
Config.PlateUseSpace = true
Config.Zones = {
ShopEntering = {
Pos = vector3(-33.7, -1102.0, 25.4),
Size = {x = 1.5, y = 1.5, z = 1.0},
Type = 1
},
ShopInside = {
Pos = vector3(-47.5, -1097.2, 25.4),
Size = {x = 1.5, y = 1.5, z = 1.0},
Heading = -20.0,
Type = -1
},
ShopOutside = {
Pos = vector3(-28.6, -1085.6, 25.5),
Size = {x = 1.5, y = 1.5, z = 1.0},
Heading = 330.0,
Type = -1
},
BossActions = {
Pos = vector3(-32.0, -1114.2, 25.4),
Size = {x = 1.5, y = 1.5, z = 1.0},
Type = -1
},
GiveBackVehicle = {
Pos = vector3(-18.2, -1078.5, 25.6),
Size = {x = 3.0, y = 3.0, z = 1.0},
Type = (Config.EnablePlayerManagement and 1 or -1)
},
ResellVehicle = {
Pos = vector3(-44.6, -1080.7, 25.6),
Size = {x = 3.0, y = 3.0, z = 1.0},
Type = 1
}
}