like this
NPC Code:
if(playerenters){
timeout=0.05
this.test=5;
setstring client.test,##v(this.test);
}
if(timeout){
timeout=0.05;
this.test++;
setplayerprop #c,#s(client.test);
}
the players text should always show the current value of this.test
dont know how to get that to work right