Skip to content
ESX Addons
Accessories

esx_accessories

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

Shops with accessories (hat/helmet, glasses, masks, ears accessories). You can put on or take off the accessories with a menu. Accessories saved in database.

Note: Works only with accessories purchased in the special areas of the clothing store, not via the esx_clotheshop script.

Configuration

  • Config.Price
    • type: integer
    • default: 100
    • description: Price of accessories in the clothing store.
  • Config.EnableControls
    • type: boolean
    • default: true
    • description: Enable or disable controls to put on or take off accessories.
  • Config.DrawDistance
    • type: float
    • default: 10.0
    • description: Distance to draw the shop marker.
  • Config.Size
    • type: table
    • default: {x = 1.5, y = 1.5, z = 1.0}
    • description: Size of the shop marker.
  • Config.Color
    • type: table
    • default: {r = 50, g = 200, b = 50}
    • description: Color of the shop marker.
  • Config.Type
    • type: integer
    • default: 1
    • description: Type of the shop marker.
  • Config.ShopsBlips
    • type: table
    • description: Blips for the shops.
    • layout:
Config.ShopsBlips = {
	Mask = {
		Pos = {
			vector3(-1338.1, -1278.2, 3.8),
		},
		Blip = {sprite = 362, color = 2}
	},
}
  • Config.Zones
    • type: table
    • description: Zones for the shops.
    • layout:
Config.Zones = {
    AccessoryName = {
        Pos = {
            vector3(-1338.1, -1278.2, 3.8),
        },
    },
}