Page cover

πŸ“₯Deliveries

  • Adding more delivery locations to the resource is easily achieved by adding an addition to Config.Jobdeliveries in the deliveries.lua file

  • The vehicle plate MUST be a MAXIMUM OF 4 CHARACTERS e.g. ATOM or BURG


circle-check
  • The key is the location name and must match throughout

--delivery settings per job delivery location
Config.JobDeliveries = {
    ['Example Job Delivery Location'] = { -- the key is the location name and must match throughout
        ---
    },
}

circle-check
  • Define various core settings for each delivery location

  • minRank is the minimum job rank required to start deliveries

  • maxDeliveries is the minimum and maximum amount of deliveries that will populate the list each time

  • refreshTimer is the time in minutes before the delivery list is refreshed once all deliveries are completed

  • uniqueDeliveries determines whether a players delivery list is unique to them or shared between employees

  • coords is the delivery vehicle spawn coords and must be vector4

  • name is the spawn name of the vehicle you wish to use for deliveries

  • The vehicle plate MUST be a MAXIMUM OF 4 CHARACTERS e.g. ATOM or BURG


circle-check

circle-check
  • Define delivery ped spawn coords

  • These coords must be vector4 and are selected at random for each delivery generated


circle-check
  • Define the payment type for the delivery location either cash or bank

  • Enabled tips if required and define the tip chance and min and max amount receieved from each delivery


circle-check
  • Define items for each order. Orders can be multiple items or just a single one

  • The name is the item name

  • Define the min & max amount for each item in the order

  • Define the min & max payment amount for each item in the order


circle-check
  • Below is an example of a finished configuration file for deliveries.lua

Last updated