
04-04-2007, 07:03 PM
|
|
Banned
|
Join Date: Jan 2007
Posts: 656
|
|
Quote:
Originally Posted by Kristi
well, for the onCreated in the class, essentially you are creating player.onCreated(), so that just isnt going to be called.
as for the doAction, you are calling player.drawMaps() and player.defaultStats(), since you are joining the class to the player, the player now becomes the object, so "this" will refer to the player. Since the player does not have those functions, they are not being called. In this case, it shouldn't have been joined to the player in the first place.
Joining a class to a player clientside sure does work 
|
I don't quite understand, could you show an example? thanks!! |
|
|
|