lua cvar changer

How do i change a cvar like: sbox_maxprops with lua?
I tried RunConsoleCommand but it failed.
Im needing this server side BTW.

[editline]04:26AM[/editline]

nvm