![]() |
RTE '9' Subscript out of range - Printable Version +- Mirage Source (https://mirage-engine.uk/forums) +-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61) +--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18) +---- Forum: General (https://mirage-engine.uk/forums/forumdisplay.php?fid=17) +---- Thread: RTE '9' Subscript out of range (/showthread.php?tid=1411) |
RTE '9' Subscript out of range - wisefire - 22-11-2007 Well ive added the Visual Inv. tutorial by GSD, viewtopic.php?f=75&t=342, and now when I attempt to open the inventory, I get RTE '9' Subscript out of range. The bold red below is the line directed at; Quote:Function GetPlayerInvItemNum(ByVal Index As Long, ByVal InvSlot As Long) As Long When I hover the mouse over it I get; ![]() Any Ideas? Re: RTE '9' Subscript out of range - wisefire - 22-11-2007 Dave Wrote:Verify the InvSlot number is within range. Err, I dont understand. Care to Explaine? Please?! Re: RTE '9' Subscript out of range - wisefire - 22-11-2007 Allright. Thanks. Waiting... Re: RTE '9' Subscript out of range - Beres - 01-12-2007 Just set the MAX_INV to however many inventory slots you have. |