qbcore-framework / qb-clothing Goto Github PK
View Code? Open in Web Editor NEWClothing Script Used With QB-Core :shirt:
License: GNU General Public License v3.0
Clothing Script Used With QB-Core :shirt:
License: GNU General Public License v3.0
Hey, is it possible to remove the face changing options from the clothing shops once a player makes his character?
Also , if a player picks other than the first male model, it will go straight to female models, resulting in the player being stucked in female models, even though he had choosen the male gender
need a function to put in my multi char to load clothes hair and other stuff on char selection can i get the function?
is there a way to remove specific clothings from the selection, like the admin suite?
Character Creator:
Mother & Father face selection, face blending, skin selection, and skin blending is missing.
Makeup/Overlays missing:
Sun Damage, Blemishes, Body Blemishes, Complexion, Chest Hair is missing
(Noted in another issue) Hair Highlight is missing.
When I want to change the hair‘s color of NPCPed, nothing happens. (I have tried all Peds that have the function of changing hair's hair color, But, All of them,there is no response),Does anyone know how I should modify so that I can change the hair color of NPCPed normally?If possible, I am willing to pay for those who provide me with effective help
ive looked up many yt vids and still unsure how to add clothes to the menu, i dont want vmenu, or any other menus just clothes in this menu in the shop
Doesn't show any presets in presets tab on every job clothing locations
only thing missing from the script is hair highlights
after i get punched when i try to use the command /hat appear the message i dont have any hat
what can i do
Is it possible to add in Sun Damage and Complexion options? I have tried, but cannot seem to find the proper name for the source/data. Neither can I seem to figure out what "Clothing Category" it belongs under in the code. (variation, ageing, overlay, etc). It is also asking for a ped number?
Any tips?
Decals are not applied when selecting preset uniforms.
Hi there,
I added some custom clothes tried with 2 different packs, drag and drop ready. When doing so I lose the ability to take off my shirt and see my torso, instead I see another shirt.
I cannot nail down why this is, the clothes drag and drop on another server fine, can anyone give me a hand if they know or let me know if they are facing the same issue?
Thank you!
The face changing option and the ped model option are still available in the clothing shops , after the new update.
Is it just for me? Is there something I can do do disable it?
Thanks in advance!
[ script:oxmysql]
[ script:oxmysql] [ERROR] qb-clothing was unable to execute a query!
[ script:oxmysql] Duplicate entry '0' for key 'PRIMARY'
[ script:oxmysql] INSERT INTO playerskins (citizenid, model, skin, active) VALUES ('AWF32397', 1885233650, '{"cheek_1":{"defaultItem":0,"texture":0,"defaultTexture":0,"item":0},"nose_4":{"defaultItem":0,"texture":0,"defaultTexture":0,"item":0},"eye_opening":{"defaultItem":0,"texture":0,"defaultTexture":0,"item":0},"ear":{"defaultItem":-1,"texture":0,"defaultTexture":0,"item":-1},"shoes":{"defaultItem":1,"texture":0,"defaultTexture":0,"item":12},"accessory":{"defaultItem":0,"texture":0,"defaultTexture":0,"item":0},"glass":{"defaultItem":0,"texture":0,"defaultTexture":0,"item":0},"moles":{"defaultItem":-1,"texture":0,"defaultTexture":0,"item":-1},"hair":{"defaultItem":0,"texture":0,"defaultTexture":0,"item":19},"lipstick":{"defaultItem":-1,"texture":1,"defaultTexture":1,"item":-1},"chimp_bone_lowering":{"defaultItem":0,"texture":0,"defaultTexture":0,"item":0},"hat":{"defaultItem":-1,"texture":0,"defaultTexture":0,"item":-1},"torso2":{"defaultItem":0,"texture":0,"defaultTexture":0,"item":11},"beard":{"defaultItem":-1,"texture":1,"defaultTexture":1,"item":2},"eyebrown_forward":{"defaultItem":0,"texture":0,"defaultTexture":0,"item":0},"blush":{"defaultItem":-1,"texture":1,"defaultTexture":1,"item":-1},"nose_2":{"defaultItem":0,"texture":0,"defaultTexture":0,"item":0},"nose_1":{"defaultItem":0,"texture":0,"defaultTexture":0,"item":0},"neck_thikness":{"defaultItem":0,"texture":0,"defaultTexture":0,"item":0},"chimp_hole":{"defaultItem":0,"texture":0,"defaultTexture":0,"item":0},"bag":{"defaultItem":0,"texture":0,"defaultTexture":0,"item":0},"chimp_bone_lenght":{"defaultItem":0,"texture":0,"defaultTexture":0,"item":0},"jaw_bone_back_lenght":{"defaultItem":0,"texture":0,"defaultTexture":0,"item":0},"nose_3":{"defaultItem":0,"texture":0,"defaultTexture":0,"item":0},"lips_thickness":{"defaultItem":0,"texture":0,"defaultTexture":0,"item":0},"eyebrows":{"defaultItem":-1,"texture":1,"defaultTexture":1,"item":9},"arms":{"defaultItem":0,"texture":0,"defaultTexture":0,"item":11},"jaw_bone_width":{"defaultItem":0,"texture":0,"defaultTexture":0,"item":0},"vest":{"defaultItem":0,"texture":0,"defaultTexture":0,"item":0},"t-shirt":{"defaultItem":1,"texture":0,"defaultTexture":0,"item":6},"eyebrown_high":{"defaultItem":0,"texture":0,"defaultTexture":0,"item":0},"decals":{"defaultItem":0,"texture":0,"defaultTexture":0,"item":0},"face":{"defaultItem":0,"texture":8,"defaultTexture":0,"item":11},"cheek_3":{"defaultItem":0,"texture":0,"defaultTexture":0,"item":0},"cheek_2":{"defaultItem":0,"texture":0,"defaultTexture":0,"item":0},"makeup":{"defaultItem":-1,"texture":1,"defaultTexture":1,"item":-1},"ageing":{"defaultItem":-1,"texture":0,"defaultTexture":0,"item":-1},"eye_color":{"defaultItem":-1,"texture":0,"defaultTexture":0,"item":5},"nose_0":{"defaultItem":0,"texture":0,"defaultTexture":0,"item":0},"bracelet":{"defaultItem":-1,"texture":0,"defaultTexture":0,"item":-1},"watch":{"defaultItem":-1,"texture":0,"defaultTexture":0,"item":-1},"chimp_bone_width":{"defaultItem":0,"texture":0,"defaultTexture":0,"item":0},"mask":{"defaultItem":0,"texture":0,"defaultTexture":0,"item":0},"nose_5":{"defaultItem":0,"texture":0,"defaultTexture":0,"item":0},"pants":{"defaultItem":0,"texture":4,"defaultTexture":0,"item":23}}', 1)
Hi there,
If someone is in the clothing menu and they hit cancel their clothing defaults to the starters clothing, instead of just staying the same...
any fix?
After selecting a preset for a certain job, the outfit applies, however does not instantly apply the badge/logo/decal. However, it does set it as a part of the skin, since upon relogging, the correct badge is applied.
Decals do not save when saving an outfit, they also do not remove when loading an outfit that does not have them. Only way to change them is to go to the clothing store
Its possible to add Grades fór police outfits ?
been able to change float opacity. i would like to be able to change the opacty on makeup. many players use some makeup do do scars etc. but they often dont use 100% opacity. like it is now there is no ability change it.
SET_PED_HEAD_OVERLAY(Ped ped, int overlayID, int index, float opacity)
Is it possible to fix the problem with the holes in clothes? (I know its a problem with all clothes scripts) Maybe it
s possible to deactivate arms and t-shirts in the selection and automatically add to every Torso the right arms/t-shirts so that there aren`t any holes or invisible bodys anymore.
Normal t-shirts which aren´t buggy could also be integrated in the Torso section.
I would appreciate it if you can fix this or maybe show off a way how i can fix this on my own.
Make more categories for better customization and add tattoos
like its now u can go from 0 and upwards on the scale. i know that on esx u can also decrease the nose size etc. is this something we can implement?
sup bro
If you can, it would be nice if you can spllit the face change option from the clothing shop .. cuz it not good to have a face changing option in the clothing shop.
I already removed it from my server and made 2 qb-clothing to avoid it.
Digging around with another thing I'm working on in clothing, I think I've found an unintended side-effect of loading a new character. qb-clothes:loadSkin
will get stuck inside a HasModelLoaded
check forever
Lines 1570 to 1584 in 18784fb
As long as no playerskin already exists when called from qb-clothes:loadPlayerSkin
Line 28 in 18784fb
I think the thread should probably not run if model
is false/undefined?
I would have made a PR, but seeing as there are unused variables passed around that are semantically correct (new
) but not used in the thread, I feel like maybe the function isn't complete yet or wasn't ever implemented as intended, so I've just left this as an issue.
Due to getting complaints from my female players in my community about faces being a little too many and not being able to find a clothing / character customisation menu that actually works natively with QB, I'd like to suggest getting the parental choosing feature to allow for better face customisation, Since this is an issue with the standard QBCore character creation..
I would just convert a script over from ESX but i simply dont know how to, and i'm sure these are features that people would love to see anyways..
Same goes for the possibility of choosing a secondary haircolour for your hair to allow for "frosted tips" and such!
Sincerely, Zhort. Owner and main dev of ThunderRoad RP.
commands aren't working for some reason
If you make an outfit with a decal line, they do not change to the number.
Dear Reader,
Is there an option to Add Price in Clothing stores?
If its Availible let me know what i need to do :D
its not saving hats
Just throwing an idea in here but what if in the config we could pick weather to charge players for buying clothes from the shop having pricing similar to qb-customs where each category has a set price
Hello , how can I remove the peds from the selection, and leave only the clothing options?
Thanks in advance !
Hi,
Im getting this error
attempt to index a nill value (field job)
client/main.lua 437
i got it straight from github im will have te clothing rooms for jobs
Add a new optión where the admin menu can open to player the clothing menu but different, where they can change the player model to a ped, and clothing menu dont have the player model ped.
Hello , when creating a character , after choosing male option , only the male default ped is available, and if switched to the next ped it only shows female peds , even when trying to get back to the number 1 ped (male default), it only shows de female option.
I haven't made any changes to the script what so ever.
my qb-framework is all up to date do the latest builds
Is it just for me?
What can i do?
Thanks for the attention , and sorry for the bad english!
The users are able to reskin their carracters in stores. It would be nice to remove that from the menu in the stores.
PR #36 completely hard crashes clients if using a npc ped
Using most up to date everything as of submitting
windows
local
How to recreate:
I think the simplest solution would be to force 'mp_f_freemode_01' or 'mp_m_freemode_01' if the player chooses to cancel the default character creator.
In barber shop I can change my nose and other body things, in clothing shop I can change my face. In RP server it's not normal.
Excuse me, is there a Mother & Father face selection now?,
or is it still under development because of the QB-Core Framework?
sorry my english not good
I get the error: citizen:/scripting/lua/scheduler.lua:1155: No such export createPrompt in resource qb-prompts
Detailed face shapes can come and the intensity can be adjusted in the beard parts, there is a bug, some players are using it maliciously, we made this in our own server by making the man invisible on our server, so that he only crashes, otherwise the whole server can crash, all players can be dropped from the game if we pass the maximum number in face setting or other things in writing and we get it back.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.