You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After select a tattoo and confirm you will be charged for a cost on each confirm but after all if you click on save button it will charge again
P.S walkaround if don't need tattoo charged twice after confirm on each zone then click cancel.
The text was updated successfully, but these errors were encountered:
--> Add if not shopType == 'tattoo' then TriggerServerEvent("illenium-appearance:server:chargeCustomer", shopType) end
--> or
--> Replace OpenShop() with code below
function OpenShop(config, isPedMenu, shopType)
lib.callback("illenium-appearance:server:hasMoney", false, function(hasMoney, money)
if not hasMoney and not isPedMenu then
lib.notify({
title = "Cannot Enter Shop",
description = "Not enough cash. Need $" .. money,
type = "error",
position = Config.NotifyOptions.position
})
return
end
client.startPlayerCustomization(function(appearance)
if appearance then
if not isPedMenu then
if not shopType == 'tattoo' then
TriggerServerEvent("illenium-appearance:server:chargeCustomer", shopType)
end
end
TriggerServerEvent("illenium-appearance:server:saveAppearance", appearance)
else
lib.notify({
title = _L("cancelled.title"),
description = _L("cancelled.description"),
type = "inform",
position = Config.NotifyOptions.position
})
end
Framework.CachePed()
end, config)
end, shopType)
After select a tattoo and confirm you will be charged for a cost on each confirm but after all if you click on save button it will charge again
P.S walkaround if don't need tattoo charged twice after confirm on each zone then click cancel.
The text was updated successfully, but these errors were encountered: