View Single Post
  #24  
Old 10-18-2004, 01:02 PM
amonrabr amonrabr is offline
Scripter
Join Date: Nov 2001
Location: Brazil
Posts: 374
amonrabr is on a distinguished road
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
Attached Thumbnails
Click image for larger version

Name:	image.jpg
Views:	186
Size:	267.4 KB
ID:	29967  
Reply With Quote