Usage

This script idea came from wanting to support a business but not being able to buy anything due no one being on duty. Solution? Backup shop. Help's keep money coming in if no workers are able to turn up.

The items in the config should be items that are crafted, any other items (like ones you can by from a npc shop) is just a cash cow.

You can add or remove items or jobs easily.

This was intended as an addon for my job scripts but can be used with any RP based job role. It's easy to set up and only installation steps are:

  • place the resource in a folder like [jim]

  • No need for SQL as it automatically installs itself

  • Add or remove any jobs or items you want to use to stores.lua.

  • Adjust the prices to the correct amounts (I suggest putting the price higher than if someone was to sell them in person)

  • Enable the jobs you have by going through each job and changing enable = false to enable = true

  • Make sure the spawn locations of the shops NPC's are in a fair location (if doors are locked, don't put them inside?)

  • Bosses can only access the closed shop stash on and off duty through the ped's shop or typing /closedstock

Last updated