π Pay & Spray Locations
Easily add locations for pay & spray services, these can be public use or restricted by jobs in Config.Locations
IMPORTANT INFORMATION
The
keyis the location name and must be uniqueZone
coordsandsizemust bevec3Shop
coordsmust bevector3Draw markers for locations can be disabled per location in the
markertableVehicles can be blacklisted from using the pay & spray services in the
blacklisttableJob restrictions can be set via the
jobtable and enabling it
Location Name
The
keyis the location name and must be unique
['Custom Pay & Spray Location'] = {
---
},Blip
If required you can enable blips for each pay & spray location
Blip information can be found here: https://docs.fivem.net/docs/game-references/blips/
Id is the blip id
Colour is the blip colour
Scale is the blip scale
Title is the blip name
Zone
To enable visual debugging of the zone location set
debugtotrueThe
coordsmust be avec3valueThe
siizemust be avec3valueThe rotation is the zone heading
To disable markers for locations set
enabledto false in themarkertableDraw marker information can be found here: https://docs.fivem.net/docs/game-references/markers/
Blacklist Vehicles
You can set vehicles to be blacklisted and unable to use the Pay & Spray services
To blacklist a vehicle ensure
enabledis set totrueDefine the black listed vehicle by spawn name in the
vehiclestable
Job Restrictions
To set a pay & spray location as job restricted set
enabledtotruein thejobtableDefine the job by name in the
allowedtable
Shops
You can set pay & spray locations to have a built in shop system where if required players can purchase required items to use the pay & spray services
The
coordsmust be avector3valueThe draw marker can be disabled if required
The inventory is a table of items available to purchase
The amount is the amount available to purchase at once
The cost is the price of that item per unit to purchase
Spraying
If the location is job locked make sure to set
costto 0 as the jobs are able to use the /pnsbilling command to charge customers for services. If public determine the price for this locaiton to suit your server economy.The duration is the timer for the progress circle to complete the spraying
Define camera offsets for each location for the spraying camera
Enable a required item for spraying if desired. The name is the item name and you can optionally set that item to be removed upon completion
Liveries
If the location is job locked make sure to set
costto 0 as the jobs are able to use the /pnsbilling command to charge customers for services. If public determine the price for this locaiton to suit your server economy.The duration is the timer for the progress circle to complete the livery application
Enable a required item for liveries if desired. The name is the item name and you can optionally set that item to be removed upon completion
Repairing
If the location is job locked make sure to set
costto 0 as the jobs are able to use the /pnsbilling command to charge customers for services. If public determine the price for this locaiton to suit your server economy.The duration is the timer for the progress circle to complete the livery application
Enable a required item for repairs if desired. The name is the item name and you can optionally set that item to be removed upon completion
Last updated