Thread: this.owner
View Single Post
  #6  
Old 01-12-2002, 06:08 AM
TDO2000 TDO2000 is offline
Registered User
TDO2000's Avatar
Join Date: Jul 2001
Location: Germany
Posts: 655
TDO2000 is on a distinguished road
Um why should u use server-strings for this?

use save-vars and playerid:
NPC Code:

if(playertouchsme){
//New Owner
if(save[0] <=0){
save[0]=playerid;
}
//If Owner nice message
if(save[0]==playerid){
say2 Hey Boss;
}
//if not Owner not so nice
if(save[0]<>playerid){
say2 Go away bastard;
}
}


for showing the owner's name I would use messagecodes, showcharacter and an empty gani (without showcharacter I always had problems with messagecodes, they didn't work the right way)
__________________
No Webhost at the moment
Reply With Quote