For example u have method for burning maple's
Code:
if ((itemUsed == 590) && (useWith == 1517)) {
if (playerLevel[11] >= 45 && isondonor == true) {
deleteItem(1517, getItemSlot(1517), 1);
makeGlobalObject(absX,absY, 2732, 0, 10);
addSkillXP(10000, 11);
sM("You attempt to light the logs.");
setAnimation(733);
sM("The fire catches and the logs begin to burn.");
resetWC();
} if (playerLevel[11] >= 45 && isondonor == false) {
deleteItem(1517, getItemSlot(1517), 1);
makeGlobalObject(absX,absY, 2732, 0, 10);
addSkillXP(5000, 11);
sM("You attempt to light the logs.");
setAnimation(733);
sM("The fire catches and the logs begin to burn.");
resetWC();
}
if (playerLevel[11] >= 45){
sM("You need 45 lvl");
}
}
And add this somewhere
Code:
if((absX >= && absX <= && absY >= && absY <=)){
isondonor == true;
}
else {
return false;
}
It's ugly ass hell but should work
That method is slow and ugly looking but works