here is a script that will teleport the player who uses .mall to the coords depending on his faction
simply edit the coords to change it
Code://--------------------- // Name: Custom Player Mall port command // Author: Mager1794 // This Script can not be released by anyone else other than me //--------------------- #include "StdAfx.h" #include "Setup.h" static string mall = ".mall"; static bool bypassCombat = false;//Change this if you wish to allow them to port while in combat void PlayerChat(Player * pPlayer, uint32 Type, uint32 Lang, const char * Message, const char * Misc) { if(Message == mall) { if(bypassCombat || !pPlayer->CombatStatus.IsInCombat()) if(pPlayer->getRace()== 10||pPlayer->getRace()== 2||pPlayer->getRace()== 6||pPlayer->getRace()== 8||pPlayer->getRace()== 5) pPlayer->EventTeleport(1, 7367.040039, -1559.760010, 163.52295); else pPlayer->EventTeleport(0, -4828.089844, -982.234009, 464.709015); else pPlayer->BroadcastMessage("you cannot port to the mall while in combat"); } } void SetupCustomCommands(ScriptMgr * mgr) { mgr->register_hook(SERVER_HOOK_EVENT_ON_CHAT, &PlayerChat); }

![[Release] .mall command to port players](https://www.ownedcore.com/forums/./ocpbanners/1/2/9/8/0/2/2/01d9781faec8bfe3abf9095ac9e57d1e.jpg)
![TradeSafe Middleman [Release] .mall command to port players](https://www.ownedcore.com/assets/mm/images/wits.png)
![CoreCoins [Release] .mall command to port players](https://www.ownedcore.com/forums/images/styles/OwnedCoreFX/addimg/wicc.png)



Reply With Quote![[Release] .mall command to port players](https://www.ownedcore.com/images/ba/g/b2.gif)


+Rep From me 

