Quote:
Originally posted by ckb1985
I need a little help here currently it only works if you start up on the dance floor and then it doesnt stop if you leave
// NPC made by Dúnedain lots of help from shadowless warrior
if (playery<49 && playery>33 && playerx<42 &&
playerx>22)
{timeout=0.5;
}
else if (playery>49 || playery<33 || playerx>42|||
playerx<22)
{timeout=0;
}
if (timeout) {
playersprite=23;sleep 1;playersprite=37;sleep
1;playersprite=1;sleep 1;playersp
rite=3;timeout=.5;}
|
????
let the timeout working all the time...
Timeout is the time to reload the script and see if u´re in the right zone.
NPC Code:
timeout=.05;
if (playery<49 && playery>33 && playerx<42 &&playerx>22)
{
playersprite=23;sleep 1;playersprite=37;sleep
1;playersprite=1;sleep 1;playersp
rite=3;timeout=.5;
}