Open Jabelius opened 2 years ago
When I have time (somewhere next week) I can look into to broken native. I hope they didn't change to much. This whole thing as no documentation...
Ouf, somewhere next week is probably a big issue. We probably need to switch to another character script then because no one can change their clothes currently and thats a major issue. :(
If I have time today. I will check it out. Should still have the whole debug function somewhere.
Also need to look into fixing this
Is there any progress on this?
Hoping this gets fixed soon... This resource is so good, sad to see it vanish cause of FiveM's updates.
I made a pull request with a workaround for this. Instead of using the native, I'm accessing root-cause's repository with all the clothing information. Everything else stays the same. While my pull request is waiting for approval, feel free to use my fork.
[script:cui_character] SCRIPT ERROR: @cui_character/server/main.lua:311: attempt to concatenate a nil value (local 'url') [script:cui_character] > ref (@cui_character/server/main.lua:311) [script:cui_character] > TriggerServerCallback (@es_extended/server/functions.lua:172) [script:cui_character] > handler (@es_extended/server/common.lua:114) [ script:es_extended] SCRIPT ERROR: error object is not a string
Native 0x74C0E2A57EC66760 was changed. More info here
Now almost every variation of clothing return nil and shows as undefined.
This may be thing for cfx.re to fix but just to know that this exists.
If someone here has fixed this it would be best to let others know too. I think that there is no easy way to fix this without changing the native.