Im trying to make barrows work and i am following this tut http://www.rune-server.org/runescape...mini-game.html but the only problem I have is knowing where to put
Code:
if((InArea()) && (!taken))
{
Random = Coffin[(int)(Math.random()*Coffin.length)];
System.out.println(Random);
taken = true;
}
else if((taken) && (!InArea()))
{
reset();
}
everytime I try puting it in a different spot in the processes it gives me this error
Code:
process.java:67: class, interface, or enum expected
if((InArea()) && (!taken))
^
process.java:70: class, interface, or enum expected
System.out.println(Random);
^
process.java:71: class, interface, or enum expected
taken = true;
^
process.java:72: class, interface, or enum expected
}
^
process.java:76: class, interface, or enum expected
}→
^
5 errors
Press any key to continue . . .
please help