All pastes #975001 Raw Edit

Unnamed

public text v1 · immutable
·published 2008-04-07 06:23 UTC
rendered paste body
   1.
      #include "NPCs.h"
   2.
      #include "NPCsScripts.h"
   3.
       
   4.
      void NPCsScripts::npc_22000(NPC* npc){
   5.
          int state = npc->getState();
   6.
          int map = npc->getPlayerMap();
   7.
          if(npc->getPlayerMap() == 60000){
   8.
              if(state == 0){
   9.
           
  10.
                   npc->addText("Lets go to Lith Harbour,");
  11.
                   npc->sendNext();
  12.
                   npc->addText("Good Bye");
  13.
                   npc->sendOK();
  14.
                   npc->teleport(104000000);
  15.
                   npc->end();
  16.
       
  17.
              }
  18.
      }