View Single Post
  #3  
Old 06-01-2006, 01:32 AM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
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
__________________


[06:24:19] * Parts: Skyld (i=silent@unaffiliated/skyld) ("Perhaps Okiesmokie did not realise that I like the boys. ")
Reply With Quote