Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Subscript of range error 9 - Pet System


Viral Dragon
 Share

Recommended Posts

Alright so,

I'm not sure how long this has been going on, considering I hardly use the pet at all.
But, when I click it, my server pops up with a Sub Script of Range, error 9\. Sure enough, when I run it
in debug mode, it high lights the error line.

Which is this:
![](http://imageshack.us/f/703/problemhj.png/)
http://imageshack.us/f/703/problemhj.png/

Or for those who can't see the picture or don't wanna click it.

```
If MapNpc(GetPlayerMap(index)).Npc(TempPlayer(index).TempPetSlot).PetData.Owner < 1 Then
```
I just want to know what's wrong with it. Because I don't see anything wrong with it.

.__.

-Viral
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...