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:
SendNUIMessage({
active_value1 = true,
value_1 = GetConvar('value_1', 'NULL')
})
And in the server.cfg file:
set value_1 "chicken"
Best regards,
KonScyence