Lusty94
Tebex StoreSupport DiscordGitHubCFX Profile
  • 👋 Lusty94 Scripts
  • 💵Store Discounts
  • 📥 Script Installation
  • 🤝Supported Scripts
  • 📜Paid Resouces
    • 🍻Bars
      • 🔧Changelogs
      • 💼 Jobs
      • 📦Stashes
      • 👁️Blips
      • 🧩Props
      • 👆Interaction Locations
      • 📸CCTV
      • 🍳Recipes
      • 📬Supplies
      • 🥦Ingredients
    • 🍁Weed Shops
      • 🔧Changelogs
      • 💼 Jobs
      • 📦Stashes
      • 👁️Blips
      • 🧩Props
      • 👆Interaction Locations
      • 🍃Picking
      • 📸CCTV
      • 🍳Recipes
      • 📬Supplies
      • 🥦Ingredients
      • 🚬Consumables
    • 💲Money Wash
    • 💰Pawn Shop
      • 🔧Changelogs
      • 🛒Pawnshop Locations
    • 📲Drug Sales
      • 🔧Changelogs
      • 📲Selling
      • 💻Default Configuration
    • 🚗Chop Shop
      • 🔧Changelogs
      • 📅SQL
      • 🗣️Commands
      • 📋Reputation
      • 💰Selling
      • 🚗Chop Shops
      • 💻Default Configuration
    • 🚘Vehicle Shop
      • 🔧Changelogs
      • 📅SQL
      • 🗣️Commands
      • 📥Database
      • 🚘Vehicle Shops
      • 💻Default Configuration
    • ⛏️Mining
      • 🔧Changelogs
      • 📅SQL
      • 📈XP System
      • 🎒Mining Quests
      • ⛏️Purchasing Tools
      • 👕Outfits
      • 🚛Mining Zones
      • 🥘Panning
      • 🔥Smelting
      • 🛠️Crafting
      • 💲Selling
      • 👷Coal Delivery
    • 🚗Rental
    • 🚙Towing
    • 🍲Restaurants
    • 💊Drugs
    • 🍁Weed
  • 📜Free Resources
    • 🛒Shops
      • 🔧Changelogs
      • 🛒Adding Shops
      • 🪛Configuration
    • 🖥️Boss Menu
      • 🔧Changelogs
      • 💻Adding Job Locations
    • ✅Green Zones
      • 🔧Changelogs
      • 📌Adding Zones
Powered by GitBook
On this page
  1. Paid Resouces
  2. Mining

Coal Delivery

  • Players can craft coal at crafting benches into coal sacks that can be delivered to random customer locations around the map for a configurable reward payment

  • You can set a custom requried item if required

  • You can define a required amount t ostart the mission

  • You can define custom spawn codes for custom vehicles

  • The vehicle spawn coords must be vector4

  • The delivery coords must be vector3

  • A delivery coordinate is selected at random

  • You can define minimum and maximum amounts for payment rewards


Config.CoalDelivery = {
    ['Davis Quarry'] = { -- the key must match the mining zone name
        RequiredItem = 'coalsack', -- required item name to fill truck with
        RequiredAmount = math.random(25,50), -- required amount needed before marking truck as filled and ready to deliver
        Vehicle = 'tiptruck2', -- vehicle spawn name
        SpawnCoords = vector4(2955.15, 2736.55, 44.12, 292.65), -- delivery truck spawn coords must be vector4
        CoolDown = 10, -- time in minutes for cooldown before players can request another delivery mission
        Delivery = {-- define delivery settings
            Zone = {
                debug = false, -- debug delivery zone
                radius = 10, -- zone radius
            },
            Blip = { -- define blip settings
                id = 1, -- blip id
                colour = 5, -- blip colour
                scale = 0.7, -- blip scale
                title = 'Coal Delivery Location', -- blip title
            },
            Coords = { -- define random delivery locations must be vector3
                vector3(1996.72, 3058.55, 47.05),
                vector3(1421.47, 3615.93, 34.93),
                vector3(1721.51, 4706.86, 42.48),
                vector3(2207.28, 5596.96, 53.75),
                vector3(1722.72, 6398.98, 34.3),
                vector3(179.07, 6628.35, 31.64),
                vector3(-319.04, 6255.4, 31.36),
                vector3(-840.56, 5414.93, 34.53),
                vector3(-2197.0, 4257.28, 47.98),
                vector3(-2199.02, -374.21, 13.27),
            },
        },
        Payment = { -- define payment amounts (if XP is enabled these figures will be the base payment as the XP level determines the payout amount)
            min = 1000, -- min payment
            max = 1500, -- max payment
        },
    },
    --add more locations as required ensure that the key matches your mining zone name
}

Last updated 1 day ago

📜
⛏️
👷
Page cover image