View Single Post
03-16-23, 06:04 PM   #3
Walkerbo
A Cobalt Mageweaver
 
Walkerbo's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2010
Posts: 237
Try this
Lua Code:
  1. mapID = C_Map.GetBestMapForUnit("player")
  2. mapName= C_Map.GetMapInfo(mapID).name
  3. print("MapID", mapID, "Map Zone", mapName)
__________________
"As someone once told me, frames are just special types of tables, and tables are special types of pointers."
Fizzlemizz
  Reply With Quote