Page cover

folder-arrow-downInstallation

This page will give you the information you need to setup this resource.

circle-exclamation

Dependencies

Polyzonearrow-up-right by mkafrin qb-corearrow-up-right by qbcore-framework qb-menuarrow-up-right by qbcore-framework or ox_lib's context menuarrow-up-right by Overextended ps-uiarrow-up-right by Project-Sloth (optional) tasksarrow-up-right by thommie (optional)

How to install

  • Download and unzip the thommie-delivery.zip

  • Add "ensure thommie-delivery" to your server.cfg

  • (re)start your server and you are done.

How to add new dealer locations

You can create new locations for dealers very easy, you go to your config.lua and you will search for Config.Dealers (line 5 by default). Now you can follow the template we have made and change the values. (Use the /pzcreate command to get the perfect values)

Dealers Template

[ID] = {
    name = 'Thommie', -- This is the name of the dealer.
    type = 'weed', -- This is the type of package you are delivering.
    hours = { -- The hours of the day that the dealer will open the door
        min = 0,
        max = 24,
    },
    pos = vector4(x, y, z, heading),
    length = 1.25,
    width = 1.0,
    minZ = 0.0,
    maxZ = 2.0,
}

How to add new dropoff locations

You can create new dropoff locations by going to the config.lua and search for Config.DropOffLocations (line 27 by default). Now you can follow the template we have made and change the values to what you want.

Dropoff Locations Template

How to add new packages

You can create new package types by adding those to the config.lua file. Search for Config.Packages (line 20 by default) and add new package types or change the current types.

Packages Template

Last updated