View Single Post
  #11  
Old 04-11-2009, 08:51 AM
Tigairius Tigairius is offline
The Cat
Tigairius's Avatar
Join Date: Jan 2007
Location: Missouri, USA
Posts: 4,240
Tigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant future
Quote:
Originally Posted by Schetti View Post
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);
} 
__________________


“Shoot for the moon. Even if you miss, you'll land among the stars.”
Reply With Quote