#include "StdAfx.h" #include "Setup.h" class SCRIPT_DECL SCRIPTSLOL : public GameObjectAIScript { public: GameObjectAIScript * CreateAIScriptClassForGameObject(uint32 uEntryId, GameObject* pGameObject); void OnActivate(Player * pPlayer) { pPlayer->SafeTeleport(530, 0, 10021.254883, -7014.893066, 49.717690, 4.00532); } }; void SetupSCRIPTSLOL(ScriptMgr * mgr) { mgr->register_gameobject_script(184503, &SCRIPTSLOL::Create); }