Advertisement
Guest User

Untitled

a guest
Apr 4th, 2020
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.33 KB | None | 0 0
  1. #include "inc_quests"
  2. #include "inc_encounters"
  3. void main()
  4. {
  5.     object encounter = GetLocalObject(OBJECT_SELF, "Encounter");
  6.     object quest = GetQuestOfEncounter(encounter);
  7.     string questScript = GetQuestScript(quest);
  8.     if (questScript == "que_killwolves")
  9.         UpdateQuestState(quest, QUEST_STATE_COMPLETED);
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement