Open MadLad1Clip opened 3 years ago
The data clothes system uses is pulled straight from the game iterating over the existing combinations.
I think that probably the best possible way would be to have categories like GTA Online shops do, but I have not found a way to group the items into categories using only natives.
Only way I could see it being done is creating custom files with data (json or lua) and including them with the resource, but given how many clothes there is (a f***ton), the files would be several megabytes large and it would take considerable time to prepare them.
While developing this resource that was the first thing I tried and with such large files included, the performance degraded massively.
Ah yeah i understand, kinda thoght it would end up being hard to do. I have not looked over ur code fully to see how it all works.
I dont know how easy it would be for you but a way to clean up the clothing and make it a little easier for people than to have to scroll through all the items would be to add a colour option that when a lets say a set of pants are selected that have more than one of its kind the option to change the colour becomes active. This would then make the system a little easier for others to use.