Well yeah. There is so much to do with scripting.
Like this:
NPC Code:
//#CLIENTSIDE
if (playerenters || timeout) {
if (mousebuttons == 1)
findPlayer();
if (strlen(#a(this.player))>0 && this.b<=100)
showAttribs();
else
hideimg 600;
timeout=.05;
}
function findPlayer() {
for (i=0; i<playerscount; i++; ) {
if (mousex in |players[i].x, players[i].x+3| && mousey in |players[i].y, players[i].y+4|) {this.player = i; i=playerscount;}
}
if (strlen(#a(this.player))<=0) this.player=-2;
this.b = 0;
}
function showAttribs() {
showimg 600, @#a(this.player), 5, 100;
changeimgzoom 600, .75;
changeimgvis 600, 5;
this.b++;
}
Isn't it beautiful, only 2 minutes of scripting...*breathtaking*. Unfortunatly you cannot edit players[i].x and y and etc from clientside, so you have to go serverside to make a player drag...:-/. Oh well. Learn how to script.
