concommand.Add
Example
Adds a concommand killyourself
which will kill the user.
Creates a console command that runs a function in lua with optional autocompletion function and help text.
This cannot be a name of existing console command or console variable. It will silently fail if it is.
Function callback arguments are:
This only properly works on the client since it is not networked.
Function callback arguments are:
Function callback return values are:
Adds a concommand killyourself
which will kill the user.