• Log in or sign up for an account here: https://www.sythe.org/login

run time error, keep getting it in differnt scripts

im back

Active Member
Joined
Jun 11, 2007
Sythe Gold
0
Messages
110
i have tried a few scripts and im new to this but both of them i get this run time error:

[Runtime Error] : Out Of Range in line 50 in script.

thats the error. for both it wasnt line 50, this is just the one i had gotten more recently. I did notice that its right where you put in the 2nd players undername and password and i didnt fill that out because im only using 1 player.
 
49 Players[1].Name :='';
50 Players[1].Pass :='';
51 Players[1].Nick :='';
52 Players[1].Active:=True;
53 Players[1].String1 := 'Iron'; // Primairy Ore Color
54 Players[1].String2 := 'Iron'; // Secondairy Ore Color wont be mined as much as 1.
55 Players[1].String3 := 'Iron'; // Third Ore Color, won't be mined as much as 1 and 2.
56 Players[1].Boolean1 := True; // Is The Pick Equipped?
57 Players[1].Boolean2 := True; // False for brightness Check Once.

where the numbers are is the line.

could it be i need to change the active thing to false?
 
Runescape Gamblingrunescape gambling
Back
Top