Skip to content
ESX Addons
Shops

esx_shops

This Resource allows Players to shop til they Drop!

You Configure everything within the Config.lua, and don’t worry about those pesky cheaters, we have Security Steve on the door to protect you and your city!


https://github.com/esx-framework/esx_shops


Configuration

  • Config.DrawDistance

    • How far away you can see the marker
    • Default: 7.5
    • type: number
  • Config.MarkerSize

    • The size of the marker
    • Default: {x = 1.1, y = 0.7, z = 1.1}
    • type: table
  • Config.MarkerType

  • Config.MarkerColor

    • The color of the marker
    • Default: {r = 50, g = 200, b = 50, a = 200}
    • type: table
  • Config.Zones

    • The Zones where the shops are located
    • Default: {}
    • type: table
  • Zone Format

shopName: string = {
  Items = {
      {
          name: string = "bread",
          label: string = "Bread",
          price: number = 5
      }
  },
  Pos: vector3[] = {
        vector3(0.0, 0.0, 0.0)
  },
  Size: number = 0.8 -- Blip Size
  Type: number = 59 -- Blip Type
  Color: number = 25 -- Blip Color
  ShowBlip: boolean = true -- Show Blip on Map
  ShowMarker: boolean = true -- Show Marker
}

Requirements