I'm trying to run Varrock Yew Chopper by Omgwoot and it comes up with
"Line 914 error: Type mismatch".
the part that its from is the game tab thing that opens when the script is run
Settings := [Brightness, Volume, SFX, Area];
Names := ['Brightness', 'Volume', 'SFX', 'Area'];
for II := 0 to 3 do
begin
K := 5 - Integer(II = 0); {line 914}
if (not(InRange(Settings[II], 0, K))) then
begin
srl_Warn('SetBar', 'Setting: ' + IntToStr(Settings[II]) + ' is not valid for Bar: ' + Names[II] + '.', warn_AllVersions);
Settings[II] := 0;
end;
normally i would post something like this on the thread instead of starting a new one but because this has also happened in other scripts that ive tried to play, is there anyone out there who can explain to me what type mismatch is and how i can fix it.


Reply With Quote






