![]() |
Code error - 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: Code error (/showthread.php?tid=2168) |
Code error - lalablah - 22-09-2008 Code: Private Sub Command1_Click() this is what I changed the error i got was "RTE 9 subscript out of range" and the following function highlighted Code: Function GetPlayerAccess(ByVal Index As Long) As Long any ideas? Re: Code error - GIAKEN - 22-09-2008 Player(Index) doesn't exist...(index is less than 1 or higher than the max amount of players) Re: Code error - lalablah - 22-09-2008 GIAKEN Wrote:Player(Index) doesn't exist...(index is less than 1 or higher than the max amount of players) ok...sooo Re: Code error - GIAKEN - 22-09-2008 ... Something is wrong with MyIndex or something. Do some debugging...I'm not going to fix your problem for you when you can learn more by fixing it yourself. Re: Code error - lalablah - 22-09-2008 wasn't asking for solution just wondering whats wrong. Thanks Re: Code error - Rian - 22-09-2008 What's wrong is that for some reason MyIndex is either less than 1, or greater than Max_Players Re: Code error - Nean - 22-09-2008 lalablah Wrote:wasn't asking for solution just wondering whats wrong. Thanks Try Code: Frmadminpanel.visible = True Code: frmadminpanel.show |