L3THDocs

Scripts

GoPostal Job

A relaxed crew delivery run. Load the parcels by hand, follow the GPS, and get paid per box.

Requires
ox_lib
Frameworks
ox, qb, esx & qbx
Target & inventory
ox or qb, or your own
Vehicle keys
qbx or qb, or your own

#Install

  1. #Install dependencies

    Install (or update) ox_lib, and start it before this script in your server.cfg.

    github.com/CommunityOx/ox_lib/releases

    0

  2. #Check your inventory, target, keys and notify

    Besides ox_lib, the script needs an inventory, a target, vehicle keys and notifications. Pick yours under system in configs/cl_config.lua: ox and qb resources work out of the box, and qbx_vehiclekeys or qb-vehiclekeys for keys. Using something else? Make your own in utils/cl_utils.lua and utils/sv_utils.lua.

  3. #Add the item

    The job uses one item, the GoPostal box. Find an image for it (items.rainmad.com/ has plenty), name it gopostal_box.png and put it in your inventory's image folder.

    Paste this into ox_inventory/data/items.lua:

    lua
    ['gopostal_box'] = {
      label = 'GoPostal Box',
      weight = 250,
      stack = false,
    },
  4. #Start the script

    • Put the l3th-gopostal folder in your resources folder
    • Add ensure l3th-gopostal to your server.cfg, after its dependencies
    • Restart the server

#Configuration

Go through configs/cl_config.lua and configs/sv_config.lua and set them up to your liking.

#Need help?

Most issues come from a missing dependency or the wrong start order in server.cfg, so run through the steps once more first. Still stuck? See Common problems or open a ticket on Discord.