Security HUD
System Watchdog
×
Threads Scanned
-- / --
SYS. LOAD --%
AI SHIELD ACTIVE
DMCA Policy
×

📋 DMCA Compliance

This platform and community fully complies with the Digital Millennium Copyright Act (DMCA) and international copyright laws. We take all copyright protection seriously.

🛡️ Copyright Protection

If you believe a posted item belongs to you or violates your copyright, you may file a DMCA takedown request through our official channels. Upon receiving a valid claim, the infringing content will be removed within 24 hours.

What's new
×
Fiveguard

Question OkOkCrafting HELP

bastiwesti

Bronze Elite
Joined
Oct 20, 2021
Messages
8
Reaction score
28
Points
166
Location
Germany
Hello guys, can anyone tell me how can i add a new crafting table inside the config.

HTML:
Config.Crafting = {
    {
        coordinates = vector3(-809.4, 190.3, 72.5), -- coordinates of the table
        radius = 1, -- radius of the table
        maxCraftRadius = 5, -- if you are further it will stop the craft
        showBlipRadius = 50,
        blip = {blipId = 89, blipColor = 3, blipScale = 0.9, blipText = "Crafting"}, -- to get blips and colors check this: https://wiki.gtanet.work/index.php?title=Blips
        tableName = 'Autoteile', -- Title
        tableID = 'general1', -- make a different one for every table with NO spaces
        crafts = { -- What items are available for crafting and the recipe
            {
                item = '2jzengine', -- Item id and name of the image
                amount = 1,
                successCraftPercentage = 75, -- Percentage of successful craft 0 = 0% | 50 = 50% | 100 = 100%
                isItem = false, -- if true = is item | if false = is weapon
                time = 6, -- Time to craft (in seconds)
                recipe = { -- Recipe to craft it
                    {'shell_oil', 1, true},
                    {'stock_oil', 1, true},
                    {'iron', 100, true},
                    {'copper', 100, true},
                    
                    
                },
                job = { -- What jobs can craft this item in this workbench
                    ''
                },
            },
            {
                item = 'v8engine', -- Item id and name of the image
                amount = 1,
                successCraftPercentage = 75, -- Percentage of successful craft 0 = 0% | 50 = 50% | 100 = 100%
                isItem = true, -- if true = is item | if false = is weapon
                time = 5, -- Time to craft (in seconds)
                recipe = { -- Recipe to craft it
                    {'shell_oil', 1, true},
                    {'stock_oil', 1, true},
                    {'iron', 100, true},
                    {'copper', 100, true},
                },
                job = { -- What jobs can craft this item in this workbench
                    ''
                },
            },
            {
                item = 'turbo_lvl_1', -- Item id and name of the image
                amount = 1,
                successCraftPercentage = 75, -- Percentage of successful craft 0 = 0% | 50 = 50% | 100 = 100%
                isItem = true, -- if true = is item | if false = is weapon
                time = 5, -- Time to craft (in seconds)
                recipe = { -- Recipe to craft it
                    {'shell_oil', 1, true},
                    {'stock_oil', 1, true},
                    {'iron', 100, true},
                    {'copper', 100, true},
                },
                job = { -- What jobs can craft this item in this workbench
                    ''
                },
            },
            {
                item = 'stock_oil', -- Item id and name of the image
                amount = 3,
                successCraftPercentage = 75, -- Percentage of successful craft 0 = 0% | 50 = 50% | 100 = 100%
                isItem = true, -- if true = is item | if false = is weapon
                time = 5, -- Time to craft (in seconds)
                recipe = { -- Recipe to craft it
                    {'gold', 12, true}, -- item/amount/if the item should be removed when crafting
                    {'iron', 6, true},
                },
                job = { -- What jobs can craft this item in this workbench
                    ''
                },
            },

            {
                item = 'shell_oil', -- Item id and name of the image
                amount = 3,
                successCraftPercentage = 75, -- Percentage of successful craft 0 = 0% | 50 = 50% | 100 = 100%
                isItem = true, -- if true = is item | if false = is weapon
                time = 5, -- Time to craft (in seconds)
                recipe = { -- Recipe to craft it
                    {'gold', 12, true}, -- item/amount/if the item should be removed when crafting
                    {'iron', 6, true},
                },
                job = { -- What jobs can craft this item in this workbench
                    ''
                },
            },

            {
                item = 'race_transmition', -- Item id and name of the image
                amount = 3,
                successCraftPercentage = 75, -- Percentage of successful craft 0 = 0% | 50 = 50% | 100 = 100%
                isItem = true, -- if true = is item | if false = is weapon
                time = 5, -- Time to craft (in seconds)
                recipe = { -- Recipe to craft it
                    {'shell_oil', 1, true},
                    {'stock_oil', 1, true},
                    {'iron', 100, true},
                    {'copper', 100, true},
                },
                job = { -- What jobs can craft this item in this workbench
                    ''
                },
            },
            {
                item = 'stock_transmition', -- Item id and name of the image
                amount = 3,
                successCraftPercentage = 75, -- Percentage of successful craft 0 = 0% | 50 = 50% | 100 = 100%
                isItem = true, -- if true = is item | if false = is weapon
                time = 5, -- Time to craft (in seconds)
                recipe = { -- Recipe to craft it
                    {'iron', 100, true},
                    {'copper', 100, true},
                },
                job = { -- What jobs can craft this item in this workbench
                    ''
                },
            },
                        {           
                item = 'race_suspension', -- Item id and name of the image
                amount = 3,
                successCraftPercentage = 75, -- Percentage of successful craft 0 = 0% | 50 = 50% | 100 = 100%
                isItem = true, -- if true = is item | if false = is weapon
                time = 5, -- Time to craft (in seconds)
                recipe = { -- Recipe to craft it
                    {'iron', 100, true},
                    {'copper', 100, true},
                },
                job = { -- What jobs can craft this item in this workbench
                    ''
                },
            },
                        {
                item = 'stock_suspension', -- Item id and name of the image
                amount = 3,
                successCraftPercentage = 75, -- Percentage of successful craft 0 = 0% | 50 = 50% | 100 = 100%
                isItem = true, -- if true = is item | if false = is weapon
                time = 5, -- Time to craft (in seconds)
                recipe = { -- Recipe to craft it
                    {'iron', 100, true},
                    {'copper', 100, true},
                },
                job = { -- What jobs can craft this item in this workbench
                    ''
                },
            },
                        {
                item = 'stock_brakes', -- Item id and name of the image
                amount = 3,
                successCraftPercentage = 75, -- Percentage of successful craft 0 = 0% | 50 = 50% | 100 = 100%
                isItem = true, -- if true = is item | if false = is weapon
                time = 5, -- Time to craft (in seconds)
                recipe = { -- Recipe to craft it
                    {'iron', 100, true},
                    {'copper', 100, true},
                },
                job = { -- What jobs can craft this item in this workbench
                    ''
                },
            },
                        {
                item = 'stock_engine', -- Item id and name of the image
                amount = 3,
                successCraftPercentage = 75, -- Percentage of successful craft 0 = 0% | 50 = 50% | 100 = 100%
                isItem = true, -- if true = is item | if false = is weapon
                time = 5, -- Time to craft (in seconds)
                recipe = { -- Recipe to craft it
                    {'iron', 100, true},
                    {'copper', 100, true},
                },
                job = { -- What jobs can craft this item in this workbench
                    ''
                },
            },

                        {
                item = 'race_brakes', -- Item id and name of the image
                amount = 3,
                successCraftPercentage = 75, -- Percentage of successful craft 0 = 0% | 50 = 50% | 100 = 100%
                isItem = true, -- if true = is item | if false = is weapon
                time = 5, -- Time to craft (in seconds)
                recipe = { -- Recipe to craft it
                    {'iron', 100, true},
                    {'copper', 100, true},
                },
                job = { -- What jobs can craft this item in this workbench
                    ''
                },
            },


        },
    },
}
 

