WoW:API IsLinuxClient: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
m (Changed the tag)
Line 1: Line 1:
{{wowapi}}
This is a boolean function which returns true if World of Warcraft is being run on Linux.  
This is a boolean function which returns true if World of Warcraft is being run on Linux.  


Line 10: Line 11:


----
----
{{WoW API}}

Revision as of 01:21, 4 July 2006

WoW API < IsLinuxClient

This is a boolean function which returns true if World of Warcraft is being run on Linux.

eg

if IsLinuxClient() then
   s = "./myfile.xml"
else
   s = "myfile.xml"
end