Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Again...
#1
ok so can any one tell me why this is crashing my server?
Code:
If Parse(0) = PH_AttackNPC Then
    npcname = Parse(1)
    
    Call AddText("recieved backet", vbBlack)
    For i = 1 To MAX_NPC
        Call AddText("in for loop", vbBlack)
        If Npc(i).Name = npcname Then
            Call AddText("in if statement", vbBlack)
            Call AttackNPC(Index, i)
            Call AddText("recieved attack request", vbBlack)
        End If
    Next i
End If
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)