[ESX] NKN - Weapon Crafter + UI

Get it from Tebex


Depedencies:
ESX (any version supported!)


Weapon crafter with beautiful UI. When adding new weapons, the UI is automatically adjusted.

Notification & progress bar can also be customized in the config.

Simple config to configure weapons & items needed for crafting.


Config
Config = {}
--esx
Config.esxPrefix = "esx"
Config.BigESXPrefix = "ESX"
Config.getSharedObject = "getSharedObject"

--Location
Config.Crafter =  vector3(514.81, 169.48, 99.37)                                              
Config.timeToCraft = 5000

--Animation
Config.Anim = "anim@amb@clubhouse@tutorial@bkr_tut_ig3@"
Config.Anim2 = "machinic_loop_mechandplayer"

Config.Progressbar = false
Config.ProgressExport = "exports['ssio_progress']:startUI(Config.timeToCraft)"

--Notify
Config.HelpNotify = "Drücke ~INPUT_CONTEXT~ um mit dem ~b~ Waffenschmied ~w~ zu sprechen"      
Config.NotifyNoItem = "Config.BigESXPrefix.ShowNotification('Du hast nicht genügend Items bei dir!')"
Config.NotifyGetWeapon = "Config.BigESXPrefix.ShowNotification('Du besitzt bereits diese Waffe!')"



Config.CraftableWeapons = {

    ['weapon_advancedrifle'] = {

        [1] = {
            item = 'bread',
            amount = 1,

            itemlabel = 'Brot'
        },

        [2] = {
            item = 'water',
            amount = 1,

            itemlabel = 'Wasser'
        }

    },

    ['weapon_smg'] = {

        [1] = {
            item = 'bulletproof',
            amount = 17,

            itemlabel = 'Schutzweste'
        },

        [2] = {
            item = 'medikit',
            amount = 33,

            itemlabel = 'Medikit'
        },
        
        [3] = {
            item = 'sextoy',
            amount = 33,

            itemlabel = 'Sexspielzeug'
        }

    },

    
    ['weapon_gusenberg'] = {

        [1] = {
            item = 'bulletproof',
            amount = 17,

            itemlabel = 'Schutzweste'
        },

        [2] = {
            item = 'medikit',
            amount = 33,

            itemlabel = 'Medikit'
        }

    },

    ['weapon_assaultrifle'] = {

        [1] = {
            item = 'bulletproof',
            amount = 17,

            itemlabel = 'Schutzweste'
        },

        [2] = {
            item = 'medikit',
            amount = 33,

            itemlabel = 'Medikit'
        }

    },

    ['weapon_pistol50'] = {

        [1] = {
            item = 'bulletproof',
            amount = 17,

            itemlabel = 'Schutzweste'
        },

        [2] = {
            item = 'medikit',
            amount = 33,

            itemlabel = 'Medikit'
        }

    }

}
1 Like

Well done!

1 Like

Good job! :smiling_face_with_three_hearts:

1 Like