Quote:
Originally Posted by Schetti
WOOT THANKS
PS: ok, youre the teacher
|

By the way, you can move that playertouchsme function part to serverside in your NPC, and get rid of the clientside part all together by doing:
PHP Code:
function onPlayerTouchsme() {
this.trigger("ActionMoveFlag", player.account);
}
instead of:
PHP Code:
//#CLIENTSIDE
function onPlayerTouchsme() {
triggeraction(this.x + 0.5, this.y + 0.5, "MoveFlag", player.account);
}