I’m trying to get a convars and send it to my nui, but it’s not working. I have this error in the client console:

Attempt to call a nil value (global 'GetConvar')

Here’s my code:

	active_value1 = true,
	value_1 = GetConvar('value_1', 'NULL')

And in the server.cfg file:

set value_1 "chicken"

Best regards,


Did you restart the server after setting the value?


Also, I think GetConvar has to be called on the server end and then passed to the client. At least according to the reference: