esx_vehicleshop
https://github.com/esx-framework/esx_vehicleshop
ESX Vehicle Shop adds an vehicle shop to the game, where employeed players can sell vehicles to other players. You can also disable the job part so any player can buy vehicles with a menu based interaction.

Configuration
Config.DrawDistance
- type:
integer
- default:
10
- description: The distance in which the marker is drawn.
- type:
Config.MarkerColor
- type:
table
- default:
{r = 120, g = 120, b = 240}
- description: The color of the marker.
- type:
Config.EnablePlayerManagement
- type:
boolean
- default:
false
- description: Enable or disable car dealer job.
- type:
Config.LicenseEnable
- type:
boolean
- default:
true
- description: Enable or disable requiring a license to buy vehicles.
- type:
Config.PlateLetters
- type:
integer
- default:
3
- description: The amount of letters in the license plate. (total plate is 8 characters)
- type:
Config.PlateNumbers
- type:
integer
- default:
3
- description: The amount of numbers in the license plate. (total plate is 8 characters)
- type:
Config.PlateUseSpace
- type:
boolean
- default:
true
- description: Use space in the license plate. (note: count as a character)
- type:
Config.Blip
- type:
table
- description: Blip settings.
Config.Blip.show
- type:
boolean
- default:
true
- description: Blip sprite.
- type:
Config.Blip.Sprite
- type:
integer
- default:
326
- description: Blip sprite.
- type:
Config.Blip.Display
- type:
integer
- default:
4
- description: Blip Display.
- type:
Config.Blip.Scale
- type:
float
- default:
0.8
- description: Blip scale.
- type:
- type:
Config.Zones
- type:
table
- description: List of zones.
- layout:
- type:
Config.Zones = {
zoneName = {
Pos = vector3(x, y, z),
Size = {x = 1.5, y = 1.5, z = 1.0},
Type = 1, -- (1 = show marker, -1 = hide marker)
}
}