hello there, can you help me pls with abandon quest? for Vanilla wow, This code dont work
local questId = 12345;
for i=1,GetNumQuestLogEntries() do
local _, _, _, _, _, _, _, id = GetQuestLogTitle(i);
if id == questId then
SelectQuestLogEntry(i);
SetAbandonQuest();
AbandonQuest();
end
end