-
Player-Help Command
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
-
LMFAO!!! yeah imagine this on WoWscape.. gm's wouldn't even last for 1 day..
-
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 =]
-
-
The Post says Request, But i want to change it to release.
-