I Think i fixed your code Butt.
- Code:
public void reward() {
int reward = misc.random(4);
if (reward == 0) {
showInterface(***);
sendFrame***(1247,3478,2,1);
sendFrame***(1247,4864,1,538);
sendFrame***(1247,4867,0,1);
addItem(4151,1);
addItem(4153,538);
addItem(4155,1);
} else if (reward == 1) {
showInterface(***);
sendFrame***(1247,3478,2,1);
sendFrame***(1247,4864,1,538);
sendFrame***(1247,4867,0,1);
addItem(4151,1);
addItem(4153,538);
addItem(4155,1);
} else if (reward == 2) {
showInterface(***);
sendFrame***(1247,3478,2,1);
sendFrame***(1247,4864,1,538);
sendFrame***(1247,4867,0,1);
addItem(4151,1);
else if (reward == 3)
showInterface(***);
sendFrame***(1247,3478,2,1);
sendFrame***(1247,4864,1,538);
sendFrame***(1247,4867,0,1);
addItem(4151,1);
}
}