View Single Post
  #32  
Old 01-03-2014, 10:33 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by iDigzy View Post
Thanks for the quick response , that seems to work. However if I try to make it work for clientside so only the player sees the chat it does not work. I was wondering if it would make much of a difference if I used player.client.tutorial=1; instead of clientr as client seems to work on clientside. Or would it be better to do a trigger in an npc so it can use clientr?
You probably only want to move the chat line clientside.

PHP Code:
function onPlayerTouchsMe() {
  
player.clientr.tutorial 1
}

//#CLIENTSIDE
function onPlayerTouchsMe() {
  
this.chat player.nick SPC "welcome to Castaway! To get started talk to Brian the skiller outside just outside of here";

Alternatively, yes, you can use player.client instead as long as you don't care that cheating players can easily tamper with that variable.
__________________
Reply With Quote