I'm adding fishing to my delta source. But, as of now it can be massed clicked, and I don't know how to get a timer for delta. Here's my fishing code:
Code:
else if (NPCID == 1399) { // lobs
for(int lob = 0; lob < 28; lob++);
if(playerLevel[10] >= 40);
if(timer <= 0);
timer -= 5;
addItem(377, 1);
startAnimation(619);
addSkillXP(250, 10);
sM("You catch a Lobster");
updateRequired = true;
appearanceUpdateRequired = true;
} else if(playerLevel[10] <= 40) {
sM("You need a fishing level of 40 to catch Lobsters");
}
The timer I put it in there doesn't work.
Also, I have some ints declared.
Code:
public static int timer = 0;
Thanks in advance.