Problems with Clients and ConVars

Hi Guys,

I’m fairly new to Lua-coding and my project is still in it’s baby shoes, but I’m learning quickly. However, I have ran into a problem which is quite annoying.

Basically, what I’m trying to do is to send a message from the server to the client. The message tells the client to hide a specific entity with a ConVar.
Now, I can change these ConVars manually, but I want them to change with a function from the servers init.lua.

I suppose it’s only a small issue and I’m being dumb, but thanks in advance!

You would need to RunConsoleCommand on the client, or _p:ConCommand( ) from the client or server to change a convar value.

Wow I’m a moron. Many many many thanks, it’s working perfectly now! Thank you!