Quote:
Originally Posted by brokk
Sooooo is there any solution to my problem??
|
Just set some property of the npc (say,
player_hp) by doing
temp.npc.player_hp = player.clientr.hp; when creating the npc (i.e., below
putnpc2). Then, when you want to display the number, just use
this.player_hp instead of
player.clientr.hp in your class.
You could also just do
temp.npc.showtext(...), if you wanted.