Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
fix get item from player
Browse files Browse the repository at this point in the history
  • Loading branch information
yeganehha committed Mar 9, 2021
1 parent 1c24d3a commit cfe2498
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esxBaseFunction.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cfe2498

Please sign in to comment.