🥕
Carotto Documentation
  • CAROTTO Scripts Documentation
    • 👋Welcome
    • 🔐Escrow System
    • 🛡️DMCA
  • SCRIPTS
    • carotto_npcdoctor
      • Config File
    • carotto_rental
      • Config File
    • carotto_coordsmenu
      • Config File
    • carotto_gofast
      • Config File
    • carotto_police
      • Config File
    • carotto_sheriff
      • Config File
    • carotto_jobcenter
      • Config File
    • carotto_bennys
      • Config File
    • carotto_unicorn
      • Config File
    • carotto_blackmarket
      • Config File
    • carotto_atmrobbery
      • Config File
    • carotto_safezones
      • Config File
    • carotto_loadingscreen
    • carotto_blipscreator
      • Config File
    • carotto_key
      • Config File
    • carotto_taxi
      • Config File
    • carotto_weather
      • Config File
    • carotto_hunting
      • Config File
    • carotto_fishing
      • Config File
    • carotto_garage
      • Config File
    • carotto_marketV2
      • Config File
Powered by GitBook
On this page
  1. SCRIPTS
  2. carotto_jobcenter

Config File

Config = {}

Config.Framework = "newesx" -- oldesx = OLD Version  | newesx = NEW Version 
Config.Notif = "OX" -- "ESX" or "OX" 

Config.Actives = { -- if set to false then it will not appear
    jobcenter = true,
    trucker = true,
    minor = true,
    lumberjack = true,
}

Config.IconTutorial = 'question'

----------------------------------------------------------------------------------------------------------------------------------------------------------------

Config.JobCenter = {
    UsePed = true, -- set to false if you don't want to use ped
    Ped = "a_m_y_business_01", -- ped, you can change it with the one you want
    CoordsPed = vector4(-265.5456, -962.7894, 30.22313, 204.7735), -- coords for ped
    CoordsTarget = vector3(-265.5456, -962.7894, 31.22313), -- coords for target
    Icon = 'house', -- icon in the job center menu
    UseBlip = true, -- set to false if you don't want to use blips
    Blip = { 
        Sprite = 280,  
        Color = 2, 
        Scale = 1.0, 
        Name = "Job Center", 
    },
    Jobs = {
        {job = 'Trucker', description = 'Your want drive trucks ?', icon = 'truck-fast', iconcolor = nil, image = 'https://urlr.me/zvsgf'},
        {job = 'Minor', description = 'Come and break some rocks', icon = 'cubes', iconcolor = nil, image = 'https://urlr.me/JRQm2'},
        {job = 'Lumberjack', description = 'Take part in deforestation !', icon = 'tree', iconcolor = nil, image = 'https://urlr.me/n5FJ7'},
    },
}

----------------------------------------------------------------------------------------------------------------------------------------------------------------

Config.Trucker = {
    UsePed = true, -- set to false if you don't want to use ped
    Ped = "s_m_y_airworker", -- ped, you can change it with the one you want
    CoordsPed = vector4(1184.816, -3162.48, 6.128706, 91.16393), -- coords for ped
    CoordsTarget = vector3(1184.816, -3162.48, 7.128706), -- coords for target
    Icon = 'truck', -- icon in the trucker job
    UseBlip = true, -- set to false if you don't want to use blips
    Blip = { 
        Sprite = 280,   
        Color = 3, 
        Scale = 1.0, 
        Name = "Trucker", 
    },
    TrailerCoords = { 
        vector4(912.7805, -3154.251, 5.900799, 179.6522), 
    },
    Missions = {
        [1] = {
            Title = "Delivery #1",
            Description = "Deposit 2000$ | Reward 1000$ - Food Delivery",
            Deposit = 2000,
            Reward = 1000,
            TruckModel = "hauler", 
            TruckCoords = vector4(1177.789, -3162.26, 5.885444, 91.14152),
            TrailerModel = "trailers2",
            DeliverCoords = {
                vec3(10.02, 6273.90, 31.24),
            },
        },
        [2] = {
            Title = "Delivery #2",
            Description = "Deposit 2000$ | Reward 1000$ - Vehicle Delivery",
            Deposit = 3000,
            Reward = 2000,
            TruckModel = "hauler", 
            TruckCoords = vector4(1177.789, -3162.26, 5.885444, 91.14152),
            TrailerModel = "trailers2",
            DeliverCoords = {
                vec3(155.2928, -1453.644, 29.14146),
            },

            -- Add other delivery here if you want :)
        
        },
    },
}

----------------------------------------------------------------------------------------------------------------------------------------------------------------

