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