Jump to content

Buying from a store


Recommended Posts

Posted

sup, my first ever script was some shitty fletcher, now i wanna move onto harder things, so how does buying from store happen?

i tried something like this: 

				if (store.isOpen()) {
				store.buy(ID, AMOUNT); //my client just freezes at this part ( for example trying to buy ropes from store near draynor)
				} else {
					npcs.closest(ID).interact("Trade");
				}

 

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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