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,;