PetMapCache Error


If PetMapCache(Player(Index).Map).UpperBound > 0 Then

	 For j = 1 To PetMapCache(Player(Index).Map).UpperBound

		 Call NPCCache_Create(Index, Player(Index).Map, PetMapCache(Player(Index).Map).Pet(j))

	 Next

End If

Can you tell me what worng in this sub ?

the script is Out of range

If PetMapCache(Player(Index).Map).UpperBound > 0 Then

in

UpperBound = <subscript out="" of="" range="">Location : Sub JoinGame(ByVal Index As Long)

Module : modPlayer

the error showing after I adding new char in mygame .

can you solved this ?

Sorry Bad English</subscript>

please fix this

[SOLVED]

Log in to reply