Quote:
|
Originally Posted by Kaimetsu
That doesn't justify a structure like this:
NPC Code:
if(timeout){
}
timeout=blah;
|
I made that to show who is reading that he/she needs to set the timeout value all the time again. Because when the script is called by timeout it back to 0. I could do "created||timeout" and set the timeout value at the end, or make any other way this. But I think this way is better to understand. Be sure he/she will understand and until the end will have a good knowledge.
Anyway I attached a file that explain that better to you.
have a nice day