Quote:
|
Originally Posted by Skyld
Inside player.join'd classes, it is best to refer to the player using this., so:
PHP Code:
this.chat = "foo";
|
using player.chat would not break the script, though. If you know this. is always going to be a player, I don't know why you'd want to use this. instead of player. (player. is easier to read, because you know what you are modifying)
Quote:
|
Originally Posted by Skyld
Also, I might be mistaken but I think that player. joining only works serverside, and so the function call also has to be serverside.
|
Indeed