• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver

MQ2Levitate

Cade

The Rainman, (Administrator)
Joined
Feb 28, 2005
RedCents
1,041¢
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