Coder Social home page Coder Social logo

eclipse_clothshop's Introduction

[ESX]Eclipse ClothShop

Requirements

Put eclipse_TattooShopp in your resource directory

Setting config resources\eclipse_BarberShop\config.json

Change language, add new shops, change prices and etc.

image

Installation:

skinchanger:

  1. Go to skinchanger/client/main.lua
  2. Add this code
RegisterNetEvent('skinchanger:buyCloth')
AddEventHandler('skinchanger:buyCloth', function(data) 
	local shopData = json.decode(data)
	TriggerEvent('skinchanger:getSkin', function(skin)
		local characterData = skin
		characterData['torso_1'] = shopData.torso_1
		characterData['torso_2'] = shopData.torso_2
		characterData['tshirt_1'] = shopData.tshirt_1
		characterData['tshirt_2'] = shopData.tshirt_2
		characterData['arms'] = shopData.arms
		characterData['arms_2'] = shopData.arms_2
		characterData['decals_1'] = shopData.decals_1
		characterData['decals_2'] = shopData.decals_2
		characterData['pants_1'] = shopData.pants_1
		characterData['pants_2'] = shopData.pants_2
		characterData['shoes_1'] = shopData.shoes_1
		characterData['shoes_2'] = shopData.shoes_2
		characterData['mask_1'] = shopData.mask_1
		characterData['mask_2'] = shopData.mask_2
		characterData['bproof_1'] = shopData.bproof_1
		characterData['bproof_2'] = shopData.bproof_2
		characterData['chain_1'] = shopData.chain_1
		characterData['chain_2'] = shopData.chain_2
		characterData['bags_1'] = shopData.bags_1
		characterData['bags_2'] = shopData.bags_2
		characterData['helmet_1'] = shopData.helmet_1
		characterData['helmet_2'] = shopData.helmet_2
		characterData['glasses_1'] = shopData.glasses_1
		characterData['glasses_2'] = shopData.glasses_2
		characterData['watches_1'] = shopData.watches_1
		characterData['watches_2'] = shopData.watches_2
		characterData['bracelets_1'] = shopData.bracelets_1
		characterData['bracelets_2'] = shopData.bracelets_2
		characterData['ears_1'] = shopData.ears_1
		characterData['ears_2'] = shopData.ears_2
		ApplySkin(characterData)
		TriggerServerEvent('ECLIPSE:SaveData', json.encode(characterData))
	end)
end)

image

Start your server.

For more questions https://discord.gg/8nXR6rfB2C

eclipse_clothshop's People

Contributors

douglasprod avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.