All pastes #758804 Raw Edit

Mine

public text v1 · immutable
·published 2007-11-02 16:28 UTC
rendered paste body
    class TwinIslands : public GameObjectAIScript
      {
      public:
              TwinIslands(GameObject* goinstance) : GameObjectAIScript(goinstance) {}
              void OnActivate(Player * pPlayer, Player *Plr)
			  {
              if(Plr->GetItemInterface()->GetItemCount(11078, 1))
              {
                      pPlayer->SafeTeleport(1, 0, -11251.2, -4673.2, 16.2, 4.724170);                   // teleports you
			  }
			  }
              static GameObjectAIScript *Create(GameObject * GO) { return new TwinIslands(GO); }
      };
      GameObjectAIScript * create_go4(GameObject * GO) { return new TwinIslands(GO); }