Config.Minor = {
    UsePed = true, -- set to false if you don't want to use ped
    Ped = "s_m_y_airworker", -- ped, you can change it with the one you want
    CoordsPed = vector4(2832.678, 2798.957, 56.45522, 97.7138), -- coords for ped
    CoordsTarget = vector3(2832.678, 2798.957, 57.45522), -- coords for target
    Icon = 'cubes', -- icon in the miner job
    UseBlip = true, -- set to false if you don't want to use blips
    Blip = {  
        Sprite = 280,   
        Color = 5, 
        Scale = 1.0, 
        Name = "Minor", 
    },
    VehicleModel = 'bison',
    SpawnVehicle = vec4(2827.139, 2800.593, 57.13069, 175.5001),
    MineAmount = 1, -- how many rocks to give when mining a rock
    WashAmount = 1, -- how many rocks to wash each time
    MeltAmount = 1, -- how many ores to smelt each time
    WashTime = 8000,
    MeltTime = 8000,
    RockItem = "rock",
    MeltItems = {
        ["iron_ore"] = "iron",
        ["copper_ore"] = "copper",
        ["gold_ore"] = "gold",
        ["diamond_ore"] = "diamond",
    },
    RandomWashItems = {
        ["iron_ore"] = {
            probability = 90, 
            quantity = 1
        },
        ["copper_ore"] = {
            probability = 80,
            quantity = 1
        },
        ["gold_ore"] = {
            probability = 50,
            quantity = 1
        },
        ["diamond_ore"] = {
            probability = 20,
            quantity = 1
        },
    },
    PositionsMine = {
        vec3(2971.831, 2776.709, 38.36227),
        vec3(2968.68, 2776.704, 38.44951),
        vec3(2980.938, 2786.559, 40.33584),
        vec3(2978.683, 2790.072, 40.55131),
        vec3(2975.683, 2791.903, 40.55244),
        vec3(2972.233, 2797.448, 41.18105)
    },
    OtherPositions = {
        [1] = {
            label = "Wash Rocks",
            type = 'wash',
            pos = vec3(1951.401, 492.9649, 161.8873),
        },
        [2] = {
            label = "Smelting your Ores",
            type = 'foundry',
            pos = vec3(1085.094, -2002.026, 31.42575)
        },
    },
    BlipsOnDuty = {
        [1] = {
            pos = vec3(2959.983, 2786.692, 40.57145),
            id = 58,
            color = 5,
            name = '~y~[MINOR 1]~s~ Mine'
        },
        [2] = {
            pos = vec3(1951.401, 492.9649, 161.8873),
            id = 58, 
            color = 5,
            name = '~y~[MINOR 2]~s~ Wash Rocks'
        },
        [3] = {
            pos = vec3(1085.094, -2002.026, 31.42575),
            id = 58,
            color = 5,
            name = '~y~[MINOR 3]~s~ Foundry'
        },
        [4] = {
            pos = vec3(-50.24316, 1911.21, 195.7059),
            id = 58, 
            color = 5,
            name = '~y~[MINOR 4]~s~ Buyer'
        },
    }
}

Config.Buyer = {
    UsePed = true,
    Ped = "s_m_y_dealer_01",
    CoordsPed = vector4(-50.24316, 1911.21, 194.7059, 97.7138),
    CoordsTarget = vector3(-50.24316, 1911.21, 195.7059),
    Icon = 'dollar-sign',
    SellItems = { -- items sell
        { name = "iron", price = 1 },
        { name = "copper", price = 2 },
        { name = "gold", price = 5 },
        { name = "diamond", price = 10 },
    }
}


----------------------------------------------------------------------------------------------------------------------------------------------------------------

Config.Lumberjack = {
    UsePed = true, -- set to false if you don't want to use ped
    Ped = "s_m_y_airworker", -- ped, you can change it with the one you want
    MainPed = vector4(-571.0324, 5365.375, 69.21468, 303.7498), -- ped
    PedPacking = vector4(-505.8649, 5263.024, 79.66319, 80.06081), -- ped for packing
    PedBuyer = vector4(863.779, -1820.702, 29.26029, 355.6961), -- ped for buyer
    CoordsTarget = vector3(-571.0324, 5365.375, 70.21468), -- coords for target
    Icon = 'tree', -- icon in the miner job
    UseBlip = true, -- set to false if you don't want to use blips
    Blip = {   
        Sprite = 280,   
        Color = 21, 
        Scale = 1.0, 
        Name = "Lumberjack", 
    },
    VehicleModel = 'bison', 
    SpawnVehicle = vec4(-565.2954, 5361.163, 69.75246, 340.2362),
    PackingAmount = 1, -- minimum for packing
    PackingTime = 5000, -- time progresscircle packing
    BuyerAmount = 1, -- minimum for buyer
    BuyerTime = 5000, -- time progresscircle buyer
    PriceBuyer = 500, -- selling price per unit
    TreeItem = "tree", -- item when cutting down trees
    PackingItem = "pallets_trees", -- item when treatment is carried out
    PositionsLumberjack = { -- position of trees
        vec3(-558.8982, 5418.074, 62.77673),
        vec3(-562.7975, 5420.25, 61.90947),
        vec3(-578.4606, 5428.36, 58.98169),
        vec3(-615.04, 5424.208, 51.02569),
        vec3(-619.9522, 5429.183, 52.6587),
        vec3(-595.8164, 5451.962, 59.16929),
        vec3(-591.783, 5447.814, 59.30331),
        vec3(-563.7963, 5456.273, 62.87958),
        vec3(-580.372, 5471.893, 59.50769),
        vec3(-617.3865, 5489.476, 51.66785),
        vec3(-633.3273, 5504.599, 51.29831)
    },
    OtherPos = {
        [1] = {
            label = "Packing Tree",
            type = 'packing', 
            pos = vec3(-505.8649, 5263.024, 80.66319) -- position packing
        },
        [2] = {
            label = "Buyer Tree",
            type = 'buyer',
            pos = vec3(863.779, -1820.702, 30.26029) -- position buyer
        }, 
    },
    BlipsOnDuty = {
        [1] = {
            pos = vec3(-568.9106, 5451.065, 61.30893), -- blips cutting
            id = 58,
            color = 21, 
            name = '~y~[LUMBERJACK 1]~s~ Forest'
        },
        [2] = {
            pos = vec3(-506.3391, 5262.9, 80.62228), -- blips packing
            id = 58,  
            color = 21,
            name = '~y~[LUMBERJACK 2]~s~ Tree Packing'
        },
        [3] = {
            pos = vec3(863.5269, -1820.18, 30.26029), -- blips buyer
            id = 58,
            color = 21,
            name = '~y~[LUMBERJACK 3]~s~ Buyer'
        },
    }
}

