Event id for NPC unloading on the client. Calls the OnNpcLoadUnloadCallback.
-- Create a functionlocal npcUnload = function(name, ID) osrs.printf("NPC %s unloaded in, has ID: %i", name, ID)end-- Subscribe to the functionosrs.Events.subscribe(npcUnload, osrs.Events.ON_NPC_UNLOAD) Copy
-- Create a functionlocal npcUnload = function(name, ID) osrs.printf("NPC %s unloaded in, has ID: %i", name, ID)end-- Subscribe to the functionosrs.Events.subscribe(npcUnload, osrs.Events.ON_NPC_UNLOAD)
Event id for NPC unloading on the client. Calls the OnNpcLoadUnloadCallback.
Example