Giter Club home page Giter Club logo

advanced-clothing's Introduction

ADVANCED CLOTHING

Discord - Website

USE OF EXPORT

TriggerServerEvent('bp_clothingv2:checkcharacter')

This export control your “character_skin” table in database.

This is an image

İf your data is empty open character create screen . İf your data is not empty load skins your ped.


GET PLAYER CLOTHINGS

local model,headBlend,headOverlay,headStructure,drawables,props,drawtextures,proptextures,haircolor =exports['bp_clothingv2']:getplayerclothing(xPlayer.identifier)

This event gets all the clothing information of the character

local ped = PlayerPedId() OR CreatePed id

TriggerEvent('bp_clothingv2:pedyukle', ped,model,headBlend,headOverlay,headStructure,drawables,props,drawtextures,proptextures,haircolor)

EXAMPLE :

Information sent from server.lua

This is an image

Information put to ped in client.lua

This is an image


SET JOB CLOTHING TO PLAYER

TriggerEvent('bp_clothingv2:jobclothing', {['tshirt_1'] = 15,['tshirt_2'] = 3,['torso_2'] = 1, ['torso_1'] = 18, ['shoes_1'] = 5,['vest_1'] = 10 ,['pants_1'] = 15, ['mask_1'] = -1 , ['hats_1'] = 5, ['hats_2'] = 1})

You can add and remove job clothing like that . (list like : tshirt_1,tshirt_2,torso_1,torso_2,pants_1,pants_2, shoes_1, shoes_2 .. etc.)

DELETE ALL CLOTHINGS (WARDROBE AND TATTOO)

exports['bp_clothingv2']:deleteplayerclothing(xPlayer.identifier or Player.PlayerData.citizenid)

Deletes all player's clothes, wardrobes and tattoos

ESX LEGACY IDENTITY SETTINGS

FIRST YOU NEED GO BP_CLOTHINGV2 > CONFİG.LUA AND DO FALSE Config.playerload = false and watch the video

Watch the video

ESX MULTICHARACTER

ESX MULTICHARACTER

####Support is not given because all settings are made for esx_skin. I'm just throwing a version that you can use without installing peds

QB MULTICHARACTER INFOS

QB MULTICHARACTER - CLIENT PART

This is an image

QB MULTICHARACTER - SERVER PART

This is an image

QB MULTICHARACTER WARDROBE INSERT AND QB-CLOTHING DEPENCY ( THANKS FOR CosmosFractal )

qb-apartments/client/client.lua line 559:

RegisterNetEvent('apartments:client:ChangeOutfit', function() TriggerServerEvent("InteractSound_SV:PlayOnSource", "Clothes1", 0.4) TriggerEvent('bp_clothingv2:wardrobevent') end)
qb-apartments/fxmanifest.lua:
Remove dependency of qb-clothing

- qb-houses/client/main.lua line 1451:

RegisterNetEvent('qb-houses:client:ChangeOutfit', function() local outfitLoc = vector3(outfitLocation.x, outfitLocation.y, outfitLocation.z) if CheckDistance(outfitLoc, 1.5) then TriggerServerEvent("InteractSound_SV:PlayOnSource", "Clothes1", 0.4) TriggerEvent('bp_clothingv2:wardrobevent') end end)
qb-houses/fxmanifest.lua:
Remove dependency of qb-clothing

- qb-management/client/cl_boss.lua line 204:

RegisterNetEvent('qb-bossmenu:client:Wardrobe', function() TriggerEvent('bp_clothingv2:wardrobevent') end)

- qb-management/client/cl_gang.lua line 49:

RegisterNetEvent('qb-gangmenu:client:Warbobe', function() TriggerEvent('bp_clothingv2:wardrobevent') end)

advanced-clothing's People

Contributors

piskan avatar

Watchers

 avatar

advanced-clothing's Issues

Clothing Job

change of work clothes, how could I go back to my default clothes, thanks in advance

You can add and remove job clothing like that . (list like : tshirt_1,tshirt_2,torso_1,torso_2,pants_1,pants_2, shoes_1, shoes_2 .. etc.)

what would the triggerEvent

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.