View Single Post
  #11  
Old 10-27-2013, 11:58 PM
Astram Astram is offline
Era iPhone PR
Astram's Avatar
Join Date: Aug 2010
Posts: 324
Astram can only hope to improve
Send a message via AIM to Astram
Quote:
Originally Posted by Jakov_the_Jakovasaur View Post
there is no default event called 'onInitialize' in level npcs, only database npcs and putnpc2s

its also worth mentioning that there is no player parameter in that onInitialize event

using the same event on clientside and serverside is perfectly fine, you can even use onCreated() within multiple classes that are joined to the same object
Sorry I forgot to mention that this was a class and I used putnpc2 then I did:
temp.npc.trigger("Initialize", params...);
__________________
-Toad
The worlds biggest Toad fan...
Era iPhone FTW!


Reply With Quote