🛠️Installation
Welcome to our installation guide! In this section, we'll walk you through the steps to effortlessly set up the Script S-Clothingshop!
Clothingshop System Installation
Follow this steps to install the script:
- Download the Script from Keymaster 
- Drag the Script into your resources 
- Add this to you your server.cfg: - start S-Clothingshop
- If the SQL file doesn't insert automatically, insert the SQL file in your database by hand. 
CREATE TABLE IF NOT EXISTS `SClothingOutfits` (
  `index` int(11) NOT NULL AUTO_INCREMENT,
  `identifier` varchar(50) DEFAULT NULL,
  `outfitname` varchar(50) NOT NULL,
  `model` varchar(50) DEFAULT NULL,
  `skin` text DEFAULT NULL, 
  `qrcode` varchar(50) DEFAULT NULL,
  `permqrcode` varchar(50) DEFAULT NULL,
  PRIMARY KEY (`index`),
  KEY `identifier` (`identifier`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4;- For ESX 1.1 and 1.2 insert this in <es_extended> > <server> > <functions.lua> under ESX.GetPlayers 
function ESX.GetExtendedPlayers(key, val)
	local xPlayers = {}
	for k, v in pairs(ESX.Players) do
		if key then
			if (key == 'job' and v.job.name == val) or v[key] == val then
				xPlayers[#xPlayers + 1] = v
			end
		else
			xPlayers[#xPlayers + 1] = v
		end
	end
	return xPlayers
end- Restart the Server and play S-Clothingshop on your Server! 
Thats All! Enjoy the Script on your Server!
Last updated
