Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MS4 Quest
#1
ok Guys, I am looking to fix my code into MS4, but I get compile error argument not optional

Code:
If Npc(npcnum).Quest > 0 Then
                       Call DoQuest(Npc(npcnum).Quest, Attacker, npcnum)
                    Else
it highlights doquest, I think it's because I don't have the charnum thing right, because it can't find the char to attach the quest to. could someone please let me know how to properly do this code

Code:
If ReadINI(Player(Index).Char(Charnum).Name, "QUEST" & Npc(npcnum).Quest, App.Path + "\qflag.ini") = 0 Then

I think this is the issue.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)