Quote:
Originally Posted by scriptless
i would need to trigger it at the origonal position i placed it?
|
Yes. Then send the new X and Y positions as a parameter.
PHP Code:
function onActionServerSide(temp.x, temp.y){
this.x = temp.x;
this.y = temp.y;
}
//#CLIENTSIDE
function updatePosition(){
triggeraction(this.origx + 0.5, this.origy + 0.5, "Serverside", mousex, mousey);
}