Skip to Content

Installation

Basic installation instructions for prism_outfitbag

Asset download

To find the asset, you must have made the purchase using your own keymaster account. Otherwise, you can use the transfer system to move the asset to a different keymaster account.

Once the purchase is made on our official website, you will receive your asset directly in your cfx portalย  in your own panel you can download the asset and install it following the following documentation.

Dependencies

Make sure you have the following resources installed and running before starting prism_outfitbag:

  • ox_lib โ€” Required for shared library functions
  • oxmysql โ€” Required for database operations
  • ox_target or qb-target โ€” Required for bag interaction
  • Framework โ€” QBCore, QBX, or ESX

You must also have a supported appearance system installed. See the Config page for the full list of supported appearance systems.

Database Setup

The resource will automatically create the required database table on first start:

CREATE TABLE IF NOT EXISTS `prism_outfits` ( `id` INT NOT NULL AUTO_INCREMENT, `identifier` VARCHAR(60) NOT NULL, `outfitname` VARCHAR(50) NOT NULL, `outfit` LONGTEXT NOT NULL, PRIMARY KEY (`id`), INDEX `identifier` (`identifier`) );

Item Configuration (optional)

If you want players to use an inventory item to place outfit bags, add the following item to your inventory system.

ox_inventory

["outfit_bag"] = { label = "Outfit Bag", weight = 500, stack = false, close = true, description = "A bag to store and manage your outfits", },

qb-core shared items

["outfit_bag"] = { name = "outfit_bag", label = "Outfit Bag", weight = 500, type = "item", image = "outfit_bag.png", unique = false, useable = true, shouldClose = true, description = "A bag to store and manage your outfits" },

Installation

  • Drag prism_outfitbag into your resources directory
  • Add ensure prism_outfitbag to your server.cfg
  • Edit configuration as desired โ€” See Config for all options
  • Restart your server
Last updated on