From cfe2498416def82a5bf75080d803005890f706ee Mon Sep 17 00:00:00 2001 From: erfan ebrahimi Date: Tue, 9 Mar 2021 17:14:52 +0330 Subject: [PATCH] fix get item from player --- esxBaseFunction.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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