Fix for incorrect server call name (#60)

This commit is contained in:
userMacieG
2020-07-19 23:08:13 +02:00
committed by GitHub
parent cb085f488d
commit b13ba79446
+2 -2
View File
@@ -100,9 +100,9 @@ AddEventHandler('esx_taxijob:putStockItems', function(itemName, count)
end
end)
ESX.RegisterServerCallback('esx_policejob:getPlayerInventory', function(source, cb)
ESX.RegisterServerCallback('esx_taxijob:getPlayerInventory', function(source, cb)
local xPlayer = ESX.GetPlayerFromId(source)
local items = xPlayer.inventory
cb({items = items})
end)
end)