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
Results 1 to 6 of 6
  1. #1
    Scout

    Join Date
    Sep 2008
    Posts
    7
    Post Thanks / Like
    Rep Power
    17
    Reputation
    10

    Exclamation Player-Help Command


    Register to remove this ad
    This Will Simply Announce "[Player Name] Needs Gm assistance." When a player types #Help.



    note: You deffrently might want to up the flood control on this one =D.


    PlayerAssistance.cpp:
    Code:
    #include "StdAfx.h"
    #include "Setup.h"
    
    static string food = "#Help";
    
    void PlayerAssistance(Player* plr)
    {
    
      if(Message == help)
        {
           plr->BroadcastMessage("%s Needs Gm Assistance!", plr->GetName()
         }
    
    void SetupPlayerAssistance(ScriptMgr * mgr)
    {
    mgr->register_hook(SERVER_HOOK_EVENT_ON_CHAT, (void*)PlayerAssistance);
    }
    Setup.h:
    Code:
    #ifndef INSTANCE_SCRIPTS_SETUP_H
    #define INSTANCE_SCRIPTS_SETUP_H
    
    void SetupPlayerAssistance(ScriptMgr * mgr);
    
    #endif
    Not tested. And errors Say. I have to go/sleep >.>

    Edit: Changed to release



    › See More: Player-Help Command
    Last edited by StickyIcky; 09-09-08 at 12:17 PM.



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

  3. #2
    Grunt

    Join Date
    Aug 2008
    Posts
    41
    Post Thanks / Like
    Rep Power
    17
    Reputation
    41
    LMFAO!!! yeah imagine this on WoWscape.. gm's wouldn't even last for 1 day..

  4. #3
    Scout

    Join Date
    Sep 2008
    Posts
    7
    Post Thanks / Like
    Rep Power
    17
    Reputation
    10
    would be funny =P. Must find out how do some sort of timer.

    edit: Phsi i put request instaed of release Wigg I need a plzz =]
    Last edited by You_Got_Tescoed; 09-09-08 at 12:06 PM.

  5. #4
    Contributor
    StickyIcky's Avatar
    Join Date
    Jul 2008
    Location
    127.0.0.1
    Posts
    747
    Post Thanks / Like
    Rep Power
    19
    Reputation
    188
    What do you need?

  6. #5
    Scout

    Join Date
    Sep 2008
    Posts
    7
    Post Thanks / Like
    Rep Power
    17
    Reputation
    10
    The Post says Request, But i want to change it to release.

  7. #6
    Contributor
    StickyIcky's Avatar
    Join Date
    Jul 2008
    Location
    127.0.0.1
    Posts
    747
    Post Thanks / Like
    Rep Power
    19
    Reputation
    188

    Register to remove this ad
    Already done

 

 

Visitors found this page by searching for:

Nobody landed on this page from a search engine, yet!
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 05:22 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