Closed CHAlessio closed 1 year ago
I managed to get mine working by editing these 2 lines
https://github.com/qbcore-framework/qb-clothing/blob/main/client/main.lua#L1911 https://github.com/qbcore-framework/qb-clothing/blob/main/client/main.lua#L1917
getOutfits(gradeLevel, Config.Outfits[v.requiredJob])
works for me!
works for me!
What changes did you make to those lines?
works for me!
What changes did you make to those lines?
getOutfits(gradeLevel, Config.Outfits[v.requiredJob]) is wrong. Outfits --->ClothingRooms
i have tried 3 different ways and i still get the same error as above... i am have added a custom job and i added the clothingroom at the job location.
getOutfits(gradeLevel, Config.Outfits[v.requiredJob]) < ---- broken for me
getOutfits(gradeLevel, Config.ClothingRooms[v.requiredJob]) <---- broken as well
and it doesnt work if i have both in there...
i get the error no matter how i edit the code
SCRIPT ERROR: @qb-clothing/client/main.lua:1207: attempt to index a nil value (upvalue 'data')
This issue should be fixed in the next update ( ETA: 24 hours from now )
If I want to open the shop via qb target for the PD I get this error
SCRIPT ERROR: @qb-clothing/client/main.lua:1207: attempt to index a nil value (upvalue 'data')
i have nothing changed only this error comming up