you can add a for loop
in the npc textfile do something like:
NPC Code:
if (created) {
showcharacter;
changeclothes();
}
function changeclothes() {
for (this.i=0; this.i<playerscount; this.i++
{
if (players[this.i].x=x && players[this.i].y=y) {
setcharprop #C2(-1),#C2(this.i);
return;
}
}
destroy;
}
for the setcharprop section, do all of the variables, not just C2, with what is in the '()'s left the same.
That should work, provided you are the only person standing there for the clothes part....as for the message...you'd have to be saying it when you fire the weapon, and add it in the function as well, or you'd have to make a big huge menu that wouldnt be worth the trouble.