It's been a while since I've run into another problem while learning, but I am currently stuck on making a trigger to set the clientr of a player. I have tried a few things with no luck. Would anyone be able to tell me what is wrong with this?
Quote:
function onActionServerSide(cmd) {
if (cmd == "tutorial"){
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";
triggerserver("gui",this.name,"tutorial");
}
|