willunited Posted August 28, 2012 Author Share Posted August 28, 2012 Geting subscript out of range in this line:> Select Case Player(Index).Hotbar(Slot).sType> > Case 1 ' inventory> > For i = 1 To MAX_INV> > If Player(Index).Inv(i).Num > 0 Then> > If Player(Index).Inv(i).Num = Player(Index).Hotbar(Slot).Slot Then> > UseItem Index, i> > Exit Sub> > End If> > End If> > Next Link to comment Share on other sites More sharing options...
Joyce Posted August 28, 2012 Share Posted August 28, 2012 Which line? there's several. Link to comment Share on other sites More sharing options...
willunited Posted August 28, 2012 Author Share Posted August 28, 2012 [background=rgb(247, 247, 247)]Select Case Player(Index).Hotbar(Slot).sType[/background] Link to comment Share on other sites More sharing options...
Joyce Posted August 29, 2012 Share Posted August 29, 2012 Is it Index that is out of Bounds or Slot?I'm guessing you touched something you really shouldn't have. o_ O Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now