-
[C++] Shield on Login
Code:
#include "StdAfx.h"
#include "Setup.h"
#ifdef WIN32
#pragma warning(disable:4305) // warning C4305: 'argument' : truncation from 'double' to 'float'
#endif
void OnEnterWorld(Player * pPlayer)
{
pPlayer->CastSpell(pPlayer, 33581, true);
}
void SetupEnterWorld(ScriptMgr * mgr)
{
mgr->register_hook(SERVER_HOOK_EVENT_ON_ENTER_WORLD, OnEnterWorld);
}
This is pretty much so when you login you wont be wtfpwned by mobs or other players.
-
-
-
just asking... then + rep for you .. good job ;)
And you could join me to we make repack for mmopro ;)
-
I might join you :)
Depending on what I need to do atm
-
take a look on my profile for msn add me and we will talk ;)
-
-
Great idea really nice for people with laggy pc's ^^,
-
Great idea. Uber simple. Nice work. :)
-