Jump to content

Recommended Posts

hey can some1 help me im looking for a code to remove specific quests by id


        var logId = Quest.GetLogIdByQuestId(745);
        if (logId > 0)
        {
            Lua.LuaDoString("SelectQuestLogEntry(" + logId + "); SetAbandonQuest(); AbandonQuest(); ");
        }

and

local questId = 745;
for i=1,GetNumQuestLogEntries() do
	local _, _, _, _, _, _, _, id = GetQuestLogTitle(i);
	if id == questId then
		SelectQuestLogEntry(i);
		SetAbandonQuest();
		AbandonQuest();
	end
end

dont work 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...