• Hail, we're RedGuides. We want you to play six (yes, 6!) EverQuest characters at once. We have scripts and a friendly community to help, please join our playstyle and say hello! 👋

MQ2Levitate

Cade

The Rainman, (Administrator)
Simple levitate plugin I wrote in the submit new thread box cause I'm bored...FEAR MY 1337 SKILLZ! I know I've seen it around (durr...everyone and their mother can write it...) but haven't run accross it here.

Rich (BB code):
#include "../MQ2Plugin.h"

VOID LeviCmd(PSPAWNINFO   pChar, PCHAR szLine)
{
	char command[MAX_STRING];
        GetArg(command,szLine,1);
        if(!stricmp(command,"on"))
        {
               pChar->Levitate = 2;
        }
        if(!stricmp(command,"off"))
        {
               pChar->Levitate = 0;
        }
}

PLUGIN_API VOID InitializePlugin(VOID)
{
	AddCommand("/levitate",LeviCmd);
}

PLUGIN_API VOID ShutdownPlugin(VOID)
{
	RemoveCommand("/levitate");
}
 
is this the same as the one in the compile? when I use the one in the compile it puts me far above everything and drops me to the ground and then up again and down, just repeats itself no matter where I move to :)
 
MQ2Levitate

Users who are viewing this thread

Back
Top
Cart