Another problem.
I'm understanding Lua so I'm having way lesser problems than I had before.
How do I make a CVAR and how do I access it?
I made a CVAR but everytime I access it to set a variable with the value of this CVAR, it says it has a problem because Lua expected a number and not userdata.
Then how do I use the CVAR I just made, making sure only the server/admin can edit it and accesible for Lua?
I'm understanding Lua so I'm having way lesser problems than I had before.
How do I make a CVAR and how do I access it?
I made a CVAR but everytime I access it to set a variable with the value of this CVAR, it says it has a problem because Lua expected a number and not userdata.
Then how do I use the CVAR I just made, making sure only the server/admin can edit it and accesible for Lua?