0
seu carrinho

Aty Scripts | Crafting & Attachment Script

Config file

Config = {
    Framework = "qb", -- "qb" or "esx" or "oldesx"
    MySQL = "oxmysql", -- "oxmysql" or "ghmattimysql" or false
    Tebex = "https://ak4y.tebex.io/",
    BoostPrice = 100,
    BoostPercentage = 0.5, -- 0.5 = 50%

    CoreExport = function()
        if Config.Framework == "qb" then
            return exports["qb-core"]:GetCoreObject()
        elseif Config.Framework == "esx" then
            return exports["es_extended"]:getSharedObject()
        end
    end,

    CraftingTables = {
        ["police"] = {
            Coords = vector3(454.3285, -979.7649, 30.6896),
            Job = "police", -- all or job name
            Grade = 2, -- minimum job grade
            Distance = 1.0, -- distance to interact
            Marker = {
                Type = 2,
                Size = vector3(0.5, 0.5, 0.5),
                Color = {
                    r = 255,
                    g = 255,
                    b = 255,
                    a = 200
                }
            },
            Blip = {
                Sprite = 110,
                Color = 3,
                Label = "Police Crafting Table"
            },
            Categories = {
                {
                    categoryCode = "all",
                    categoryLabel = "All",
                },
                {
                    categoryCode = "weapons",
                    categoryLabel = "Weapons",
                },
                {
                    categoryCode = "consumables",
                    categoryLabel = "Consumables",
                },
                {
                    categoryCode = "attachments",
                    categoryLabel = "Attachments",
                },
            },
            Items = {
                {
                    itemCategory = "consumables",
                    itemCode = "bandage",
                    itemLabel = "Bandage",
                    itemImage = "bandage.png",
                    itemLevel = 1,
                    itemDuration = 10,
                    itemPrice = 50,
                    itemExp = 10,
                    itemDesc = "A simple bandage",
                    ingredients = {
                        { itemCode = "bandage", quantity = 5, label = "Cloth", image = "cloth.png" },
                    }
                },
                {
                    itemCategory = "attachments",
                    itemCode = "clip_attachment",
                    itemLabel = "Clip",
                    itemImage = "clip.png",
                    itemLevel = 1,
                    itemDuration = 20,
                    itemPrice = 100,
                    itemExp = 15,
                    itemDesc = "A simple clip attachment",
                    ingredients = {
                        { itemCode = "iron", quantity = 2, label = "Iron", image = "iron.png" },
                    }
                },
                {
                    itemCategory = "weapons",
                    itemCode = "weapon_pistol",
                    itemLabel = "Pistol MKII",
                    itemImage = "pistol.png",
                    itemLevel = 1,
                    itemDuration = 30,
                    itemPrice = 100,
                    itemExp = 15,
                    itemDesc = "A simple pistol",
                    ingredients = {
                        { itemCode = "iron", quantity = 5, label = "Iron", image = "iron.png" },
                        { itemCode = "wood", quantity = 2, label = "Wood", image = "wood.png" }
                    }
                },
                {
                    itemCategory = "weapons",
                    itemCode = "rifle",
                    itemLabel = "Rifle MKII",
                    itemImage = "rifle.png",
                    itemLevel = 2,
                    itemDuration = 60,
                    itemPrice = 200,
                    itemExp = 30,
                    itemDesc = "A simple rifle",
                    ingredients = {
                        { itemCode = "iron", quantity = 10, label = "Iron", image = "iron.png" },
                        { itemCode = "wood", quantity = 5, label = "Wood", image = "wood.png" }
                    }
                },
                {
                    itemCategory = "weapons",
                    itemCode = "shotgun",
                    itemLabel = "Shotgun MKII",
                    itemImage = "shotgun.png",
                    itemLevel = 3,
                    itemDuration = 60,
                    itemPrice = 300,
                    itemExp = 45,
                    itemDesc = "A simple shotgun",
                    ingredients = {
                        { itemCode = "iron", quantity = 15, label = "Iron", image = "iron.png" },
                        { itemCode = "wood", quantity = 10, label = "Wood", image = "wood.png" }
                    }
                },
                {
                    itemCategory = "weapons",
                    itemCode = "sniper",
                    itemLabel = "Sniper MKII",
                    itemImage = "sniper.png",
                    itemLevel = 4,
                    itemDuration = 60,
                    itemPrice = 400,
                    itemExp = 60,
                    itemDesc = "A simple sniper",
                    ingredients = {
                        { itemCode = "iron", quantity = 20, label = "Iron", image = "iron.png" },
                        { itemCode = "wood", quantity = 15, label = "Wood", image = "wood.png" }
                    }
                },
            }
        }
    },

    Levels = {
        [1] = {exp = 0},
        [2] = {exp = 50},
        [3] = {exp = 100},
        [4] = {exp = 150},
        [5] = {exp = 250},
        [6] = {exp = 350},
        [7] = {exp = 500},
        [8] = {exp = 700},
        [9] = {exp = 1000},
        [10] = {exp = 1300},
        [11] = {exp = 1600},
        [12] = {exp = 2000},
        [13] = {exp = 2500},
        [14] = {exp = 3000},
        [15] = {exp = 4000},
    },
    
    AttachmentItems ={
        ["clip"] = "clip_attachment",
        ["silencer"] = "suppressor_attachment",
        ["flashlight"] = "flashlight_attachment",
        ["scope"] = "smallscope_attachment",
        ["grip"] = "grip_attachment",
    },

    Attachments = {
        {
            itemCode = "weapon_pistol",
            attachments = {
                ["clip"] = {
                    hash = GetHashKey("COMPONENT_PISTOL_CLIP_02"),
                    label = "Extended Clip",
                },
                ["silencer"] = {
                    hash = GetHashKey("COMPONENT_AT_PI_SUPP_02"),
                    label = "Silencer",
                },
                ["flashlight"] = {
                    hash = GetHashKey("COMPONENT_AT_PI_FLSH"),
                    label = "Flashlight",
                },
            }
        },
        {
            itemCode = "weapon_combatpistol",
            attachments = {
                ["clip"] = {
                    hash = GetHashKey("COMPONENT_COMBATPISTOL_CLIP_02"),
                    label = "Extended Clip",
                },
                ["silencer"] = {
                    hash = GetHashKey("COMPONENT_AT_PI_SUPP"),
                    label = "Silencer",
                },
                ["flashlight"] = {
                    hash = GetHashKey("COMPONENT_AT_PI_FLSH"),
                    label = "Flashlight",
                },
            }
        },
        {
            itemCode = "weapon_appistol",
            attachments = {
                ["clip"] = {
                    hash = GetHashKey("COMPONENT_APPISTOL_CLIP_02"),
                    label = "Extended Clip",
                },
                ["silencer"] = {
                    hash = GetHashKey("COMPONENT_AT_PI_SUPP"),
                    label = "Silencer",
                },
                ["flashlight"] = {
                    hash = GetHashKey("COMPONENT_AT_PI_FLSH"),
                    label = "Flashlight",
                },
            }
        },
        {
            itemCode = "weapon_microsmg",
            attachments = {
                ["clip"] = {
                    hash = GetHashKey("COMPONENT_MICROSMG_CLIP_02"),
                    label = "Extended Clip",
                },
                ["silencer"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_SUPP_02"),
                    label = "Silencer",
                },
                ["flashlight"] = {
                    hash = GetHashKey("COMPONENT_AT_PI_FLSH"),
                    label = "Flashlight",
                },
                ["scope"] = {
                    hash = GetHashKey("COMPONENT_AT_SCOPE_MACRO_02"),
                    label = "Scope",
                },
            }
        },
        {
            itemCode = "weapon_smg",
            attachments = {
                ["clip"] = {
                    hash = GetHashKey("COMPONENT_SMG_CLIP_02"),
                    label = "Extended Clip",
                },
                ["silencer"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_SUPP_02"),
                    label = "Silencer",
                },
                ["flashlight"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_FLSH"),
                    label = "Flashlight",
                },
                ["scope"] = {
                    hash = GetHashKey("COMPONENT_AT_SCOPE_MACRO_02"),
                    label = "Scope",
                },
            }
        },
        {
            itemCode = "weapon_assaultsmg",
            attachments = {
                ["clip"] = {
                    hash = GetHashKey("COMPONENT_ASSAULTSMG_CLIP_02"),
                    label = "Extended Clip",
                },
                ["silencer"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_SUPP_02"),
                    label = "Silencer",
                },
                ["flashlight"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_FLSH"),
                    label = "Flashlight",
                },
                ["scope"] = {
                    hash = GetHashKey("COMPONENT_AT_SCOPE_MACRO"),
                    label = "Scope",
                },
            }
        },
        {
            itemCode = "weapon_assaultrifle",
            attachments = {
                ["clip"] = {
                    hash = GetHashKey("COMPONENT_ASSAULTRIFLE_CLIP_02"),
                    label = "Extended Clip",
                },
                ["silencer"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_SUPP_02"),
                    label = "Silencer",
                },
                ["flashlight"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_FLSH"),
                    label = "Flashlight",
                },
                ["scope"] = {
                    hash = GetHashKey("COMPONENT_AT_SCOPE_MACRO"),
                    label = "Scope",
                },
                ["grip"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_AFGRIP"),
                    label = "Grip",
                },
            }
        },
        {
            itemCode = "weapon_carbinerifle",
            attachments = {
                ["clip"] = {
                    hash = GetHashKey("COMPONENT_CARBINERIFLE_CLIP_02"),
                    label = "Extended Clip",
                },
                ["silencer"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_SUPP_02"),
                    label = "Silencer",
                },
                ["flashlight"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_FLSH"),
                    label = "Flashlight",
                },
                ["scope"] = {
                    hash = GetHashKey("COMPONENT_AT_SCOPE_MEDIUM"),
                    label = "Scope",
                },
                ["grip"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_AFGRIP"),
                    label = "Grip",
                },
            }
        },
        {
            itemCode = "weapon_advancedrifle",
            attachments = {
                ["clip"] = {
                    hash = GetHashKey("COMPONENT_ADVANCEDRIFLE_CLIP_02"),
                    label = "Extended Clip",
                },
                ["silencer"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_SUPP"),
                    label = "Silencer",
                },
                ["flashlight"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_FLSH"),
                    label = "Flashlight",
                },
                ["scope"] = {
                    hash = GetHashKey("COMPONENT_AT_SCOPE_SMALL"),
                    label = "Scope",
                },
                ["grip"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_AFGRIP"),
                    label = "Grip",
                },
            }
        },
        {
            itemCode = "weapon_specialcarbine",
            attachments = {
                ["clip"] = {
                    hash = GetHashKey("COMPONENT_SPECIALCARBINE_CLIP_02"),
                    label = "Extended Clip",
                },
                ["silencer"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_SUPP_02"),
                    label = "Silencer",
                },
                ["flashlight"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_FLSH"),
                    label = "Flashlight",
                },
                ["scope"] = {
                    hash = GetHashKey("COMPONENT_AT_SCOPE_MEDIUM"),
                    label = "Scope",
                },
                ["grip"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_AFGRIP"),
                    label = "Grip",
                },
            }
        },
        {
            itemCode = "weapon_bullpuprifle",
            attachments = {
                ["clip"] = {
                    hash = GetHashKey("COMPONENT_BULLPUPRIFLE_CLIP_02"),
                    label = "Extended Clip",
                },
                ["silencer"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_SUPP"),
                    label = "Silencer",
                },
                ["flashlight"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_FLSH"),
                    label = "Flashlight",
                },
                ["scope"] = {
                    hash = GetHashKey("COMPONENT_AT_SCOPE_SMALL"),
                    label = "Scope",
                },
                ["grip"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_AFGRIP"),
                    label = "Grip",
                },
            }
        },
        {
            itemCode = "weapon_pumpshotgun",
            attachments = {
                ["clip"] = {
                    hash = GetHashKey("COMPONENT_PUMPSHOTGUN_CLIP_02"),
                    label = "Extended Clip",
                },
                ["silencer"] = {
                    hash = GetHashKey("COMPONENT_AT_SR_SUPP"),
                    label = "Silencer",
                },
                ["flashlight"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_FLSH"),
                    label = "Flashlight",
                },
            }
        },
        {
            itemCode = "weapon_sawnoffshotgun",
            attachments = {
                ["clip"] = {
                    hash = GetHashKey("COMPONENT_SAWNOFFSHOTGUN_CLIP_02"),
                    label = "Extended Clip",
                },
                ["silencer"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_SUPP"),
                    label = "Silencer",
                },
                ["flashlight"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_FLSH"),
                    label = "Flashlight",
                },
            }
        },
        {
            itemCode = "weapon_assaultshotgun",
            attachments = {
                ["clip"] = {
                    hash = GetHashKey("COMPONENT_ASSAULTSHOTGUN_CLIP_02"),
                    label = "Extended Clip",
                },
                ["silencer"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_SUPP_02"),
                    label = "Silencer",
                },
                ["flashlight"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_FLSH"),
                    label = "Flashlight",
                },
            }
        },
        {
            itemCode = "weapon_heavysniper",
            attachments = {
                ["scope"] = {
                    hash = GetHashKey("COMPONENT_AT_SCOPE_LARGE"),
                    label = "Scope",
                },
            }
        },
        {
            itemCode = "weapon_snspistol",
            attachments = {
                ["clip"] = {
                    hash = GetHashKey("COMPONENT_SNSPISTOL_CLIP_02"),
                    label = "Extended Clip",
                },
                ["silencer"] = {
                    hash = GetHashKey("COMPONENT_AT_PI_SUPP"),
                    label = "Silencer",
                },
                ["flashlight"] = {
                    hash = GetHashKey("COMPONENT_AT_PI_FLSH"),
                    label = "Flashlight",
                },
            }
        },
        {
            itemCode = "weapon_gusenberg",
            attachments = {
                ["clip"] = {
                    hash = GetHashKey("COMPONENT_GUSENBERG_CLIP_02"),
                    label = "Extended Clip",
                },
                ["silencer"] = {
                    hash = GetHashKey("COMPONENT_AT_PI_SUPP"),
                    label = "Silencer",
                },
                ["flashlight"] = {
                    hash = GetHashKey("COMPONENT_AT_PI_FLSH"),
                    label = "Flashlight",
                },
            }
        },
        {
            itemCode = "weapon_specialcarbine_mk2",
            attachments = {
                ["clip"] = {
                    hash = GetHashKey("COMPONENT_SPECIALCARBINE_MK2_CLIP_02"),
                    label = "Extended Clip",
                },
                ["silencer"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_SUPP_02"),
                    label = "Silencer",
                },
                ["flashlight"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_FLSH"),
                    label = "Flashlight",
                },
                ["scope"] = {
                    hash = GetHashKey("COMPONENT_AT_SCOPE_MEDIUM_MK2"),
                    label = "Scope",
                },
                ["grip"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_AFGRIP_02"),
                    label = "Grip",
                },
            }
        },
        {
            itemCode = "weapon_bullpuprifle_mk2",
            attachments = {
                ["clip"] = {
                    hash = GetHashKey("COMPONENT_BULLPUPRIFLE_MK2_CLIP_02"),
                    label = "Extended Clip",
                },
                ["silencer"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_SUPP_02"),
                    label = "Silencer",
                },
                ["flashlight"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_FLSH"),
                    label = "Flashlight",
                },
                ["scope"] = {
                    hash = GetHashKey("COMPONENT_AT_SCOPE_SMALL_MK2"),
                    label = "Scope",
                },
                ["grip"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_AFGRIP_02"),
                    label = "Grip",
                },
            }
        },
        {
            itemCode = "weapon_pumpshotgun_mk2",
            attachments = {
                ["clip"] = {
                    hash = GetHashKey("COMPONENT_PUMPSHOTGUN_MK2_CLIP_02"),
                    label = "Extended Clip",
                },
                ["silencer"] = {
                    hash = GetHashKey("COMPONENT_AT_SR_SUPP_03"),
                    label = "Silencer",
                },
                ["flashlight"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_FLSH"),
                    label = "Flashlight",
                },
            }
        },
        {
            itemCode = "weapon_marksmanrifle_mk2",
            attachments = {
                ["clip"] = {
                    hash = GetHashKey("COMPONENT_MARKSMANRIFLE_MK2_CLIP_02"),
                    label = "Extended Clip",
                },
                ["silencer"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_SUPP_02"),
                    label = "Silencer",
                },
                ["flashlight"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_FLSH"),
                    label = "Flashlight",
                },
                ["scope"] = {
                    hash = GetHashKey("COMPONENT_AT_SCOPE_MEDIUM_MK2"),
                    label = "Scope",
                },
                ["grip"] = {
                    hash = GetHashKey("COMPONENT_AT_AR_AFGRIP_02"),
                    label = "Grip",
                },
            }
        },
        {
            itemCode = "weapon_revolver_mk2",
            attachments = {
                ["clip"] = {
                    hash = GetHashKey("COMPONENT_REVOLVER_MK2_CLIP_02"),
                    label = "Extended Clip",
                },
                ["silencer"] = {
                    hash = GetHashKey("COMPONENT_AT_PI_SUPP_02"),
                    label = "Silencer",
                },
                ["flashlight"] = {
                    hash = GetHashKey("COMPONENT_AT_PI_FLSH_03"),
                    label = "Flashlight",
                },
            }
        },
        {
            itemCode = "weapon_doubleaction",
            attachments = {
                ["clip"] = {
                    hash = GetHashKey("COMPONENT_DOUBLEACTION_CLIP_02"),
                    label = "Extended Clip",
                },
                ["silencer"] = {
                    hash = GetHashKey("COMPONENT_AT_PI_SUPP_02"),
                    label = "Silencer",
                },
                ["flashlight"] = {
                    hash = GetHashKey("COMPONENT_AT_PI_FLSH_03"),
                    label = "Flashlight",
                },
            }
        }
    }
}

 

Por que as pessoas amam nossos produtos

Produtos de alta qualidade e de origem ética a preços acessíveis

Seja o primeiro a adicionar uma avaliação.

Ainda não há avaliações.

artesanato aty
Artesanato Aty

O preço original era: $55.00.O preço atual é: $30,00.

Use o código BLACKFRIDAY24 para -24%
0
dias
0
horas
0
minutos
0
segundos
pt_BRPortuguese
2
Gastar $15.00 para receber este presente!
1000 fichas de IA

1.000 tokens de IA

$5.00 Grátis
Gastar $50.01 para receber este presente!
Ilha

Ilha MLO

$15.99 Grátis
0
Seu carrinho

Não há produtos no carrinho.

artesanato aty

Apenas usuários conectados que fornecem este produto podem deixar uma avaliação.