Page cover

πŸ›’Stores

  • You can easily add custom stores to purchase outfits from by defining the shop name and relevant information required in Config.Stores

  • You can define custom images for the store (host images using fivemerr or similar)

  • Choose between a spawned ped or a target circle zone for interaction

  • Define restrictions if required


  • The key is the shop name and must be unique

['My Custom Outfit Store'] = { -- the key is the store name
    --
},

  • To disable a store set enabled to false

  • Define an image URL for the shop logo (host using fivemerr or similar)

  • Icon is the target icon

  • Label is the target label

  • Distance is the target distance (do not set this higher than Config.Security.MaxDistance as it will result in false security warnings and checks)

  • Define restrictions based on job or gang requirements by defining their respective names if enabled

  • Names for jobs and gangs must be in your jobs.lua and gangs.lua respectively



  • If set to enabled then a ped will spawn at the shop

  • If set to false a circle zone will spawn at the shop

  • If using the ped define the model to spawn

  • Define coordinates for the shop locations - these must be vector4


  • Define items available to purchase at this store and its respective price

  • Name is the item name and must be in your items.lua and also defined in Config.Outfits

  • Price is the price to purchase that item. Prices can also be set to 0 for free items


  • Below is what a finished config should look like for a custom outfit store with no job or gang restrictions

Last updated