Code:
VOID wFloat(Int adr, float Valuve)
{
*(float*)(adr) = Valuve;
}
/*char definition:*/
char *WB_sEmAp [] = {"[None]","[Marien]","[Kahli]","[Cadoro]","[Khyber]","[Bloc]"};
char *WB_TelmO [] = {"[None]","[HotKey]","[All 5 Sec.]","[Instand]"};
char *WB_TelTo
Int WHC_TelePortBot = 0;
Int WHC_TelePortsEMap = 0;
Int WHC_TelePortto = 0;
Int WHC_TeleportMethod = 0;
Bool WHC_Countdown_map1_tel1 = true;
/*Your Class*/->AddSubb( ("Your MenuText"),&WHC_TelePortBot,WB_OnOff);
if(WHC_TelePortBot)
{
/*Your Class*/->WHMAdI(("Your MenuText"),&WHC_TelePortsEMap,WB_sEmAp,6);
/*Your Class*/->WHMAdI(("Your MenuText"),&WHC_TelePortto,WB_TelTo,5);
/*Your Class*/->WHMAdI(("Your MenuText"),&WHC_TeleportMethod,WB_TelmO,4);
}
VOID TelePortBot(VOID)
{
Dd GMan = *(Dd*)WHA_PlayerPointer;
if(GMan != 0)
{
if(WHC_TelePortBot==1)
{
if(WHC_TelePortsEMap==1)
{
if(WHC_TelePortto==1)
{
if(GetAsyncKeyState(VK_NUMPAD2) &1)
{
if(WHC_TeleportMethod==1)
{
wFloat(GMan+WHO_X,3648);
wFloat(GMan+WHO_Y,2465);
wFloat(GMan+WHO_Z,63);
}
}
if(WHC_TeleportMethod==2 && WHC_Countdown_map1_tel1==true)
{
wFloat(GMan+WHO_X,3648);
wFloat(GMan+WHO_Y,2465);
wFloat(GMan+WHO_Z,63);
WHC_Countdown_map1_tel1=false;
}
if(WHC_TeleportMethod==3)
{
wFloat(GMan+WHO_X,3648);
wFloat(GMan+WHO_Y,2465);
wFloat(GMan+WHO_Z,63);
}
}
if(WHC_TelePortto==2)
{
if(GetAsyncKeyState(VK_NUMPAD2) &1)
{
if(WHC_TeleportMethod==1)
{
wFloat(GMan+WHO_X,2658);
wFloat(GMan+WHO_Y,3472);
wFloat(GMan+WHO_Z,63);
}
}
if(WHC_TeleportMethod==2 && WHC_Countdown_map1_tel1==true)
{
wFloat(GMan+WHO_X,2658);
wFloat(GMan+WHO_Y,3472);
wFloat(GMan+WHO_Z,63);
WHC_Countdown_map1_tel1=false;
}
if(WHC_TeleportMethod==3)
{
wFloat(GMan+WHO_X,2658);
wFloat(GMan+WHO_Y,3472);
wFloat(GMan+WHO_Z,63);
}
}
if(WHC_TelePortto==3)
{
if(WHC_TeleportMethod==1 && GetAsyncKeyState(VK_NUMPAD2) &1)
{
wFloat(GMan+WHO_X,2219);
wFloat(GMan+WHO_Y,1996);
wFloat(GMan+WHO_Z,8);
}
if(WHC_TeleportMethod==2 && WHC_Countdown_map1_tel1==true)
{
wFloat(GMan+WHO_X,2219);
wFloat(GMan+WHO_Y,1996);
wFloat(GMan+WHO_Z,8);
WHC_Countdown_map1_tel1=false;
}
if(WHC_TeleportMethod==3)
{
wFloat(GMan+WHO_X,2219);
wFloat(GMan+WHO_Y,1996);
wFloat(GMan+WHO_Z,8);
}
}
if(WHC_TelePortto==4)
{
if(WHC_TeleportMethod==1 && GetAsyncKeyState(VK_NUMPAD2) &1)
{
wFloat(GMan+WHO_X,4124);
wFloat(GMan+WHO_Y,4015);
wFloat(GMan+WHO_Z,121);
}
if(WHC_TeleportMethod==2 && WHC_Countdown_map1_tel1==true)
{
wFloat(GMan+WHO_X,4124);
wFloat(GMan+WHO_Y,4015);
wFloat(GMan+WHO_Z,121);
WHC_Countdown_map1_tel1=false;
}
if(WHC_TeleportMethod==3)
{
wFloat(GMan+WHO_X,4124);
wFloat(GMan+WHO_Y,4015);
wFloat(GMan+WHO_Z,121);
}
}
}
if(WHC_TelePortsEMap==2)
{
if(WHC_TelePortto==1)
{
if(GetAsyncKeyState(VK_NUMPAD2) &1)
{
if(WHC_TeleportMethod==1)
{
wFloat(GMan+WHO_X,3631);
wFloat(GMan+WHO_Y,4623);
wFloat(GMan+WHO_Z,945);
}
}
if(WHC_TeleportMethod==2 && WHC_Countdown_map1_tel1==true)
{
wFloat(GMan+WHO_X,3630);
wFloat(GMan+WHO_Y,4694);
wFloat(GMan+WHO_Z,945);
WHC_Countdown_map1_tel1=false;
}
if(WHC_TeleportMethod==3)
{
wFloat(GMan+WHO_X,3630);
wFloat(GMan+WHO_Y,4694);
wFloat(GMan+WHO_Z,945);
}
}
if(WHC_TelePortto==2)
{
if(GetAsyncKeyState(VK_NUMPAD2) &1)
{
if(WHC_TeleportMethod==1)
{
wFloat(GMan+WHO_X,4613);
wFloat(GMan+WHO_Y,4562);
wFloat(GMan+WHO_Z,915);
}
}
if(WHC_TeleportMethod==2 && WHC_Countdown_map1_tel1==true)
{
wFloat(GMan+WHO_X,4613);
wFloat(GMan+WHO_Y,4562);
wFloat(GMan+WHO_Z,915);
WHC_Countdown_map1_tel1=false;
}
if(WHC_TeleportMethod==3)
{
wFloat(GMan+WHO_X,4613);
wFloat(GMan+WHO_Y,4562);
wFloat(GMan+WHO_Z,915);
}
}
if(WHC_TelePortto==3)
{
if(WHC_TeleportMethod==1 && GetAsyncKeyState(VK_NUMPAD2) &1)
{
wFloat(GMan+WHO_X,3619);
wFloat(GMan+WHO_Y,4800);
wFloat(GMan+WHO_Z,945);
}
if(WHC_TeleportMethod==2 && WHC_Countdown_map1_tel1==true)
{
wFloat(GMan+WHO_X,3619);
wFloat(GMan+WHO_Y,4800);
wFloat(GMan+WHO_Z,945);
WHC_Countdown_map1_tel1=false;
}
if(WHC_TeleportMethod==3)
{
wFloat(GMan+WHO_X,3619);
wFloat(GMan+WHO_Y,4800);
wFloat(GMan+WHO_Z,945);
}
}
if(WHC_TelePortto==4)
{
if(WHC_TeleportMethod==1 && GetAsyncKeyState(VK_NUMPAD2) &1)
{
wFloat(GMan+WHO_X,5260);
wFloat(GMan+WHO_Y,3611);
wFloat(GMan+WHO_Z,1075);
}
if(WHC_TeleportMethod==2 && WHC_Countdown_map1_tel1==true)
{
wFloat(GMan+WHO_X,5260);
wFloat(GMan+WHO_Y,3611);
wFloat(GMan+WHO_Z,1075);
WHC_Countdown_map1_tel1=false;
}
if(WHC_TeleportMethod==3)
{
wFloat(GMan+WHO_X,5260);
wFloat(GMan+WHO_Y,3611);
wFloat(GMan+WHO_Z,1075);
}
}
}
if(WHC_TelePortsEMap==3)
{
if(WHC_TelePortto==1)
{
if(GetAsyncKeyState(VK_NUMPAD2) &1)
{
if(WHC_TeleportMethod==1)
{
wFloat(GMan+WHO_X,2973);
wFloat(GMan+WHO_Y,3802);
wFloat(GMan+WHO_Z,281);
}
}
if(WHC_TeleportMethod==2 && WHC_Countdown_map1_tel1==true)
{
wFloat(GMan+WHO_X,2973);
wFloat(GMan+WHO_Y,3802);
wFloat(GMan+WHO_Z,281);
WHC_Countdown_map1_tel1=false;
}
if(WHC_TeleportMethod==3)
{
wFloat(GMan+WHO_X,2973);
wFloat(GMan+WHO_Y,3802);
wFloat(GMan+WHO_Z,281);
}
}
if(WHC_TelePortto==2)
{
if(GetAsyncKeyState(VK_NUMPAD2) &1)
{
if(WHC_TeleportMethod==1)
{
wFloat(GMan+WHO_X,1945);
wFloat(GMan+WHO_Y,2381);
wFloat(GMan+WHO_Z,263);
}
}
if(WHC_TeleportMethod==2 && WHC_Countdown_map1_tel1==true)
{
wFloat(GMan+WHO_X,1945);
wFloat(GMan+WHO_Y,2381);
wFloat(GMan+WHO_Z,263);
WHC_Countdown_map1_tel1=false;
}
if(WHC_TeleportMethod==3)
{
wFloat(GMan+WHO_X,1945);
wFloat(GMan+WHO_Y,2381);
wFloat(GMan+WHO_Z,263);
}
}
if(WHC_TelePortto==3)
{
if(WHC_TeleportMethod==1 && GetAsyncKeyState(VK_NUMPAD2) &1)
{
wFloat(GMan+WHO_X,1988);
wFloat(GMan+WHO_Y,2509);
wFloat(GMan+WHO_Z,263);
}
if(WHC_TeleportMethod==2 && WHC_Countdown_map1_tel1==true)
{
wFloat(GMan+WHO_X,1988);
wFloat(GMan+WHO_Y,2509);
wFloat(GMan+WHO_Z,263);
WHC_Countdown_map1_tel1=false;
}
if(WHC_TeleportMethod==3)
{
wFloat(GMan+WHO_X,1988);
wFloat(GMan+WHO_Y,2509);
wFloat(GMan+WHO_Z,263);
}
}
if(WHC_TelePortto==4)
{
if(WHC_TeleportMethod==1 && GetAsyncKeyState(VK_NUMPAD2) &1)
{
wFloat(GMan+WHO_X,4967);
wFloat(GMan+WHO_Y,4108);
wFloat(GMan+WHO_Z,237);
}
if(WHC_TeleportMethod==2 && WHC_Countdown_map1_tel1==true)
{
wFloat(GMan+WHO_X,4967);
wFloat(GMan+WHO_Y,4108);
wFloat(GMan+WHO_Z,237);
WHC_Countdown_map1_tel1=false;
}
if(WHC_TeleportMethod==3)
{
wFloat(GMan+WHO_X,4967);
wFloat(GMan+WHO_Y,4108);
wFloat(GMan+WHO_Z,237);
}
}
}
if(WHC_TelePortsEMap==4)
{
if(WHC_TelePortto==1)
{
if(GetAsyncKeyState(VK_NUMPAD2) &1)
{
if(WHC_TeleportMethod==1)
{
wFloat(GMan+WHO_X,4390);
wFloat(GMan+WHO_Y,3636);
wFloat(GMan+WHO_Z,119);
}
}
if(WHC_TeleportMethod==2 && WHC_Countdown_map1_tel1==true)
{
wFloat(GMan+WHO_X,4390);
wFloat(GMan+WHO_Y,3636);
wFloat(GMan+WHO_Z,119);
WHC_Countdown_map1_tel1=false;
}
if(WHC_TeleportMethod==3)
{
wFloat(GMan+WHO_X,4390);
wFloat(GMan+WHO_Y,3636);
wFloat(GMan+WHO_Z,119);
}
}
if(WHC_TelePortto==2)
{
if(GetAsyncKeyState(VK_NUMPAD2) &1)
{
if(WHC_TeleportMethod==1)
{
wFloat(GMan+WHO_X,3879);
wFloat(GMan+WHO_Y,2668);
wFloat(GMan+WHO_Z,38);
}
}
if(WHC_TeleportMethod==2 && WHC_Countdown_map1_tel1==true)
{
wFloat(GMan+WHO_X,3879);
wFloat(GMan+WHO_Y,2668);
wFloat(GMan+WHO_Z,38);
WHC_Countdown_map1_tel1=false;
}
if(WHC_TeleportMethod==3)
{
wFloat(GMan+WHO_X,3879);
wFloat(GMan+WHO_Y,2668);
wFloat(GMan+WHO_Z,38);
}
}
if(WHC_TelePortto==3)
{
if(WHC_TeleportMethod==1 && GetAsyncKeyState(VK_NUMPAD2) &1)
{
wFloat(GMan+WHO_X,4676);
wFloat(GMan+WHO_Y,2754);
wFloat(GMan+WHO_Z,151);
}
if(WHC_TeleportMethod==2 && WHC_Countdown_map1_tel1==true)
{
wFloat(GMan+WHO_X,4676);
wFloat(GMan+WHO_Y,2754);
wFloat(GMan+WHO_Z,151);
WHC_Countdown_map1_tel1=false;
}
if(WHC_TeleportMethod==3)
{
wFloat(GMan+WHO_X,4676);
wFloat(GMan+WHO_Y,2754);
wFloat(GMan+WHO_Z,151);
}
}
if(WHC_TelePortto==4)
{
if(WHC_TeleportMethod==1 && GetAsyncKeyState(VK_NUMPAD2) &1)
{
wFloat(GMan+WHO_X,2005);
wFloat(GMan+WHO_Y,3491);
wFloat(GMan+WHO_Z,15);
}
if(WHC_TeleportMethod==2 && WHC_Countdown_map1_tel1==true)
{
wFloat(GMan+WHO_X,2005);
wFloat(GMan+WHO_Y,3491);
wFloat(GMan+WHO_Z,15);
WHC_Countdown_map1_tel1=false;
}
if(WHC_TeleportMethod==3)
{
wFloat(GMan+WHO_X,2005);
wFloat(GMan+WHO_Y,3491);
wFloat(GMan+WHO_Z,15);
}
}
}
if(WHC_TelePortsEMap==5)
{
if(WHC_TelePortto==1)
{
if(GetAsyncKeyState(VK_NUMPAD2) &1)
{
if(WHC_TeleportMethod==1)
{
wFloat(GMan+WHO_X,2825);
wFloat(GMan+WHO_Y,2627);
wFloat(GMan+WHO_Z,287);
}
}
if(WHC_TeleportMethod==2 && WHC_Countdown_map1_tel1==true)
{
wFloat(GMan+WHO_X,2825);
wFloat(GMan+WHO_Y,2627);
wFloat(GMan+WHO_Z,287);
WHC_Countdown_map1_tel1=false;
}
if(WHC_TeleportMethod==3)
{
wFloat(GMan+WHO_X,2825);
wFloat(GMan+WHO_Y,2627);
wFloat(GMan+WHO_Z,287);
}
}
if(WHC_TelePortto==2)
{
if(GetAsyncKeyState(VK_NUMPAD2) &1)
{
if(WHC_TeleportMethod==1)
{
wFloat(GMan+WHO_X,2817);
wFloat(GMan+WHO_Y,2861);
wFloat(GMan+WHO_Z,624);
}
}
if(WHC_TeleportMethod==2 && WHC_Countdown_map1_tel1==true)
{
wFloat(GMan+WHO_X,2817);
wFloat(GMan+WHO_Y,2861);
wFloat(GMan+WHO_Z,624);
WHC_Countdown_map1_tel1=false;
}
if(WHC_TeleportMethod==3)
{
wFloat(GMan+WHO_X,2817);
wFloat(GMan+WHO_Y,2861);
wFloat(GMan+WHO_Z,624);
}
}
if(WHC_TelePortto==3)
{
if(WHC_TeleportMethod==1 && GetAsyncKeyState(VK_NUMPAD2) &1)
{
wFloat(GMan+WHO_X,2739);
wFloat(GMan+WHO_Y,3669);
wFloat(GMan+WHO_Z,391);
}
if(WHC_TeleportMethod==2 && WHC_Countdown_map1_tel1==true)
{
wFloat(GMan+WHO_X,2739);
wFloat(GMan+WHO_Y,3669);
wFloat(GMan+WHO_Z,391);
WHC_Countdown_map1_tel1=false;
}
if(WHC_TeleportMethod==3)
{
wFloat(GMan+WHO_X,2739);
wFloat(GMan+WHO_Y,3669);
wFloat(GMan+WHO_Z,391);
}
}
if(WHC_TelePortto==4)
{
if(WHC_TeleportMethod==1 && GetAsyncKeyState(VK_NUMPAD2) &1)
{
wFloat(GMan+WHO_X,2656);
wFloat(GMan+WHO_Y,1238);
wFloat(GMan+WHO_Z,146);
}
if(WHC_TeleportMethod==2 && WHC_Countdown_map1_tel1==true)
{
wFloat(GMan+WHO_X,2656);
wFloat(GMan+WHO_Y,1238);
wFloat(GMan+WHO_Z,146);
WHC_Countdown_map1_tel1=false;
}
if(WHC_TeleportMethod==3)
{
wFloat(GMan+WHO_X,2656);
wFloat(GMan+WHO_Y,1238);
wFloat(GMan+WHO_Z,146);
}
}
}
}
}
}
VOID CheckCOUT(VOID)
{
if(WHC_Countdown_map1_tel1==false)
{
Sleep(5000);
WHC_Countdown_map1_tel1=true;
}
}
In Your WinApi: