Fixing updates skin even tho didnt pay (#41)

This commit is contained in:
Yagiz ALP
2020-08-07 13:50:13 +03:00
committed by GitHub
parent b23f5eec5d
commit 9f403c4917
+1 -1
View File
@@ -118,7 +118,7 @@ AddEventHandler('esx_clotheshop:hasExitedMarker', function(zone)
currentAction = nil
if not hasPaid then
TriggerEvent('esx_skin:getLastSkin', function(skin)
ESX.TriggerServerCallback('esx_skin:getPlayerSkin', function(skin)
TriggerEvent('skinchanger:loadSkin', skin)
end)
end