View Single Post
05/07/15, 05:07 AM   #1
Leju
AddOn Author - Click to view addons
Join Date: Apr 2015
Posts: 8
Lua - Get Directory xxx.lua

I am creating an addon and I'm stuck on one thing, when I use the following line in the Lua
local dir = debug.getinfo(1).source
it returns me the following result
@game:/EsoUI/lang/br_pregame.lua
and what I need to know and exactly the way it is "@game:" by chance would have the game function something that could help me?

Last edited by Leju : 05/07/15 at 05:25 AM.
  Reply With Quote