alkku15 Posted February 21, 2018 Posted February 21, 2018 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"); }
Juggles Posted February 21, 2018 Posted February 21, 2018 (edited) The store at draynor is glitched. Try another store also null check the NPC in second part Edited February 21, 2018 by Juggles
alkku15 Posted February 21, 2018 Author Posted February 21, 2018 (edited) using only this causes my whole client to freeze once the store has opened *EDIT* ok i will try in another store Edited February 21, 2018 by alkku15