----------------------------------------------------------------------------------------------------------------------------------------------------------------

Config.Text = {
    Currency = '$',

    -- Text
    TitleAccessMenu = 'Advanced Job Center System',
    OpenJobCenter = 'Open Job Center',
    TakeDuty = 'Take Duty',
    TakeOffDuty = 'Take Off Duty',
    Tutorial = 'How do I work ?',
    Quantity = 'Select Quantity',
    QuantityDesc = 'How many do you want to sell ?',    

    -- Trucker
    TruckerTitle = 'Trucker Job',
    InstructionsA = 'You started a delivery. Get in the truck and go take the trailer',
    InstructionsB = 'Follow the GPS',
    InstructionsC = 'Deliver the trailer to the position',
    InstructionsD = 'Get in the truck',
    InstructionsE = 'Detach the trailer by pressing H',
    InstructionsF = 'Deliver back the truck',
    InstructionsG = 'You don\'t have enough money',
    InstructionsH = 'You have completed the delivery!',
    TutorialTrucker = 'How to work in Trucker ?',
    Tutorial2Trucker = 'As soon as you start work, we give you a truck. This truck has a deposit which is taken from the start. If you don\'t bring back the right vehicle, or if you bring back the truck in poor condition, the deposit will be kept. As soon as you start work, you have to go to the place indicated on your GPS to pick up your trailer. Once the trailer has been attached, all you have to do is deliver it to the location indicated. Once the trailer has been delivered to the buyer, return to the dock to return the truck and collect your deposit. And that\'s all there is to it!',

    -- Minor
    Mine1 = 'Mine Rock',
    Mine2 = 'Mining...',
    Mine3 = 'You need x5 rocks to wash',
    Mine4 = 'You don\'t have enough ores to melt',
    GoToMine = 'Go to the mine and break rocks',
    PointMinor = 'Mine Rock',
    TutorialMinor = 'How to work in Minor ?',
    Tutorial2Minor = 'As soon as you start work, you\'ll be given a vehicle that will be collected at the end of the job. After that, you\'ll have to go to the GPS coordinates to break up the rocks that are going underneath. Once broken you will receive rocks on you, as soon as you consider that you have enough go to the river to wash them and discover the stone that you have recovered, once your stone washed you must go to melt them to transform them into ingots. Once they\'re in ingots, all you have to do is sell them, and your work is done!',
    YouSell = 'You sold items for',
    NoItem = 'You have no items to sell',

    -- Lumberjack
    Lumberjack1 = 'Cut Tree',
    Lumberjack2 = 'Cuting...',
    Lumberjack3 = 'You need at least x5 trees to packing',
    Lumberjack4 = 'you don\'t have enough palets to sell',
    GoToLumberjack = 'Walk over to a tree and cut',
    PointLumberjack = 'Cutting Tree',
    TutorialLumberjack = 'How to work in Lumberjack ?',
    Tutorial2Lumberjack = 'As soon as you start work, you\'ll be given a vehicle that will be collected at the end of the job. After that, you\'ll have to go to the GPS coordinates to cut down the trees. Once you\'ve felled the trees, you\'ll receive them on your person, and as soon as you consider that you\'ve had enough, you\'ll go to the cutting plant. Once you\'ve cut the wood, all you have to do is go and sell it, and that\'s your job done!',

    -- Notify 
    CheckMap = 'Open your map !',
    DescCheckMap = 'Go to the blips that are associated with the job !', 
}
Previouscarotto_jobcenterNextcarotto_bennys

Last updated 6 days ago