PDA

View Full Version : player.join


coreys
12-05-2006, 07:27 AM
Well, I have the NPC Server on Uprising set up so that the the class "player" is joined to the player. I used player.join("player"); in the onActionPlayerOnline() block, but its not being joined. I have in the onCreated() block: this.chat = "!!!"; but it isn't doing anything. Can anyone help me?

coreys
12-05-2006, 07:52 AM
Or...well I guess it is joining:
10. 0.000011666 % Admin-Playerworld77 (player)

But nothing in it works, even this:
//#CLIENTSIDE
function onCreated() {
setshape(1,32,32);
triggeraction(x+1,y+1,"Trigger","check",player.account);
this.chat = "!!!";
}

xAndrewx
12-05-2006, 09:30 AM
Don't make it clientside.

function onCreated()
{
this.chat = "HI";
}
You don't need to define the shape, and the triggeraction isn't needed.

coreys
12-05-2006, 04:06 PM
Ah, I just always figured it would work normally with the whole clientside thing. Thanks!