esx_weaponshop
https://github.com/esx-framework/esx_weaponshop
Would it be Los-Santos Without some weapons? No! This resource lets Players spend their hard-earned drug money on buying the important things in life
- revolvers and RPGs! Users can goto their trusty Ammu-Nation to get some Legal fun or get risky and frisky with the illegal black-market dealer 😉

Configuration
Config.DrawDistance
- type:
float
- default:
10.0
- description: The distance in which the marker is visible.
- type:
Config.Size
- type:
table
- default:
{ x = 1.5, y = 1.5, z = 0.5 }
- description: The size of the marker.
- type:
Config.Color
- type:
table
- default:
{ r = 0, g = 128, b = 255 }
- description: The color of the marker.
- type:
Config.Type
- type:
integer
- default:
1
- description: The type of the marker.
- type:
Config.MenuPosition
- type:
string
- default:
right
- description: The position of the menu. Can be
right
orleft
.
- type:
Config.LicenseEnable
- type:
boolean
- default:
false
- description: Enable or disable required license to buy weapons.
- type:
Config.LicensePrice
- type:
integer
- default:
5000
- description: The price of the license.
- type:
Config.Zones
- type:
table
- description: The zones where the weapon shop is located.
- layout:
- type:
Config.Zones = {
ShopName = {
Legal = true, -- Legal or illegal shop
Blip = {
Enabled = true,
Sprite = 110,
Color = 81,
Display = 4,
Scale = 0.7,
ShortRange = true
},
Items = {
{ name = 'WEAPON_PISTOL', price = 500 },
},
Locations = {
vector3(-662.1, -935.3, 20.8),
}
}
}