Configuration Files
config.lua
-- ______ _ _
-- | _ \ (_) | |
-- | | | |_ _ ___ ___ _ __ _ _ __ | |_ ___ ___ _ __ ___
-- | | | | | | / __|/ __| '__| | '_ \| __| / __/ _ \| '_ ` _ \
-- | |/ /| |_| \__ \ (__| | | | |_) | |_ | (_| (_) | | | | | |
-- |___/ \__, |___/\___|_| |_| .__/ \__(_)___\___/|_| |_| |_|
-- __/ | | |
-- |___/ |_|
-- © Copyright 2024 - 2025 DyScript.com tous droits réservés
-- Main configuration table
Config = {}
Config.Locale = 'fr' -- Script language, fr/en
-- Crafting positions configuration
Config.Pos = {
{
Name = "Test Craft", -- Name of the crafting spot
position = vector3(-681.37664794922, 960.76391601562, 238.73962402344), -- Position in the world
marker = {
type = 23, -- GTA marker type
color = {r = 255, g = 255, b = 255, a = 150}, -- Marker color (RGBA)
scale = {x = 1.0, y = 1.0, z = 1.0} -- Marker size
},
showBlip = true, -- Show blip on the map for this spot
blip = {
sprite = 365, -- Blip icon (can be changed)
color = 2, -- Blip color (can be changed)
scale = 0.9, -- Blip size
name = "Craft" -- Blip name
},
job = false, -- false = everyone, otherwise set the job name (e.g., "police")
items = {
{
name = "weedqtrddd", -- Item spawn name
label = "Weed Pochon", -- Item display label
time = 5, -- Crafting time in seconds
piece = "1 pièces", -- Number of pieces crafted
ingredients = {
{ name = "trimmedweed", label = "Weed", quantity = 1 }, -- Required ingredient
{ name = "empty_bag", label = "Sachet Vide", quantity = 2 }, -- Required ingredient
}
},
{
name = "weapon_assaultrifle", -- Item spawn name
label = "AK47", -- Item display label
time = 5, -- Crafting time in seconds
piece = "1 pièces", -- Number of pieces crafted
ingredients = {
{ name = "corps_ak47", label = "Corps AK47", quantity = 1 }, -- Required ingredient
}
},
}
}
}
Last updated