View Single Post
05-23-16, 09:37 PM   #19
Vrul
A Scalebane Royal Guard
 
Vrul's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2007
Posts: 404
Instead of the CVar gxResolution you need to use this instead:
Code:
local monitorIndex = (tonumber(GetCVar('gxMonitor')) or 0) + 1
local resolution = select(GetCurrentResolution(monitorIndex), GetScreenResolutions(monitorIndex))