
π₯Deliveries
Adding more delivery locations to the resource is easily achieved by adding an addition to
Config.Jobdeliveriesin thedeliveries.luafile
The
vehicle plateMUST be a MAXIMUM OF 4 CHARACTERS e.g.ATOMorBURG
Location Name
The
keyis 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
---
},
}General Settings
Define various core settings for each delivery location
minRankis the minimum job rank required to start deliveriesmaxDeliveriesis the minimum and maximum amount of deliveries that will populate the list each timerefreshTimeris the time in minutes before the delivery list is refreshed once all deliveries are completeduniqueDeliveriesdetermines whether a players delivery list is unique to them or shared between employeescoordsis the delivery vehicle spawn coords and must bevector4nameis the spawn name of the vehicle you wish to use for deliveriesThe
vehicle plateMUST be a MAXIMUM OF 4 CHARACTERS e.g.ATOMorBURG
Ped Models
Define ped models that can be spawned as the delivery ped for players to interact with
Please note customer names are generated at random and as a result may not match the gender of the ped spawned
Ped models can be found here: https://docs.fivem.net/docs/game-references/ped-models/
Ped Coords
Define delivery ped spawn coords
These coords must be
vector4and are selected at random for each delivery generated
Rewards & Payments
Define the payment type for the delivery location either
cashorbankEnabled tips if required and define the tip chance and min and max amount receieved from each delivery
Delivery Order Items
Define items for each order. Orders can be multiple items or just a single one
The
nameis the item nameDefine the
min & maxamount for each item in the orderDefine the
min & maxpayment amount for each item in the order
Finished Config
Below is an example of a finished configuration file for
deliveries.lua
Last updated