I want to add a new command. In TakeControlOfCommandList, I add
{"/mycmd", "myCmd"},
to the szNewCommands array.
I then define my function later down below:
VOID myCmd (PSPAWNINFO pChar, PCHAR szLine)
{
// do stuff
}
What else am I missing? Its doesn't recognize /mycmd when I try it in game. I tried following the example of /beep but there must be more to it.
thanks

