clarke9901 0 Share Posted February 21, 2023 I basically am trying to update a script to 3.0 and have this piece of code: if (!bankIsChecked) { if (NPCs.closest("Banker") != null) { NPCs.closest("Banker").interact("Bank"); } else if (Bank.getBank() != null) { Bank.open(); } else { Logger.log("No bank was found!"); } ... } Im having error on the bank.getBank and cant find in the API the new equivalent Link to comment Share on other sites More sharing options...
holic 233 Share Posted February 21, 2023 #getClosestBankLocation() would be what you're looking for Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now