Bad argument #2 (?) to "ConCommand"


init.lua:23: bad argument #2 to 'ConCommand' (string expected, got no value)

That’s the error. I’ve checked at http://wiki.garrysmod.com/page/Classes/Player/ConCommand and it says it only has one argument.

Show us the snippet?

You probably used a . instead of :

Thanks!