View Single Post
  #15  
Old 08-29-2002, 09:25 AM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Quote:
Originally posted by emortylone
Hmm... it shouldn't work like that. * is supposed to be disabled. And btw, with (getplayer(osrs)) won't quite work x.X You didn't include ANY information on how to do it... and my way is better :P
---Shifter
No it isn't, it's inefficient and overly long. All I didn't put in was an event-catcher, but that stuff's irrelevant to the actual name-setting part anyway. There's no definitive time at which you would want to set the name, so I just gave the fragment of code that would do it. If you want, pretend it was:

NPC Code:

function setName(){
with(getplayer(osrs)){
setplayerprop #n,*Stefan;
}
}

__________________
Reply With Quote