View Single Post
  #21  
Old 05-17-2007, 12:32 AM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
Quote:
Originally Posted by Stefan View Post
onCreated = when the npc is created/added, or you update the script (this behaviour has been changed from GS1, to avoid needing to reset the npc all the time)
onInitialized = called on server restart
PHP Code:
function onInitialized()
{
  
this.whoops++;
  
printf("This is the %i time NPC-Server has died",this.whoops);

Reply With Quote