Implemented trade invitation code.

This commit is contained in:
Filip Maj 2017-09-17 15:04:29 -04:00
parent 9649d755a9
commit c7e38b8b00
7 changed files with 306 additions and 7 deletions

View file

@ -0,0 +1,14 @@
--[[
TradeOfferCommand Script
Handles what happens a player cancels a trade
--]]
function onEventStarted(player, actor, triggerName, commandId, result)
GetWorldManager():CancelTrade(player);
player:EndEvent();
end