PDA

View Full Version : Mall,Maze,Duel,Stair,Jump [Teleport Commands]



Wise
08-03-14, 12:50 AM
Teleport Commands
https://gist.github.com/SymbolixDEV/22c25c494f240768a096

Maze , Mall , Duel , Stair , Jump Commands for events and etc change you zone cords !

You don't know for view Cords ? Join Ingame and go to you place .gps ((MAP, X, Y, Z, O)) view this and add now player->TeleportTo(0, 0.0f, 0.0f, 0.0f, 0.0f); (MAP, X, Y, Z, O)

This is a small script !

Credits:
Ghostcrawler336 - For create mall commands
SymbolixDEV - For Edits and adding more place !

You are dont chanse to use this commands on
if (player->IsInCombat()) - Dont chanse to use commands on combat
if (player->IsInArena()) - Dont chanse to use commands on Arena
if (player->GetMap()->IsBattleground()) - Dont chanse to use commands on Battlegrounds
if (player->IsInFlight()) - Dont chanse to use commands on Flight !



I ran astyle on it for you, but there are still some weird if stacking, i do not even get the intended function of them.
https://gist.github.com/Lillecarl/931928bb5bfdeec02af9