Thread: with() problem
View Single Post
  #2  
Old 07-04-2002, 05:29 PM
Despo1 Despo1 is offline
Registered User
Join Date: May 2002
Location: G3rM4nY
Posts: 38
Despo1 is on a distinguished road
Send a message via AIM to Despo1
here a example, this dont work too...

NPC Code:

if (created) {
setimg sign.png;
}
if (playertouchsme) {
with(getnpc(Control-NPC)){
setstring server.temp,#s(this.hat);
}
setstring this.hat,#s(server.temp);
say2
The newest Hat is #s(this.hat);
setstring server.temp,;
}

__________________
Bl4h Si6n4tur3s sUx3n