30-04-2007, 07:07 AM
After putting this code in my Source I have an Error at:
Highlights:
Error:
this is when i click the button to open my Inventory
Code:
Function GetPlayerInvItemNum(ByVal Index As Long, ByVal InvSlot As Long) As Long
GetPlayerInvItemNum = Player(Index).Inv(InvSlot).Num
End Function
Highlights:
Code:
GetPlayerInvItemNum = Player(Index).Inv(InvSlot).Num
Error:
Code:
rte 9: Subscript our of range
this is when i click the button to open my Inventory