Non-npc stuff is now also using script system. Wrote new scripts for all sidemenu commands.

This commit is contained in:
Filip Maj 2016-06-18 12:26:29 -04:00
parent 4e69022072
commit 51bbf4ae2e
4 changed files with 17 additions and 36 deletions

View file

@ -39,7 +39,7 @@ function init(npc)
return false, false, 0, 0;
end
function onEventStarted(player, npc)
function onEventStarted(player, npc, triggerName)
require("/unique/".. npc.zone.zoneName .."/PopulaceShopSalesman/" .. npc:GetUniqueId())