Zan1456

Zan#1456
VIP
Joined
Mar 19, 2021
Messages
786
Solutions
5
Reaction score
88,221
Points
421
Location
Hungary
Website
vfivem.com
HTML:
Config.Crafting = {
    {
        coordinates = vector3(-809.4, 190.3, 72.5), -- coordinates of the table
        radius = 1, -- radius of the table
        maxCraftRadius = 5, -- if you are further it will stop the craft
        showBlipRadius = 50,
        blip = {blipId = 89, blipColor = 3, blipScale = 0.9, blipText = "Crafting"}, -- to get blips and colors check this: https://wiki.gtanet.work/index.php?title=Blips
        tableName = 'Autoteile', -- Title
        tableID = 'general1', -- make a different one for every table with NO spaces
        crafts = { -- What items are available for crafting and the recipe
            {
                item = '2jzengine', -- Item id and name of the image
                amount = 1,
                successCraftPercentage = 75, -- Percentage of successful craft 0 = 0% | 50 = 50% | 100 = 100%
                isItem = false, -- if true = is item | if false = is weapon
                time = 6, -- Time to craft (in seconds)
                recipe = { -- Recipe to craft it
                    {'shell_oil', 1, true},
                    {'stock_oil', 1, true},
                    {'iron', 100, true},
                    {'copper', 100, true},
                   
                   
                },
                job = { -- What jobs can craft this item in this workbench
                    ''
                },
            },
        },
    },
    {
        coordinates = vector3(-, -, -), -- coordinates of the table
        radius = 1, -- radius of the table
        maxCraftRadius = 5, -- if you are further it will stop the craft
        showBlipRadius = 50,
        blip = {blipId = 89, blipColor = 3, blipScale = 0.9, blipText = "Crafting"}, -- to get blips and colors check this: https://wiki.gtanet.work/index.php?title=Blips
        tableName = 'Title', -- Title
        tableID = 'general2', -- make a different one for every table with NO spaces
        crafts = { -- What items are available for crafting and the recipe
            {
                item = '2jzengine', -- Item id and name of the image
                amount = 1,
                successCraftPercentage = 75, -- Percentage of successful craft 0 = 0% | 50 = 50% | 100 = 100%
                isItem = false, -- if true = is item | if false = is weapon
                time = 6, -- Time to craft (in seconds)
                recipe = { -- Recipe to craft it
                    {'shell_oil', 1, true},
                    {'stock_oil', 1, true},
                    {'iron', 100, true},
                    {'copper', 100, true},
                   
                   
                },
                job = { -- What jobs can craft this item in this workbench
                    ''
                },
            },
        },
    },
}
 

Te4obear

Member
Joined
Jul 22, 2022
Messages
1
Reaction score
0
Points
146
Location
Bulgaria
Hello, how do I add the photos to be visible. What I do is put a picture with the name of the item in the imigaes folder, but nothing happens?
 

TJ768

Bronze Elite
Joined
Feb 27, 2023
Messages
9
Reaction score
2
Points
156
Location
United States
Hello, how do I add the photos to be visible. What I do is put a picture with the name of the item in the imigaes folder, but nothing happens?
The images name should be EXACTLY the same that is in your server's database.
The images format MUST BE ".png", otherwise they won't show up.
 
Top