
11-10-2004, 12:50 AM
|
|
Banned
|
Join Date: May 2004
Location: Burning Blade
Posts: 941
|
|
Quote:
|
Originally Posted by Stefan
A simplier example:
NPC Code:
for (pl: allplayers) {
if (!(pl.x in |577,1008| && pl.y in |-200,320|)) {
pl.x = 768 + random(-5,5);
pl.y = 44 + random(-5,5);
pl.sendrpgmessage("Sorry you cannot walk out of this yet.");
}
}
|
I understand it  |
|
|
|