diff --git a/esxBaseFunction.lua b/esxBaseFunction.lua index ad3b921..d0d62cc 100644 --- a/esxBaseFunction.lua +++ b/esxBaseFunction.lua @@ -188,7 +188,7 @@ function PlayerInventoryGiveItem(player, itemType, itemName, amount) return true end else - Player.addInventoryItem(itemName, amount) + XPlayer.addInventoryItem(itemName, amount) return true end elseif itemType == 'account' then