PHP Code:
new gFileName[128]
public plugin_init()
{
new dir[64]
get_localinfo("amxx_datadir", dir, 63)
format(gFileName, 127, "%s/blah.w/e", dir)
}
You can replace "amxx_datadir" (data folder) with "amxx_configsdir" (configs folder) if you want. I'm not sure about the rest of them though.