Thread: with() problem
View Single Post
  #1  
Old 07-04-2002, 04:49 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
with() problem

also i want to read of a db npc and add the worth of the variable to the lokal script also i saw in some scripts:

NPC Code:

with(getnpc(Hat-Shops)){
hatc = strtofloat(#s(this.hatc#v(hatn)));
}



or

NPC Code:

with(getnpc(Hat-Shops)){
setstring server.temp,#s(this.hatc#v(hatn));
}
hatc = strtofloat(#s(server.temp));
setstring server.temp,;

__________________
Bl4h Si6n4tur3s sUx3n