MMOCoin

Likes Likes:  0
Results 1 to 4 of 4
  1. #1
    Senior Sergeant
    MikExV™'s Avatar
    Join Date
    Feb 2010
    Location
    Ohio
    Posts
    117
    Post Thanks / Like
    Rep Power
    17
    Reputation
    35

    [C++] ArcEmu Basic on World Enter Script

    When you enter it sets your Pvp To on Says Welcome to You server name! and says please enjoy your stay here .
    Code:
     #include "StdAfx.h"
    #include "Setup.h"
    
    #ifdef WIN32
    #pragma warning(disable:4305)
    #endif
    
    void OnEnterWorld(Player * pPlayer)
    {
    
        pPlayer->SendAreaTriggerMessage("Welcome to Your Server Name!");
        pPlayer->SetPvPFlag();;
        pPlayer->BroadcastMessage("Please Enjoy your stay here :D");
    
    };
            
    void SetupEnterWorld(ScriptMgr * mgr)
    {
        mgr->register_hook(SERVER_HOOK_EVENT_ON_ENTER_WORLD, OnEnterWorld);
    }





    › See More: [C++] ArcEmu Basic on World Enter Script

    Just got my pc back



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

  3. #2
    Contributor
    Cocain's Avatar
    Join Date
    Mar 2010
    Posts
    208
    Post Thanks / Like
    Rep Power
    17
    Reputation
    92
    For those who arn't that good with C++, or to lazy to edit you might aswell define #Yourservername so that just have to change that at the top of the script. (:

  4. #3
    Contributor
    Pedregon's Avatar
    Join Date
    Jul 2008
    Posts
    89
    Post Thanks / Like
    Rep Power
    19
    Reputation
    81
    Thanks, should be useful for other servers.
    + rep

  5. #4
    Senior Sergeant
    MikExV™'s Avatar
    Join Date
    Feb 2010
    Location
    Ohio
    Posts
    117
    Post Thanks / Like
    Rep Power
    17
    Reputation
    35

    Register to remove this ad
    No problem , I use to have it on mine. But on mine it cast a divine shield so you would not be spawn camped. But I removed it because I didn't think people would want it.

    Just got my pc back

 

 

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •