Quote:
Originally Posted by Stefan
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);
}
