Added bazaar scripts and missing class file.

This commit is contained in:
Filip Maj 2017-12-10 22:54:47 -05:00
parent c0312079ef
commit 0cb2fe1a68
7 changed files with 169 additions and 5 deletions

View file

@ -10,6 +10,6 @@ The param "itemDBIds" has the vars: item1 and item2.
--]]
function onEventStarted(player, actor, triggerName, itemReference, targetPackage, sourcePackage, arg1, arg2, unknown, arg3, arg4, arg5, type9ItemIds)
player:GetInventory(targetPackage):RemoveItemAtSlot(itemReference.slot);
player:GetItemPackage(itemReference.itemPackage):RemoveItemAtSlot(itemReference.slot);
player:EndEvent();
end