Closed cmdflow closed 2 years ago
Upload the altv resource.
BTW: Its armor collection (ID 9) round about drawable 56 which should be lspdfr uniform vest but does show different. This is just one example. Other collections do not work either
When its not working with natives as well its a bug in your clothes resource.
I have 2 clothes ressource. Both working fine just as they are in release branch. Now both do not work in rc. I could not imagine what should be wrong with the ressource as they are made like described in wiki. And they do work in release
Here is the second ressource: https://mega.nz/file/nEJ3ka7a#UAP7v8IlFLLgSJKX66CmKRbb6rlAj6vf43Z5J4dCZMA
Here is how i set the clothes (both ways don't work in RC in meaning of that i can set every standard clothes but not the custom ones added via ressource):
native.setPedComponentVariation(player.scriptID, parseInt(d[0]), parseInt(d[1]), parseInt(d[2]), 2);
player.setClothes(parseInt(clothes[0]), parseInt(clothes[1]),parseInt(clothes[2]), 2);
Does it work with natives?
native.setPedComponentVariation does neither work
Then it must be a problem with your dlc, we have no issues
Okay so what can i try then? I mean it is 2 DLCs packs that functioned perfectly on release branch and still do function properly on release branch
Did you try both ressources i sent you? They work on your testserver with rc branch?
Component 9 with id 56 is a police vest with the first dlc i sent you. But just in release branch. In RC branch this is: https://i.imgur.com/IxJ9KwN.png It has to be something with rc branch
You have to use the setDlcClothes serverside if you want your own dlc to work
That's what i asked in discord an durty said i dont have to use it. I mean how can you decide between dlc and non dlc clothes. That's kinda confusing to develop a ingame shop system which can decide between dlc and non dlc clothes. What's the matter or best practice? I mean before in this ticket natives also should work. I am confused :(
Also what is my dlc number then? When ressource name is "factionwest":
public setDlcClothes(dlc: number, component: number, drawable: number, texture: number, palette?: number): void
Lets discuss that in discord.
requesting models with stuyks charchreator was the issue.
native.requestModel(fModel); native.requestModel(mModel);
Client/server version
Build #6.0-rc15 (rc)
Current behavior Custom clothes do not appear when applying them (does not matter if its done via native or serverside
Expected behavior Custom clothes should appear
Steps to reproduce Try to load https://www.lcpdfr.com/downloads/gta5mods/character/8151-emergency-uniforms-pack-law-order/ as custom clothes. Not working. Working in release tough
Context (environment) Debian 10 server is the operating system
Possible solution needs fix