esx_multicharacter icon indicating copy to clipboard operation
esx_multicharacter copied to clipboard

esx_tattoosShops problem. Not saving tattoo on relog

Open martink1337 opened this issue 3 years ago • 5 comments

The problem is simple, when you use the tattoo script, make your tattoos and relog the game - your tattoo is not saving. Without multicharacter is working. The problem for me is from some skin function.

martink1337 avatar Dec 28 '21 15:12 martink1337

I discovered the problem came from client : " if not isNew then TriggerEvent('skinchanger:loadSkin', skin or Characters[spawned].skin) end ". But still don't know how to fix it.

martink1337 avatar Dec 28 '21 16:12 martink1337

I'd recommend https://github.com/smallo92/xnTattoos over esx_tattoosshop. As for the issue, I'll have to look into the events being used.

thelindat avatar Jan 04 '22 03:01 thelindat

I'd recommend https://github.com/smallo92/xnTattoos over esx_tattoosshop. As for the issue, I'll have to look into the events being used.

I have the same issue using that tattoo shop as well

LoyaltyDeadShot avatar Jan 18 '22 21:01 LoyaltyDeadShot

I discovered the problem came from client : " if not isNew then TriggerEvent('skinchanger:loadSkin', skin or Characters[spawned].skin) end ". But still don't know how to fix it.

any solutions ?

LoyaltyDeadShot avatar Jan 18 '22 21:01 LoyaltyDeadShot

I discovered the problem came from client : " if not isNew then TriggerEvent('skinchanger:loadSkin', skin or Characters[spawned].skin) end ". But still don't know how to fix it.

Got it Fix Add this on the tattooshop script client side : RegisterNetEvent('esx:playerLoaded') AddEventHandler('esx:playerLoaded', function(playerData) -- Call Tattoos cb end)

LoyaltyDeadShot avatar Jan 18 '22 21:01 LoyaltyDeadShot