...and as I see you did not want to bother understanding what these errors meant, so you decided to change the WHOLE function and just blindly copy'n'paste the one from POD-bot 2.6mm. >
That's not the right way to work, dude. EPODbot will go nowhere down this road.
If you want this new FakeClientCommand() function to work, you need to also change the Cmd_Argv, args and argc functions, and you also need to redefine g_argv and get rid of the GlobalLock() and GlobalUnlock(). And if you do that you also need to change ALL FakeClientCommand() calls so as to use formatting strings à la printf. Too bad, eh ?
You'd BETTER put back the old FakeClientCommand() code and not change stuff you don't understand yet. It's just an advice.
hint: data types.