Hello & Welcome to our community. Is this your first visit? Register
Follow us on
Follow us on Facebook Follow us on Twitter Watch us on YouTube


MMOCoin

Likes Likes:  0
Page 1 of 2 12 LastLast
Results 1 to 10 of 20
  1. #1
    Grunt
    Sdyess94's Avatar
    Join Date
    Jan 2009
    Posts
    36
    Post Thanks / Like
    Rep Power
    16
    Reputation
    60

    [C++] Shield on Login


    Register to remove this ad
    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.


    › See More: [C++] Shield on Login

  2. #2
    Contributor
    Onlykl's Avatar
    Join Date
    Jan 2009
    Location
    127.0.0.1
    Posts
    247
    Post Thanks / Like
    Rep Power
    19
    Reputation
    244
    you made it?

  3. #3
    Grunt
    Sdyess94's Avatar
    Join Date
    Jan 2009
    Posts
    36
    Post Thanks / Like
    Rep Power
    16
    Reputation
    60
    Yeah, why?




  4. Related Threads - Scroll Down after related threads if you are only interested to view replies for above post/thread

  5. #4
    Contributor
    Onlykl's Avatar
    Join Date
    Jan 2009
    Location
    127.0.0.1
    Posts
    247
    Post Thanks / Like
    Rep Power
    19
    Reputation
    244
    just asking... then + rep for you .. good job
    And you could join me to we make repack for mmopro

  6. #5
    Grunt
    Sdyess94's Avatar
    Join Date
    Jan 2009
    Posts
    36
    Post Thanks / Like
    Rep Power
    16
    Reputation
    60
    I might join you

    Depending on what I need to do atm

  7. #6
    Contributor
    Onlykl's Avatar
    Join Date
    Jan 2009
    Location
    127.0.0.1
    Posts
    247
    Post Thanks / Like
    Rep Power
    19
    Reputation
    244
    take a look on my profile for msn add me and we will talk

  8. #7
    Scout

    Join Date
    Jul 2009
    Posts
    4
    Post Thanks / Like
    Rep Power
    15
    Reputation
    15
    This is epic lol.

  9. #8
    Contributor
    LiLLeCarl's Avatar
    Join Date
    Jan 2009
    Posts
    106
    Post Thanks / Like
    Rep Power
    17
    Reputation
    84
    Great idea really nice for people with laggy pc's ^^,

  10. #9
    Scout

    Join Date
    Mar 2009
    Posts
    14
    Post Thanks / Like
    Rep Power
    16
    Reputation
    17
    Great idea. Uber simple. Nice work.

  11. #10
    Banned

    Join Date
    Sep 2009
    Location
    In My Computer
    Posts
    76
    Post Thanks / Like
    Rep Power
    0
    Reputation
    52

    Register to remove this ad
    very cool

 

 
Page 1 of 2 12 LastLast

Visitors found this page by searching for:

C shield player

void OnEnterWorld(Player * pPlayer);

SEO Blog

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -5. The time now is 09:38 PM.
Powered by vBulletin® Copyright ©2000-2024, Jelsoft Enterprises Ltd.
See More links by ForumSetup.net. Feedback Buttons provided by Advanced Post Thanks / Like (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
vBulletin Licensed to: MMOPro.org