[ESX] Modern WeaponShop with weapon preview
Weapon shop with preview of each weapon and rotation of them. You can add several weapons or modify them within the shopping cart, where it lets you select several for each category. It has a modern design developed in React.
Config File
Config = {
Translations = {
['marker'] = 'Press ~y~E~w~ to enter on ~y~WeaponShop',
['items_selected'] = 'Items selected',
['cart_price'] = 'Total price',
['buy'] = 'Buy',
['no_money'] = 'Not enought money to buy: ~y~',
['already_has'] = 'Can\'t buy it because you already have one: ~y~',
['blip'] = 'WeaponShop'
},
Cam = {
weapon = vector3(12.3, -1110.70, 29.6),
player = vector3(12.52, -1110.16, 29.8)
},
Locations = {
vector3(-662.1, -935.3, 21.8),
vector3(810.2, -2157.3, 29.6),
vector3(1693.4, 3759.5, 34.7),
vector3(-330.2, 6083.8, 31.4),
vector3(252.3, -50.0, 69.9),
vector3(22.0, -1107.2, 29.8),
vector3(2567.6, 294.3, 108.7),
vector3(-1117.5, 2698.6, 18.5),
vector3(842.4, -1033.4, 28.1),
vector3(-1306.2, -394.0, 36.6)
},
-- Objects: https://forge.plebmasters.de/
Categories = {
{ label = 'Melee', weapons = {
{
label = "Knife",
value = "weapon_knife",
obj = "w_me_knife_01",
price = 50,
},
{
label = "Bat",
value = "weapon_bat",
obj = 'w_me_bat',
price = 50,
},
{
label = "Knuckle",
value = "weapon_knuckle",
obj = 'w_me_knuckle',
price = 50,
},
{
label = "Machete",
value = "weapon_machete",
obj = 'prop_ld_w_me_machette',
price = 50,
},
{
label = "Switchblade",
value = "weapon_switchblade",
obj = 'w_me_switchblade',
price = 50,
},
}},
{ label = 'Hand weapons', weapons = {
{
label = "Pistol",
value = "weapon_pistol",
obj = 'w_pi_pistol',
price = 235,
},
{
label = "Combat pistol",
value = "weapon_combatpistol",
obj = 'w_pi_combatpistol',
price = 633,
},
{
label = "AP Pistol",
value = "weapon_appistol",
obj = 'w_pi_appistol',
price = 144,
},
{
label = "Stungun",
value = "weapon_stungun",
obj = 'w_pi_stungun',
price = 622,
},
{
label = "Vintage Pistol",
value = "weapon_vintagepistol",
obj = 'w_pi_vintage_pistol',
price = 235,
},
}},
{ label = 'Heavy weapons', weapons = {
{
label = "Micro SMG",
value = "weapon_microsmg",
obj = 'w_sb_microsmg',
price = 744,
},
{
label = "Assault rifle",
value = "weapon_assaultrifle",
obj = 'w_ar_assaultrifle',
price = 1000,
},
}},
},
Color = { r = 246, g = 211, b = 72 }
}
Preview: Watch ep_weaponshop | Streamable
Purchase: https://elpatron.tebex.io/package/5325683
| Code is accessible | Yes |
| Subscription-based | No |
| Lines (approximately) | +600 |
| Requirements | ESX |
| Support | Yes |

