No description provided.
Make CreateClientConVar support help text
What happens when you use CreateClientConVar( "convar", "0" ), my guess is that it'll create a error (or echo "nil" as helptext) because helptext has no fail safe, change the CreateConVar call to ( helptext or "" ) to be sure (or use a local helptext = helptext || "", depending on which behavior I mentioned is observed)
CreateClientConVar( "convar", "0" )
( helptext or "" )
local helptext = helptext || ""
Seeing as nil is passed when the argument is not provided and it's an optional arg, it should not error.
Hmm might be that I'm thinking too much in C++ / PHP terms.
Already tested. Passing nil as latter arguments has no effect in Lua, regardless if it's crossing the C++ boundry
Depending on the function's implementation it actually can, but not in this case.