[PAID] [ESX] Trucker job | LifePeak Scripts

A script by LifePeak

No reviews yet.
[PAID] [ESX] Trucker job | LifePeak Scripts main image

Full Description

truckerjob

LifePeak - Scripts Truckerjob


Description
• Fully configurable
• Low ms / Very good performance
• Easy to Install

lp_truckerjob is a job where you can configure Companies and Contracts and then a Trucker an pickup the Contract and Deliver the trailer to the delivery point. Cops can search the Trailer for illegal Load. As a Trucker you get a Document to give this to cops if you are in a traffic control. The script is fully configurable so can change all things like Companies, Contracts or Delivery Points. Feel free to give us feedback, so thy get implemented in a future update.
Information
• Price: 5.00 EUR

Tebex:
[PAID] [ESX] LifePeak Scripts | Truckerjob

Config = {}
Config.Locale  = 'de'
Config.UseOldESX = false
Config.RequiredJob          = nil -- Can be set to a job name to require it, set to nil to allow anyone to do truck deliveries
Config.BlipsRequiresJob     = nil -- If 'nil', everyone sees the blips generated on the map, if set to a job, only the job can see the blips
Config.RentTruckRequiresJob = nil -- If 'nil' anyone can rent a truck, otherwise you have to be in the job to rent the truck.

Config.Truck            = 'packer'
Config.RentPrice        = 5000           -- Price to rent the Truck. Should be relativly high to make it valuable to buy the truck instead.
Config.RentIsCaution    = true            -- If true, the Truck can be returned and the RentPrice will be re-payed.
Config.ContractsToGenerate = 150          -- How many contracts should the server generate and manage?
Config.AbortionFee = 1500                           -- Fee to enforce if the contract was aborted.  (set to 0 to disable)
Config.AbortionSocietyAccount = 'society_police'    -- Society-Account to send the money to.
Config.TruckerRadio = {}
Config.TruckerRadio.mode = "pma" -- Set to  "saltychat" or "pma" ! | set to nil to disable TruckerRadio
Config.TruckerRadio.Frequency      = 555           -- Set to a numeric channel to allow others to join this channel.
Config.TruckerRadio.Vehicles  = {'hauler', 'hauler2', 'packer', 'phantom', 'phantom3'} -- sets the vehicles where the trucker radio is installed so the player dont need a radio item
Config.TruckerRadio.Command   = 'cbfunk' -- sets the command to manual toogle trucker radio

Config.PoliceJobs       = {'police', 'sheriff', 'swat', 'fib'}
Config.AllowedTrailers  = {'tanker', 'tanker2', 'armytanker', 'tr4', 'trailers2', 'docktrailer', 'trailers', 'trailerlogs'}
Config.BlackContractsRequiresCops = 1     -- A minimum of players with the Job set in Config.PoliceJobs have to be awake before black-money jobs get generated.
Config.EnableHUD        = true            -- If true, the HUD will be enabled.
Config.MarkerRenderDistance = 25
Config.TargetMarkerId = 39
Config.RefillBlackMoneyJobsIfCopLimitReached = 0.20  -- How many contracts should be replaced/added based on the current contracts (0.20 = 20%)
Config.RefillBlackMoneyJobsReplace           = false -- If false jobs will be added.
Config.IllegalContractTypes = {'pisswasser','kraftstofflager','vehicles','clucking_bell'} -- list the companies who are allowed to generate IllegalCompanies
Config.SleepTimerGenerator  = 60 * 1000 * 1.5 
Config.AvailableContracts = {
    {
        name = '26.100l Diesel Kraftstoffe',
        category = 'kraftstofflager',
        price = 1000,
        distanceMultiplier = 1.1,
        trailerName = 'tanker',
        probability = 1,
    },

    {
        name = '33 Paletten Pißwasser Bier',
        category = 'pisswasser',
        mods = {
            modLivery = 4,
        },
        price = 1000,
        distanceMultiplier = 1.1,
        trailerName = 'trailers2',
        probability = 1,
    },
    {
        name = '33 Paletten Pißwasser Bier',
        category = 'pisswasser',
        mods = {
            modLivery = 4,
        },
        price = 400,
        distanceMultiplier = 0.6,
        trailerName = 'trailers2',
        probability = 1,

        blackName               = '21 Paletten Pißwasser Bier',
        blackMoney              = 3500,
        blackDistanceMultiplier = 0.6
    },
    {
        name = 'Export Ware',
        category = 'exports',
        price = 800,
        distanceMultiplier = 1.1,
        trailerName = 'docktrailer',
        probability = 1,
    },
}

