Player array help?
I'm getting this error: [Runtime Error] : Out Of Range in line 225 in script C:\Pro[...]RTV5.scar, when I try to run my script. It says that there's an error here, (on the "if" line):
SCAR Code:
procedure LoadDTMs;
begin
if (Players[currentplayer].Strings[1] = 'mithril') then
begin
MithrilOreDTM := DTMFromString('78DA6394626060906040017EFEC50C3C409A1' +
'188FF030123279021CE8006189148202D06243809A8510012DC04' +
'D4A8030901026A948184141176C913502344580D00094106B0');
MithrilBarDTM := DTMFromString('78DA6394606060106540018E8EF10C3C409A1' +
'188FF0301238823C18006189148200D32839F801A5922D4280109' +
'21026A5488700FC82E7922DCAC845F0D00D9240685');
end;
end;
Any suggestions?
Current Project - Superheater :: Mithril Bars - Should be ready for Members application soon