All pastes #751863 Raw Edit

Anonymous

public text v1 · immutable
#751863 ·published 2007-10-27 20:10 UTC
rendered paste body
#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);
    }