Thread
:
How to detect if the client is WotLK?
View Single Post
08-16-08, 08:28 AM
#
2
Mikord
A Theradrim Guardian
Join Date: Jul 2006
Posts: 61
There are several ways you can do it.
One of the easiest is to check the TOC version via GetBuildInfo.
http://www.wowwiki.com/API_GetBuildInfo
Code:
local tocVersion = select(4, GetBuildInfo()) if tocVersion >= 30000 then -- It's WotLK.... end
Mikord
View Public Profile
Send a private message to Mikord
Find More Posts by Mikord