GFX Development
  • gfx
    • About GFX
  • Product Docs
    • 📥GFX All in One Menu
      • 🛠️Setup
        • ⚙️Configuration
        • 📝Setting Permissions
      • 📒Informations
        • 💻For Developers
        • 👨‍💻Admin Commands
      • 🖇️Pages
        • 📄Profile
        • 📄Leaderboard
    • 🏎️GFX Racing
      • 🔨Installation
      • ⚙️Configuration
    • 📸GFX Deathcam
      • 🔨Installation
      • GFX Deathcam V1
        • ⚙️Configuration
      • GFX Deathcam V2
        • ⚙️Configuration
    • 📊GFX Leaderboard
      • 🔨Installation
      • ⚙️Configuration
    • ⚔️GFX Arena
      • 🔨Installation
      • ⚙️Configuration
    • 👨‍👨‍👦‍👦GFX Squad
      • 🔨Installation
      • ⚙️Configuration
      • 💻Exports
    • 🔬GFX Evidence
      • 🔨Installation
      • ⚙️Configuration
    • ❗GFX Notification
      • 🔨Installation
      • ⚙️Configuration
      • 💻Exports and Events
        • ⬆️Exports
        • ⬇️Events
    • 🚚GFX Delivery
      • 🔨Installation
      • ⚙️Configuration
    • 🛍️GFX Tebexshop
      • 🔨Installation
      • ⚙️Configuration
      • ⚠️Tebex Settings
      • ⬆️Exports
    • 👁️‍🗨️GFX Interact
      • 🔨Installation
      • ⬆️Exports
    • 🫂GFX Crew
      • 🔨Installation
      • ⚙️Configuration
      • ⬆️Exports
    • 🫂GFX Squad Remake
      • 🔨Installation
      • ⚙️Configuration
      • ⬆️Exports
    • GFX PVP Chat
      • 🔨Installation
      • ⚙️Configuration
      • ⬆️Exports
    • GFX HUD
      • 🔨Installation
      • ⚙️Configuration
    • 🔫GFX Attachment
      • 🔨Installation
      • ⚙️Configuration
    • 💀GFX Deathlog
      • 🔨Installation
      • ⚙️Configuration
    • 🛍️GFX PVP Shop
      • 🔨Installation
      • ⚙️Configuration
    • 🧱GFX Crafting
      • 🔨Installation
      • ⚙️Configuration
    • 🚍GFX Bus Job
      • 🔨Installation
      • ⚙️Configuration
    • 🐔GFX Chicken Farm
      • 🔨Installation
      • ⚙️Configuration
    • 🎁GFX Giveaway
      • 🔨Installation
      • ⚙️Configuration
    • 🛍️GFX Pawnshop
      • 🔨Installation
      • ⚙️Configuration
    • 🪵GFX Lumberjack
      • 🔨Installation
      • ⚙️Configuration
    • 🚙GFX Secondhand Vehicle
      • 🔨Installation
      • ⚙️Configuration
    • 🤖GFX Autopilot
      • 🔨Installation
      • ⚙️Configuration
    • 🗳️GFX Vote
      • 🔨Installation
      • ⚙️Configuration
    • 🟢GFX Safezone
      • 🔨Installation
      • ⚙️Configuration
    • 🎅GFX Christmastruck
      • 🔨Installation
      • ⚙️Configuration
    • 🚔GFX Handcuff
      • 🔨Installation
      • ⚙️Configuration
    • 🚚GFX Trucker Job
      • 🔨Installation
      • ⚙️Configuration
    • 🌱GFX Weed
      • 🔨Installation
      • ⚙️Configuration
    • 🔉GFX DUI Radio
      • 🔨Installation
      • ⚙️Configuration
Powered by GitBook
On this page
  1. Product Docs
  2. GFX Delivery

Configuration

Check the instructions below.

  • Set your sql script

Config.SQLScript = "oxmysql" -- oxmysql // ghmattimysql // mysql-async
  • Set your Interaction Key

Config.InteractionKey = 38
  • Edit your target system

Config.Target = "ox-target" -- "qb-target", "ox-target", "drawtext"

• Set your default avatar photo and your photo settings

Config.NoImage = "assets/delivery-user.png"
Config.ProfilePhotoType = "steam" -- "discord", "steam", "none"
Config.DiscordToken = "" -- Your Discord Bot Token if you use Discord Profile Photo

• Set the deposit amount of spawning a truck

Config.DepositMoney = 1000 
  • Set the level progress details

    • Delivery Point - Points received per package delivery

    • Second Level - Required score for second level

    • Third Level - Required score for third level

    • Abandon Job Time - Time to automatically abandon the job

    • Abandon Job Penalty - Penalty score for abandoning the job

Config.Level  = {
    deliveryPoint = 1,  
    secondLevel = 50,   
    thirdLevel = 100,   
    abandonJobTime = 120, 
    abandonJobPenalty = 5, 
}
  • Set the earnings

    • Basic - Money multiplier for basic package

    • Advanced - money multiplier for advanced package

    • Illegal - money multiplier for illegal package

    • MinContractUserCount - Min number of uses of the contract

    • MaxContractUserCount - Max number of uses of the contract

    • CreatableMaxContract - Max number of contracts a player can create

    • ContractMoney - Contract revenue per use

    • MoneyPerPackage - Money for each package

    • ContractUserIncomePercent - Income percent for each user

    • ContractOwnerIncomePercent - Income percent for contract owner

    Config.Money ={
        Basic = 1, 
        Advanced = 1.5, 
        Illegal = 2, 
        minContractUserCount = 2,
        maxContractUserCount = 5,
        creatableMaxContract = 1,
        contractMoney = 150,     
        moneyPerPackage = 100,   
        contractUserIncomePercent = 0.25, 
        contractOwnerIncomePercent = 0.4, 
    }

  • Set the delivery destinations and blip options

    Config.DeliveryDestinations = {
        blipSprite = 501, 
        blipColor = 26,
        blipName = "Delivery Point",
        Zones = {
            DownTown = {
               vector3(0,0,0)
            },
            SandyShores = {
              vector3(0,0,0)
            },
            PaletoBay = {
               vector3(0,0,0)
            },
        },
    }

  • If you are not using LegacyFuel or ox_fuel you can change the fuel export

function SetFuel(vehicle, fuel)
    exports['LegacyFuel']:SetFuel(vehicle, fuel) -- legacyfuel
    --Entity(vehicle).state.fuel = fuel --ox_fuel
end
PreviousInstallationNextGFX Tebexshop

Last updated 1 year ago

🚚
⚙️