Log in

View Full Version : What is "out of range"?



siokimzhua
11-04-2007, 04:07 PM
As above, what is 'out of range'?


E.g: [Runtime Error] : Out Of Range in line 53 in script C:\Documents and Settings\Handsome\Desktop\SCAR\Willow Smasher & Banker V2.3.scar


It always occurs at the lines where u declare players

MasterKill
11-04-2007, 04:31 PM
set up the number of players correctly.

iunseeni
11-04-2007, 04:33 PM
Error 10: Out of range error.

Solution:
This is most commonly caused by not setting your players right in the player arrays. When you set the number of players, you are setting the number of slots that there are players for, ACTIVE OR NOT! so if you have 2 users active, but there are 6 slots, then you still have the how many players as 6.

Taken from http://www.villavu.com/forum/showthread.php?t=6413

RAM
11-04-2007, 11:59 PM
Please search before posting and be sure to ask questions in the proper areas

http://www.srl-forums.com/forum/images/satellite/buttons/expand.gif http://www.srl-forums.com/forum/images/satellite/misc/sticky.gif Sticky: Im getting SRL Errors! Help! (http://www.villavu.com/forum/showthread.php?t=16777)
Starblaster100