Skip to content

Commit

Permalink
Fix tattoos again
Browse files Browse the repository at this point in the history
  • Loading branch information
TheiLLeniumStudios committed May 11, 2022
1 parent 9d9e966 commit 8072728
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/backward-events.lua
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ end)
RegisterNetEvent("qb-multicharacter:client:chooseChar", function()
local ped = PlayerPedId()
exports['fivem-appearance']:setPedTattoos(ped, {})
ClearPedDecorations(ped);
ClearPedDecorations(ped)

TriggerServerEvent("fivem-appearance:server:resetOutfitCache")
end)
4 changes: 4 additions & 0 deletions client/client.lua
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ RegisterNetEvent('qb-clothes:client:CreateFirstCharacter', function()
skin = "mp_f_freemode_01"
end
exports['fivem-appearance']:setPlayerModel(skin)
-- Fix for tattoo's appearing when creating a new character
local ped = PlayerPedId()
exports['fivem-appearance']:setPedTattoos(ped, {})
ClearPedDecorations(ped)
QBCore.Functions.TriggerCallback("QBCore:HasPermission", function(permission)
local config = getConfigForPermission(permission)
exports['fivem-appearance']:startPlayerCustomization(function(appearance)
Expand Down

0 comments on commit 8072728

Please sign in to comment.