SRL Archive - Help

Having trouble running my script.


Moee

2009-11-12 11:14:02

I keep getting this error
[Runtime Error] : Out Of Range in line 74 in script C:\Program Files\SCAR 3.22\Scripts
and line 74 is this
Players[1].Name := 'Username';

Gu3st...

2009-11-12 12:28:26

Please post the whole DeclarePlayers function :)
I think you forgot to add one to HowManyPlayers…

Narcle

2009-11-12 12:45:22

if your only using one player the array starts at 0 so its

Players[0].Name := 'Username';

for your first player and then

Players[1].Name := 'Username';

for your second and so on.

Also
HowManyPlayers := 1; //or however many your using like Zyt3x suggested