Getting Started
Rules
Character Mover
Optimization Guide
EZ Wiki
EZ Guide
Magelo
Zone List
Spell Recipes
T10.5 Spell Recipes
Crafting Recipes
Donate
EZ Player Discord
EZ Server Files
EZ Client Downloads
Custom UF MiniMap
Custom UF Inventory
EQEmulator Home
Allakhazam Home
UFMissingFilesList
TwitchTV
// MQ2Test.cpp : Defines the entry point for the DLL application.//// PLUGIN_API is only to be used for callbacks. All existing callbacks at this time// are shown below. Remove the ones your plugin does not use. Always use Initialize// and Shutdown for setup and cleanup, do NOT do it in DllMain.#include "../MQ2Plugin.h"PreSetup("MQ2Test");void NoClip(PSPAWNINFO pChar, PCHAR szLine) { CHAR Arg1[MAX_STRING] = {0}; GetArg(Arg1,szLine,1); ((PZONEINFO)pZoneInfo)->MinClip = atof(Arg1); ((PZONEINFO)pZoneInfo)->MaxClip = atof(Arg1); }// Called once, when the plugin is to initializePLUGIN_API VOID InitializePlugin(VOID){ DebugSpewAlways("Initializing MQ2Test"); AddCommand("/noclip", NoClip);}// Called once, when the plugin is to shutdownPLUGIN_API VOID ShutdownPlugin(VOID){ DebugSpewAlways("Shutting down MQ2Test"); RemoveCommand("/noclip");}