Quote:
Originally posted by grim_squeaker_x
Hmm... I'm not sure but wouldn't the following script work for that?
NPC Code:
if (playerchats) {
if (strequals(#g,Events Team)&&strequals(#c,ID-o-Matic)) {
this.test=0;
while (this.test==0) {
i=int(random(0,150));
with (players[i]) {
this.test=1;
playerrupees+=10;
}
}
}
}
|
I dunno, do normal NPCs have access to the players[index] objects of players on other levels?