🐌
TZMC Documentation
  • 🧍Standalone
    • 📣Server Announcements
      • 🛠️Config
      • 🔠Rockstar Text Formatting
      • 💾Changelog
    • 🛂Player Report System (Discord)
      • 🛠️Config
    • ⚡Advanced Blackout/Power Cut (ESX/Standard)
      • 🛠️Config
      • 🗺️Region Examples
    • ⏱️Time Trial
      • 🛠️Config
    • 🚛Black Market Van
      • 🛠️Config
      • 💾Changelog
    • 🃏Freemode Collectibles
      • 🛠️Config
    • Crypto Heist
      • 🛠️Config
      • 🖥️Server Layout (ID's)
    • 🗺️Cinematic City Tour Guide
      • 🛠️Config
      • 💾Changelog
  • 🎮QB-Core
    • 🐕Animal Patting
      • 🛠️Config
    • 📦Amazon Delivery
      • 💽Installation
      • 🛠️Config
      • 💾Changelog
    • 📯Horny's Burger Job
      • 🛠️Config
    • 🍕Pizzeria Job
      • 🛠️Config
    • 🍔Burger Shot Job
      • 🛠️Config
    • 🚚Advanced Tow Trucking Job
      • 🛠️Config
    • 🧑‍🌾Gardner Job
      • 🛠️Config
    • 🚦Stolen Signs
      • 🛠️Config
    • 🌿Weed Delivery Run
      • 🛠️Config
    • 👔Ponsonbys Heist
      • 🛠️Config
      • 💾Changelog
    • 🔐Password Lockers
      • 🛠️Config
      • 💾Changelog
    • 🚗Chopping
      • 🛠️Config
      • 💾Changelog
    • 🚙Car/Boat/Plane Rental
      • 🛠️Config
      • 💾Changelog
    • 🆔ID Fraud
      • 🛠️Config
    • 🖥️IT Job
      • 🛠️Config
    • 🍸Cyberbar Job
      • 🛠️Config
    • ⚡City Blackout/Power Cut
      • 🛠️Config
    • ⚡Advanced Blackout/Power Cut
      • 🛠️Config
      • 🗺️Region Examples
    • 🛒Vending Machine & Watercooler
      • 🛠️Config
      • 💾Changelog
    • 🔌Electrical Job
      • 🛠️Config
    • 🐈UwU Cat Cafe Job
      • 🛠️Config
    • ☕Bean Machine Job
      • 🛠️Config
    • 🦞Pearl's Seafood Restaurant Job
      • 🛠️Config
    • 🍔Up-N-Atom Burger Job
      • 🛠️Config
    • 🚁Blimp Advert Job
      • 🛠️Config
    • 🚮Begging & Garbage Searching
      • 🛠️Config
      • 💾Changelog
    • 🎁Loot Box Drops
      • 🛠️Config
    • ⛽Fuel Theft
      • 🛠️Config
      • 💾Changelog
    • 🍕Pizza Boy Delivery
      • 🛠️Config
    • 📦Parcel Theft
      • 🛠️Config
      • 💾Changelog
    • 🚛Forklift Delivery Job
      • 🛠️Config
      • 💾Changelog
    • 🏗️Container Stashes
      • 🛠️Config
    • 📮Postal Password Locker
      • 🛠️Config
    • 🪙Coin Pinching
      • 🛠️Config
  • 🎲ESX
    • ⚡Advanced Blackout/Power Cut (ESX/Standard)
      • 🛠️Config
      • 🗺️Region Examples
Powered by GitBook
On this page
  1. QB-Core
  2. Amazon Delivery

Config

TZMCAmazonDeliveryConfig = {}

--[[
 
    INSTALLATION
 
    1.  Navigate to .../[qb]/qb-core/shared/items.lua
    2.  Scroll to the bottom of the item list and paste the following text - https://pastebin.com/ufjJ7V6p - It should look like this https://ibb.co/g3frFBv (Bear in mind you can alter the weight of the parcel)
    3.  Once added, navigate to .../[qb]/qb-inventory/html/images/ - Paste the following picture into the images folder hhttps://ibb.co/RBk60zc. Make sure the file is called 'parcelBox.png'
    4.  Once added, navigate to .../[qb]/qb-inventory/html/js/app.js
    5.  Scroll down to around line 400 where you should see a function called 'FormatItemInfo'. Paste the following text before you see the words 'else if' - https://pastebin.com/sh0386va - It should look like this https://ibb.co/ZhdB0Wj
    6.  You are now done.
 
]]--

TZMCAmazonDeliveryConfig.MaxDeliveries = 5
TZMCAmazonDeliveryConfig.PaymentType = 'bank'
TZMCAmazonDeliveryConfig.MinimumPayment = 250
TZMCAmazonDeliveryConfig.MaximumPayment = 750
TZMCAmazonDeliveryConfig.CompletedPaymentAmount = 1000 -- This is bonus given to the player for completing all deliveries
TZMCAmazonDeliveryConfig.QuitCooldownTime = 900 -- When a player quits, they will need to wait this long to do another job. This prevents players from trying to get an easy delivery run by quitting and trying again every time.

-- COMAND --

TZMCAmazonDeliveryConfig.StopJobCommand = 'stopjob'
TZMCAmazonDeliveryConfig.StopJobCommandHelpText = "Stop the job you're currently active on"

-- NOTIFICATIONS --

TZMCAmazonDeliveryConfig.UseQBNotify = true
TZMCAmazonDeliveryConfig.NotificationEvent = "" -- If you're using your own notification system, enter the event here. If you leave this blank and set QBNotify to false this will use the FiveM chat to notify the player. The parameters are (text, status) Status can be either 'success' or 'error'.

TZMCAmazonDeliveryConfig.SuccessTitle = 'Success'
TZMCAmazonDeliveryConfig.ErrorTitle = 'Error'
TZMCAmazonDeliveryConfig.ForgotParcel = "Seems you forgot to collect the customer's parcel..."
TZMCAmazonDeliveryConfig.AlreadyInJob = "You're in a job already"
TZMCAmazonDeliveryConfig.RecentlyQuitJob = "You recently quit a job"
TZMCAmazonDeliveryConfig.JobStarted = "Job started, head to the first delivery spot ("..TZMCAmazonDeliveryConfig.MaxDeliveries.." parcels required)"
TZMCAmazonDeliveryConfig.NotInJob = "You're not in a job"
TZMCAmazonDeliveryConfig.NextDelivery = "Deliver the next package"
TZMCAmazonDeliveryConfig.CurrentPoint = "Delivery point"
TZMCAmazonDeliveryConfig.FullDeliveryCompleted = "Delivery completed! You have earned a bonus of $"..TZMCAmazonDeliveryConfig.CompletedPaymentAmount..' for completing all deliveries'
PreviousInstallationNextChangelog

Last updated 11 months ago

🎮
📦
🛠️