Thread: destroy();
View Single Post
  #9  
Old 08-14-2007, 12:31 AM
theHAWKER theHAWKER is offline
**FLIP OUT**
theHAWKER's Avatar
Join Date: Mar 2006
Location: canada, vancouver
Posts: 768
theHAWKER is an unknown quantity at this point
Quote:
Originally Posted by zokemon View Post
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).
whats this part do?

temp.n = putnpc2(x,y,"");

n.join("whatever");
__________________
**FLIP OUT**
Reply With Quote