Results 1 to 6 of 6
Thread: Player-Help Command
-
08-09-08, 03:27 PM #1Scout

- Join Date
- Sep 2008
- Posts
- 7
- Rep Power
- 18
- Reputation
- 10
Player-Help Command
Register to remove this adThis 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:
Setup.h: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); }
Not tested. And errors Say. I have to go/sleep >.>Code:#ifndef INSTANCE_SCRIPTS_SETUP_H #define INSTANCE_SCRIPTS_SETUP_H void SetupPlayerAssistance(ScriptMgr * mgr); #endif
Edit: Changed to release
Last edited by StickyIcky; 09-09-08 at 12:17 PM.
-
08-09-08, 04:30 PM #2Grunt

- Join Date
- Aug 2008
- Posts
- 41
- Rep Power
- 18
- Reputation
- 41
LMFAO!!! yeah imagine this on WoWscape.. gm's wouldn't even last for 1 day..
-
09-09-08, 11:55 AM #3Scout

- Join Date
- Sep 2008
- Posts
- 7
- Rep Power
- 18
- 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.
-
09-09-08, 12:16 PM #4
-
09-09-08, 02:31 PM #5Scout

- Join Date
- Sep 2008
- Posts
- 7
- Rep Power
- 18
- Reputation
- 10
The Post says Request, But i want to change it to release.
-
09-09-08, 02:50 PM #6
Register to remove this adAlready done



Reply With Quote
StickyIcky









