TeachersPet
Well-known member
- Joined
- Jul 27, 2005
- RedCents
- 71¢
I've posted this in a few forms before but I figure it belongs in plugin form at some point. Essentially this is just a nice addition if you're like me and hide your MQ2 window. It displays on your screen when a GM zones in and out of your zone.
Rich (BB code):
// MQ2GMNotify by TeachersPet
// Just load it up and read your screen when a GM zones in or out
#include "../MQ2Plugin.h"
PreSetup("MQ2GMNotify");
PLUGIN_API VOID OnAddSpawn(PSPAWNINFO pNewSpawn)
{
CHAR szMsg[MAX_STRING];
if (pNewSpawn->GM) {
sprintf(szMsg,"GM %s is in the zone!",pNewSpawn->Name);
DisplayOverlayText(szMsg, CONCOLOR_RED, 100, 500,500,3000);
}
}
PLUGIN_API VOID OnRemoveSpawn(PSPAWNINFO pSpawn)
{
CHAR szMsg[MAX_STRING];
if (pSpawn->GM) {
sprintf(szMsg,"GM %s has LEFT the building!",pSpawn->Name);
DisplayOverlayText(szMsg, CONCOLOR_LIGHTBLUE, 100, 500,500,3000);
}
}

