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
Download the script files.
Place the script folder (
dnz_cloth
) into your server's resource directory.Open the
dnz_startscript
file in your server's resource directory.Add the following line to the
Config.Scripts
section ofdnz_startscript
: resourceX = { name = "dnz_cloth", anticheat = false },Save the dnz_startscript file.
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:
Download the dnz_clothshop.
Configure the
dnz_system
table in theconfig.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.
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
andMarkerColor
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.
Save the changes made to the
config.lua
file.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