Jump to content

Help me with attacking monsters pls


Recommended Posts

Posted (edited)

if(!client.getMyPlayer().isUnderAttack())

RS2Object npc = this.closestAttackableNPCForName("NPC NAME");

 

or in your case, you can just do closestattackablenpcid("");

 

and instead of doing is.underAttack

you can do is.notAnnimating 

 

but that's under you're discretion

 

Edited by 313wizzy
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...