Quote:
Originally Posted by Jakov_the_Jakovasaur
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...);