Minor changes, updated native names

This commit is contained in:
ElPumpo
2018-12-23 11:38:39 +01:00
parent a3d3692479
commit 9224f9119f
3 changed files with 21 additions and 22 deletions
+2 -2
View File
@@ -269,8 +269,8 @@ AddEventHandler('esx:giveInventoryItem', function(target, type, itemName, itemCo
if type == 'item_standard' then
local sourceItem = sourceXPlayer.getInventoryItem(itemName)
local targetItem = targetXPlayer.getInventoryItem(itemName)
local sourceItem = sourceXPlayer.getInventoryItem(itemName)
local targetItem = targetXPlayer.getInventoryItem(itemName)
if itemCount > 0 and sourceItem.count >= itemCount then