Updated method names of "RemoveItem" as Lua hates overloads.

This commit is contained in:
Filip Maj committed 2017-08-26 14:21:54 -04:00
1 parent afe79e6c5f
commit 52da0a671f
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -10,6 +10,6 @@ The param "itemDBIds" has the vars: item1 and item2.
--]]
function onEventStarted(player, actor, triggerName, invActionInfo, param1, param2, param3, param4, param5, param6, param7, param8, itemDBIds)
player:GetInventory(0x00):RemoveItem(invActionInfo.slot);
player:GetInventory(0x00):RemoveItemAtSlot(invActionInfo.slot);
player:EndEvent();
end