it’s because you downloaded the source code which needs to build js I believe…
try downloading this:
https://github.com/snakewiz/fivem-appearance/releases/download/v1.1.0/fivem-appearance.zip
I am waiting to see this amazing resource to be updated with save clothes and tattoos also it would be a amazing replace for a lot of servers that using vMenu only for clothes.
hello and great release man, i need help with a thing.
Im tryng to create custom lspd, ems outfits, im trying to use setPedProps. Any tips on how to write the data in config file?
this whole design is very clean and I like it a lot. Is there any chance we’re gonna see tattoos added in the near future?
Is anyone else having an issue where they have to restart the script after joining the server otherwise the UI doesn’t show up? There aren’t any errors showing up it just puts it into the edit view shows the curser then locks you there.
Yeah I have this problem too. I just use the ExecuteCommand native in a server script to restart the fivem-appearance resource when my one of my resources starts as a temporary fix.
Citizen.CreateThread(function()
ExecuteCommand("restart fivem-appearance")
end)
Yeah wouldn’t that restart it for everyone anytime someone joins
Forgot to mention that runs on the server, so it only runs once.
you wanna share it?
Fix for not loading first time
Add :
add_ace resource.[resource name] command allow
in your cfg.
Add :
Citizen.CreateThread(function()
Wait(5000)
print("restart fivem-appearance")
ExecuteCommand("restart fivem-appearance")
end)
In the [resource name] in any server side file.
Sorry for my bad English. But it should work now.
There is something wrong with building the resource btw.
src\styles\global.tsx
Line 1:55: Insert `␍` prettier/prettier
Line 2:1: Insert `␍` prettier/prettier
Line 3:34: Insert `␍` prettier/prettier
Line 4:6: Insert `␍` prettier/prettier
Line 5:15: Insert `␍` prettier/prettier
Line 6:16: Insert `␍` prettier/prettier
Line 7:28: Insert `␍` prettier/prettier
Line 8:16: Insert `␍` prettier/prettier
Line 9:38: Insert `␍` prettier/prettier
Line 10:4: Insert `␍` prettier/prettier
Line 11:3: Insert `␍` prettier/prettier
Line 12:9: Insert `␍` prettier/prettier
Line 13:29: Insert `␍` prettier/prettier
Line 14:41: Insert `␍` prettier/prettier
Line 15:22: Insert `␍` prettier/prettier
Line 16:119: Insert `␍` prettier/prettier
Line 17:4: Insert `␍` prettier/prettier
Line 18:1: Insert `␍` prettier/prettier
Line 19:11: Insert `␍` prettier/prettier
Line 20:21: Insert `␍` prettier/prettier
Line 21:16: Insert `␍` prettier/prettier
Line 22:4: Insert `␍` prettier/prettier
Line 23:3: Insert `␍` prettier/prettier
Search for the keywords to learn more about each error.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
is tattoos avalaible now?
Anyone know if this runs on any framework?
Dont have to build if you used the release.
This will run on any Framework, as stated in the Github:
Disclaimer
This is a development resource, if you don’t use the exports the resource itself will do nothing.
So be prepared to make any changes necessary.
I wanted to change some stuff in it, that’s why I wanted to build it
Aaaah, Fair enough. Its pre-built in the Release. I ran into the same issue the first time, I just didnt attempt to pursue past that.
I’ve added events and functions to save and retrieve your outfit to the internal kvs database under the players identifier, independent of any framework
Event to set character clothes, should be used in a handler such as 'playerSpawned’
TriggerServerEvent('getcharacterclothes')
Event to save outfit (Which I’ve included in the command to open the appearance menu, so it’ll save upon creation):
TriggerServerEvent('updatecharacterclothes', appearance)
I won’t submit it as PR as I doubt this is the kind of contribution the author is looking for - but however, it may prove useful to somebody, so it’s available from my fork
Amazing job! Clean and works amazing. Keep it up
Great release, well done!