Config.TruckRentCompany = {
    {
        name = 'Avis',
        customPrice = nil,
        customModel = nil,
        rentUi = { markerId = 1,coord = vec3(472.91143798828,-1952.6096191406,23.564653396606)},
        truckSpawn = { markerId = 25,coord = vec4(495.15209960938,-1969.2897949219,24.014365768433,-232.0)}
    }
}

Config.Companies = {
    {
        name = 'Pißwasser',
        contractUi      = {markerId = 1,coord = vec3(849.66613769531,-1995.32421875,28.980079650879)},
        trailerSpawn    = {markerId = 25,coord = vec4(836.51940917969,-1936.6912841797,28.960103988647,175.5)},
        blip = {coord = vec3(849.66613769531,-1995.32421875,28.980079650879),sprite=67,color=44},
        contractTypes   = {'pisswasser'}
    },
    {
        name = 'Highway',
        contractUi      = {markerId = 1,coord = vec3(-754.2612, 5579.0244, 35.7096)},
        trailerSpawn    = {markerId = 25,coord = vec4(-752.0980, 5536.6602, 32.9734, 28.9632)},
        blip = {coord = vec3(-754.2612, 5579.0244, 35.7096),sprite=67,color=44},
        contractTypes   = {'saegewerk'}
    },
    {
        name = "Kraftstoff Lager Los Santos",
        contractUi      = {markerId = 1,coord = vec3(674.98480224609,-2726.3315429688,6.1710796356201)},
        trailerSpawn    = {markerId = 25,coord = vec4(638.30639648438,-2759.6474609375,6.0967154502869,-57.0)},
        blip = {coord = vec3(674.98480224609,-2726.3315429688,7.1710796356201),sprite=67,color=44},
        contractTypes   = {'kraftstofflager'}
    },
}

Config.DeliveryStops = {
    kraftstofflager = {
        vec3(632.54956054688,263.40048217773,103.08946990967),
        vec3(-1435.7421875,-267.54446411133,46.207653045654),
        vec3(-735.21362304688,-934.58526611328,19.017002105713),
        vec3(276.53369140625,-1254.5969238281,29.167657852173),
        vec3(173.99726867676,-1553.6984863281,29.214324951172),
        vec3(-327.34478759766,-1480.9074707031,29.877992630005),
        vec3(2570.8486328125,365.54888916016,107.7865447998),
        vec3(2537.40625,2593.6596679688,37.274406433105),
        vec3(1210.6495361328,2660.6198730469,37.140140533447),
        vec3(1043.3654785156,2677.1223144531,38.835247039795),
        vec3(263.55389404297,2609.6748046875,44.177135467529),
        vec3(2003.3131103516,3769.8583984375,31.510034561157),
        vec3(1691.8670654297,4926.9487304688,41.408241271973),
        vec3(174.6408996582,6604.4033203125,31.177982330322),
        vec3(-95.757675170898,6415.1728515625,30.811185836792),
        vec3(-2552.3811035156,2330.2651367188,32.389488220215),
    }
}


Preview

Watch at Youtube

Requierements
lp_documents (FREE)

► Our other work

Code is accessible No
Subscription-based No
Lines (approximately) 1500
Requirements ESX
Support Yes