[DiscordArchive] You're not using the map, anyway I don't know that method, I would have to look for it. Where is it?
[DiscordArchive] You're not using the map, anyway I don't know that method, I would have to look for it. Where is it?
Archived author: stevej • Posted: 2019-07-29T01:31:54.158000+00:00
Original source
You're not using the map, anyway I don't know that method, I would have to look for it. Where is it?
Archived author: stevej • Posted: 2019-07-29T01:40:30.841000+00:00
Original source
I don't know if it'll be optimal to do this.
Archived author: stevej • Posted: 2019-07-29T01:40:44.241000+00:00
Original source
```c
void OnMapChanged(Map* map, Player* player) {
if(player->GetMapId() == 571) {
player->TeleportTo(530, -1838.160, 5301.790f, -12.428f, 5.95f);
player->GetSession()->SendNotification("This Map Is Currently Disabled");
ChatHandler(player->GetSession()).PSendSysMessage("This Map Is Currently Disabled");
}
}
```