13-09-2006, 10:11 PM
Do something more practical than attacking them and it opening the shop. Have it to where you hit a different key, like T or something, or click the npc, and check the range, of the player from the npc, that way, they can't open the shop from the other side of the map.