• CLIENT is false
    2 replies, posted
I'm trying to make something, (a server plugin) but it never works. It displays the message in chat [RDMC] RDMC has started up, which is good, but it doesn't open the Derma panel. I did print(CLIENT) and it showed False, I'm pretty sure this is the source of my problems as vgui is client side... What do I do to make CLIENT true? The 'false' is the result of print(CLIENT). [IMG]http://i.imgur.com/twRHDma.png[/IMG]
You are running the script on server, obviously CLIENT will evaluate to false. [editline]20th July 2014[/editline] lua_openscript_cl is for clientside files. Make sure sv_allowcslua is 1.
Run your code as shared and do server checks as you would client checks.(since it's a plugin I'm assuming it's an addon)
Sorry, you need to Log In to post a reply to this thread.