[PAID][ESX][QB] vms_weaponshop | ROTATING WEAPON

ESX & QB-Core Compatibility

:tickets: Use the discount code WEAPONSHOP for 20% off on the weaponshop from the vms* store.

(Code ending at the 05.10 23:59 (GMT+2))

[ESCROW] 10€ + TAX
[OPEN SOURCE] 15€ + TAX

[SHOWCASE] vms_weaponshop

:sparkles: Features:

• Fancy UI + auto-rotating objects
• Ability to navigate menus using arrows, enter (to buy), mouse cursor.
• Easily configurable color theme using config.lua
• Weapon components are made as Item
• Script easy to configure.
• Compatibility with Onesync & OneSync Infinity.
• 0.00ms resmon outside the interior.
• 0.03ms resmon if using weaponshop.
• Translation.
• Full support.

:gear: Config.lua:

Config = {}
Config.Core = "ESX" -- "ESX" or "QB-Core" 
Config.DistanceView = 15.0
Config.DistanceAccess = 1.2
Config.DisplayRadarAfterClose = false
Config.Notification = function(text, type)
    if type == 'success' then
        exports["vms_notify"]:Notification("Ammu-Nation", text, 3950, '#38d662', 'fa-solid fa-gun')
    elseif type == 'error' then
        exports["vms_notify"]:Notification("Ammu-Nation", text, 3950, '#d63838', 'fa-solid fa-gun')
    end
end

Config.Marker = {
    Enabled = true,
    Type = 29,
    Size = vec(.22, .22, .22),
    Color = {245, 245, 20, 95},
    Bouncing = true,
    Rotating = true,
}

Config.UI_Color = {255, 189, 19}

Config.Blips = {
    Sprite = 119,
    Scale = 0.85,
    Display = 4,
    Color = 5,
}

Config.Zones = {
    {
        enableBlip = true,
        shopName = "Ammu-Nation",
        position = vector3(22.15, -1106.82, 28.8),
        camera = {
            x = 22.15, y = -1106.82, z = 30.22, 
            rotate_x = 0.0, rotate_y = -1.0, rotate_z = -20.33070892096
        },
        objectPosition = vector3(22.33, -1106.29, 30.29)
    },
}

Config.Texts = {
    ['nomoney'] = "You don't have enough money for that.",
    ['bought'] = "You bought.",
}

Config.Items = {
    ["hand"] = {
        {
            label = "KNIFE",
            item = "WEAPON_KNIFE",
            price = 240,
            object = "WEAPON_KNIFE",
            damage = 40, range = 0.1, speed = 0.1
        },
        {
            label = "KNUCKLE",
            item = "WEAPON_KNUCKLE",
            price = 540,
            object = "WEAPON_KNUCKLE",
            damage = 30, range = 0.1, speed = 0.1
        },
        {
            label = "SWITCHBLADE",
            item = "WEAPON_SWITCHBLADE",
            price = 600,
            object = "WEAPON_SWITCHBLADE",
            damage = 40, range = 0.1, speed = 0.1
        },
        {
            label = "HAMMER",
            item = "WEAPON_HAMMER",
            price = 500,
            object = "WEAPON_HAMMER",
            damage = 50, range = 0.1, speed = 0.1
        },
        {
            label = "GOLF CLUB",
            item = "WEAPON_GOLFCLUB",
            price = 1000,
            object = "WEAPON_GOLFCLUB",
            damage = 40, range = 0.1, speed = 0.1
        },


    },
    ["pistols"] = {
        {
            label = "PISTOL",
            item = "weapon_pistol",
            price = 12000,
            object = "WEAPON_PISTOL",
            damage = 45, range = 45, speed = 45
        },
        {
            label = "COMBAT PISTOL",
            item = "weapon_combatpistol",
            price = 8500,
            object = "WEAPON_COMBATPISTOL",
            damage = 65, range = 55, speed = 45
        },
        {
            label = "SNS PISTOL",
            item = "weapon_snspistol",
            price = 7500,
            object = "WEAPON_SNSPISTOL",
            damage = 30, range = 15, speed = 55
        },
    },
}

Config.Categories = {
    [1] = "hand",
    [2] = "pistols",
    [3] = "smg",
    [4] = "rifle",
    [5] = "magazines",
    [6] = "components"
}

Config.DefaultCategory = Config.Categories[1]
Config.DefaultItem = Config.Items[Config.DefaultCategory][1]

If you decide to purchase the script, I encourage you to join on the discord, to keep up to date with updates.

:anger: You can check my others scripts :anger:
vms_barber
vms_bank
vms_pausemenu
vms_skydiving
vms_races
vms_drivingschool
vms_boatschool
vms_flyingschool
vms_notify
vms_shops
vms_redeem
vms_garage
vms_jobcenter
vms_subway
interact

Code is accessible Yes/No
Subscription-based No
Lines (approximately) +330 lua
Requirements ESX or QB-Core
Support Yes
4 Likes

hi i got replaced/reskinned weapons. Will the shop show them or the original?

Hi, if the weapons are replace, the models that are replaced will be displayed.

in the picture I have replaced combatpistol model for glock in my gta files

Hey bro, this isn’t working. It doesn’t let me buy the weapon. Am i missing something?

1 Like

Hi, you need to correctly configure the items the player gets, if you continue to have a problem go to my dc and open a ticket

1 Like

:computer: UPDATE 1.0.3

[+] Opened server.lua file for ESCROW version
[/] Fixed a bug with xPlayer = nil for QB-Core

1 Like

:computer: UPDATE 1.0.4

[+] Added images to components
[/] Fixed problem with TextUI without using TextUI
[-] Removed camera rotation from Config.Zones, now adjusts itself

1 Like