Quote:
Originally posted by osrs
I made this example,wors fine,as Kai said:
NPC Code:
if(created || timeout){
setstring this.names,osrs kaimetsu stefan jagen;
message #I(this.names,int(random(0,sarraylen(this.names))) );
}
timeout=0.05;
why this one don't work?
NPC Code:
if(created || timeout){
setstring this.names,osrs kaimetsu stefan jagen;
message #R(#s(this.names));
}
timeout=0.05;
I made anything wrong? if yes,i'm sorry but i still dont know how to work correctly with #R.
|
This is pure guesswork but I would try.
setstring this.names,"osrs","kaimetsu","stefan","jagen";