Quote:
hmm generally i'd use a while button in this case
HTML Code:
while (mousebuttons > 0) { //Mouse down
Showimg[data]
}
if (mousex in |player.x - 5, player.x + 5| && mousey in |player.y - 5, player.y + 5|) {
//drop the item
}
no need for a timeout, personal preference i suppose
|
You could eventually hit a loop limit; also, it would stop any other functions in that script.