Thread: /reset npc NAME
View Single Post
  #13  
Old 10-07-2010, 12:46 AM
12171217 12171217 is offline
Banned
Join Date: Jan 2009
Posts: 453
12171217 has a spectacular aura about
You can store all your variables in a new object..

Like this.state = new TStaticVar();

Then declare all the variables as such:

this.state.health = 10;

Then when you need to clear all the variables, you can do:

this.state = null;

and then simply initialize it again.
Reply With Quote