Page cover

Installation and Config

Here you will get your installation guide for the script and how to configure it as per your server.

Buy Script

CFX Post

Youtube Preview

Dependencies

Installation Guide

  1. Download the script from your Keymaster

  2. Unzip the file a5-outfits.zip and place it in your resource folder

  3. In your server.cfg do ensure a5-outfits

  4. Restart your server

Configure Your Resource

Framework Setup

If you renamed your framework from "qb-core" to something else you can change it. Go to a5-outfits/Shared/sh_config.lua and change the value to whatever you renamed your framework to

If you are using Old QBCore without the export. You can enable the option in a5-outfits/Shared/sh_config.lua

Clothing script setup

The scripts supports three clothing scripts. qb-clothing, illenium-appearance and raid_clothes. Make sure you set it up correctly in a5-outfits/Shared/sh_config.lua

Debug Mode

You can enable debugmode in a5-outfits/Shared/sh_config.lua this will allow you to see debug prints this will also enable debug polys

Outfits Menu

Outfits System

The outfits menu can be run using the command "outfits" it will only work in any of the clothing stores. You can change the command paramters from the sh_config.lua

Alternatively, you can enable admin command where the outfits UI can be toggled anywhere for admins.

Outfits Database

The script automatically saves all outfits data into a json database. You do not have to do anything or change any values. The database gets updated on resource stop and on sudden shutdowns of the server including Txadmin restart. In addition to that it saves by default every 5 minutes. You can change that value to something lower or higher.

Clothing Menu

Clothing Menu

The clothing menu is where a player can toggle various parts of his clothing. You can setup the key and the default clothing (when he takes them off) all through the sh_config.lua

In addition to that, you can set some restriction on where he cannot use the clothing menu. For example when he is in a car

Camera Mode

Camrea Mode

The camera mode allows players to use a UI where they can change their character FOV and take amazing pictures with filters. The system uploads pictures to discord and saves their values in a small gallery included. Through the sh_config.lua you can disable the camera mode and setup the values as per your liking.

Extra Functions

These functions are extra for your customisation purposes. You can use them to trigger things like logs for example

Locale

You can change some certain Script locales by heading to a5-outfits/Shared/sh_lang.lua

Extra Information

  • This resource saves your outfits. So it is advisable to disable outfit saving from qb-clothing or illineum_apperances

  • Default command to open the menu is /outfits

  • You can trigger the outfits UI using command provided in clothing store (/outfits) or using following Server Event: TriggerServerEvent("a5-outfits:server:OpenUI") This will open the UI. Useful to trigger from Housing script or using qb-target in certain place

  • Default polyzones are created for all clothing shops

  • Sometimes inside interiors the Clothing Toggle Menu camera transitation will cause issue as it clashes with a wall. The camera by default is disabled inside interiors in the Shared Config but you can enable it

Last updated