PainedPsyche / cui_character

An advanced character and clothes editor for esx framework that aims to be comfortable to use, hide complexity and blend in with original GTA V interface elements.
73 stars 47 forks source link

Fix clothing issue #76

Open LostJ3ster opened 2 years ago

LostJ3ster commented 2 years ago

As many requested, here is a fix/workaround for the broken functions "GetComponentsData" and "GetPropsData".

On this fix I'm performing an Http Request to root-cause's v-clothingnames repository, to receive the clothing information & names. After receiving it, the data will be processed like in the old functions (blacklists & names, only insert clothing with names ~= "NULL" etc...).

LostJ3ster commented 2 years ago

Due to a users request, I've implemented a way to load the json files directly from the resource, instead of performing a http request for every clothing file. That way the loading time gets highly reduced.

GodGodGodYongJae commented 2 years ago

good