🏠Pay & Spray Locations

Easily add locations for pay & spray services, these can be public use or restricted by jobs in Config.Locations


  • The key is the location name and must be unique

  • Zone coords and size must be vec3

  • Shop coords must be vector3

  • Draw markers for locations can be disabled per location in the marker table

  • Vehicles can be blacklisted from using the pay & spray services in the blacklist table

  • Job restrictions can be set via the job table and enabling it


  • The key is the location name and must be unique

['Custom Pay & Spray Location'] = {
    ---
},


  • To enable visual debugging of the zone location set debug to true

  • The coords must be a vec3 value

  • The siize must be a vec3 value

  • The rotation is the zone heading

  • To disable markers for locations set enabled to false in the marker table

  • Draw marker information can be found here: https://docs.fivem.net/docs/game-references/markers/


  • You can set vehicles to be blacklisted and unable to use the Pay & Spray services

  • To blacklist a vehicle ensure enabled is set to true

  • Define the black listed vehicle by spawn name in the vehicles table


  • To set a pay & spray location as job restricted set enabled to true in the job table

  • Define the job by name in the allowed table


  • 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 coords must be a vector3 value

  • The 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


  • If the location is job locked make sure to set cost to 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


  • If the location is job locked make sure to set cost to 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


  • If the location is job locked make sure to set cost to 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