dnz_cloth

Introduction

The dnz_clothshop is a clothing shop system for a game server. It provides various features such as customizable colors, saved outfits, and adjustable blip and purchase prices.

Installation

  1. Download the script files.

  2. Place the script folder (dnz_cloth) into your server's resource directory.

  3. Open the dnz_startscript file in your server's resource directory.

  4. Add the following line to the Config.Scripts section of dnz_startscript: resourceX = { name = "dnz_cloth", anticheat = false },

  5. Save the dnz_startscript file.

  6. Customize the configuration in the config.lua file according to your preferences. By adding the dnz_cloth script to the dnz_startscript, you ensure that it is properly loaded and managed with other scripts.

Setup

To set up the dnz_clothshop, follow the instructions below:

  1. Download the dnz_clothshop.

  2. Configure the dnz_system table in the config.lua file:

    • Set the Token variable to your security token obtained from @dnz.wtf.

    • Set the getSharedObject variable to the appropriate shared object for your server (e.g., "esx:getSharedObject").

    • Set the ScriptName variable to the desired name for the script.

  3. Customize the other variables in the Config table according to your preferences:

    • Modify the Blip table to set the type, color, size, and text of the clothing shop blip.

    • Adjust the Price variable to set the default purchase price for clothing items.

    • Modify the DrawDistance variable to set the distance at which the clothing shop can be seen.

    • Customize the MarkerSize and MarkerColor variables to set the size and color of the shop marker.

    • Set the MarkerType variable to specify the type of marker to be displayed.

    • Add clothing shop locations to the Shops table as needed.

  4. Save the changes made to the config.lua file.

  5. Start the game server and ensure that the dnz_clothshop script is loaded and functioning properly.

Discord Server

For discussions, questions, and support related to this project, please join our Discord server.

Last updated