1
Fork 0
mirror of https://bitbucket.org/Ioncannon/project-meteor-server.git synced 2025-04-20 19:57:46 +00:00
project-meteor-server/data/scripts/commands/RequestQuestJournalCommand.lua

17 lines
353 B
Lua

--[[
--]]
function onEventStarted(player, actor, trigger, questId, mapCode)
quest = player:GetQuest(questId);
if (mapCode == nil) then
player:SendRequestedInfo("requestedData", "qtdata", quest:GetQuestId(), 3);
player:EndEvent();
else
player:SendRequestedInfo("requestedData", "qtmap", quest:GetQuestId());
player:EndEvent();
end
end