View Single Post
  #12  
Old 12-09-2006, 06:55 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Quote:
Originally Posted by Stefan View Post
Better let the player join the class directly at login, in the control-npc in onActionPlayerOnline() or by using the event onPlayerLogin(playerobject) in any other script. In your example it would call the thing several times and would still not guarantee that its working. Also use this.clientr.flagname in the initialize class instead of clientr.flagname.
In the originally script, it has an echo in the class, and
it always echo up to 2-3 times, so.. I'll set it with
this.client.flagname when setting it, and join on logon. I'll try that :]

Btw, onPlayerLogin() works in every wnpcs (serverside) ?
And onActionPlayerLogin() would work in al dnpcs?
__________________
Reply With Quote