Log in

View Full Version : How to fix Out of range line 744 - antirandoms.scar



smills.smx
06-29-2006, 04:26 PM
I just finished off coding my chicken killer.
It finds the chickens ok , but when it clicks on them i get this error :

[Runtime Error] : Out Of Range in line 744 in script C:\Program Files\SCAR 2.03\includes\srl\srl\core\AntiRandoms.scar

Is this a problem with the way i've coded my random event setup ?
Or if not what isit ? please help.

Energizer TK
06-29-2006, 05:52 PM
Make sure you use Player Array with Loc.



Players[0].Name :='Username';
Players[0].Pass :='Password';
Players[0].Nick :='User';
Players[0].Loc := 'Bank';