Does anyone know what function is called when a user types in a console command that doesn't exist?
Example: If I were to type in "bloog" in the console, the console would read that "bloog" isn't a command, and would call a function that returns the message "Unknown command: bloog".
Either this is not it's own function call and is part of the console's operation, or I can't find it.
The reason I want to do this is to eliminate the console command "kill", which allows players to suicide. I want to give the illusion that the command doesn't exist, so I want to give a function call that gives a message saying that command doesn't exist.
Thanks for any help, I'm new to AMXX, but not to coding (three years).