OSRS Plugin API
    Preparing search index...

    Enumeration ON_NPC_LOAD

    Event id for NPC loading on the client. Calls the OnNpcLoadUnloadCallback.

    -- Create a function
    local npcLoad = function(name, ID)
    osrs.printf("NPC %s loaded in, has ID: %i", name, ID)
    end
    -- Subscribe to the function
    osrs.Events.subscribe(npcLoad, osrs.Events.ON_NPC_LOAD)