
01-11-2002, 06:35 PM
|
|
Ebil Cloud = l337 *kupo*
|
 |
Join Date: Aug 2001
Location: Monroeville, PA
Posts: 1,084
|
|
Quote:
Originally posted by Shard_IceFire
here's a SIMPLE example..
NPC Code:
if (playertouchsme) {
if (this.owned==0) {
sleep 0.05;
this.owned=1;
setstring server.rockowner1,#a;
timeout=0.05;
}
if (this.owned==1) {
if (strequals(#a,#s(server.rockowner1))) {
say2 Hey owner, wassup?;
}
if (!strequals(#a,#s(server.rockowner1))) {
say2 You're not my owner!;
}
}
}
if (playerenters||timeout) {
message #s(server.rockowner1);
timeout=0.05;
}
I think that would work...maybe.
|
K thanks. |
__________________
Rob Getashu
Anyone can show you the way, but the real adventure is finding it yourself..
|
|
|
|