taultunleashed logoMp2 plugin zone : EQ1 EverQuest 1 Submissions
newtopic  postreply
 [ 1 post ] 
blue large dot

Mp2 plugin zone : EQ1 EverQuest 1 Submissions

Posted: February 1st, 2005, 5:34 am
 
tault_xabob
tault_xabob's Reps:
User avatar
(!empty($user->lang['CODE'])) ? $user->lang['CODE'] : ucwords(strtolower(str_replace('_', ' ', 'CODE'))):
#include "../MQ2Plugin.h"

PreSetup("MQ2Zone");

VOID GateBind(PSPAWNINFO, PCHAR);
VOID ZoneShift(PSPAWNINFO pChar, PCHAR szLine);

VOID ZoneShift(PSPAWNINFO pChar, PCHAR szLine)
{
   CHAR szMsg[MAX_STRING] = {0};     
   DWORD ZoneToGoTo;
   ZoneToGoTo = GetZoneID(szLine);
   sprintf(szMsg,"Going to zone %s, id %d",szLine,ZoneToGoTo);
   WriteChatColor(szMsg,USERCOLOR_DEFAULT);
   GetCharInfo()->ZoneBoundId = ZoneToGoTo;
   pChar->Type = SPAWN_CORPSE;
}

VOID GateBind(PSPAWNINFO pChar, PCHAR szLine)
{       WriteChatColor ("Gating...",CONCOLOR_RED);
       pChar->Type = SPAWN_CORPSE;
}

PLUGIN_API VOID InitializePlugin(VOID)
{
        AddCommand("/zone",ZoneShift);
   AddCommand("/gate",GateBind);
}


PLUGIN_API VOID ShutdownPlugin(VOID)
{
   DebugSpewAlways("Shutting down MQ2Zone");
   RemoveCommand("/gate");
   RemoveCommand("/zone");
}


/zone (shortname)


Reply with quote
Want Advertisements After The Last Post Removed? Create A Free Account!

blue large dot Who is online
Users browsing this forum: No registered users and 4 guests

Popular Sections
SWTOR Cheats
Guild Wars 2 Cheats
Guild Wars 2 Hacks
Guild Wars 2 Bots
Diablo 3 Cheats
Guild Wars 2 Mods

Popular Sections
WoW Cataclysm Cheats & Exploits
WoW Cataclysm Hacks & Bots
Star Wars The Old Republic Cheats
SWTOR Mods
Torchlight 2 Cheats
SWTOR Space Mission Bots
Site Nav and RSS
RSS Feed of EQ1 EverQuest 1 Submissions RSS Feed 
Sitemap of EQ1 EverQuest 1 Submissions Sitemap 
SitemapIndex SitemapIndex
RSS Feed RSS Feed
Channel list Channel list
left bottom corner Site and Contents Copyright 2001-2012 All Rights Reserved TaultUnleashed.com bottom corner
top left
top right
createaccount
Username:   Password:   Remember Me?