Thread: destroy();
View Single Post
  #8  
Old 08-14-2007, 12:08 AM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
Just do something like:
NPC Code:
function doWhatever() {
hide();
sleep(0.1);
temp.n = putnpc2(x,y,"");
n.join("whatever");
destroy();
}



When you call destroy, it IMMEDIATELY stops the script (like return).
__________________
Do it with a DON!
Reply With Quote