• Possible to detect users OS?
    4 replies, posted
Hi! I wanna detect a users OS on GLUA. I wanna use GetHTMLMaterial which makes OSX users crash due to the awesominium library being broken on the OSX platform. Is there any way to detect a users OS so I can make sure the code doesn't execute for OSX users? Thanks!
Good luck mate.
You could use [url=http://luajit.org/ext_jit.html]jit.os[/url]. [editline]17th June 2013[/editline] Note that it's a string variable, not a function.
[url]http://gmodwiki.net/Lua/Libraries/system[/url]
Oh great thanks Wizard! Il mark as solved when I have checked it out.
Sorry, you need to Log In to post a reply to this thread.