Re: pfnAddServerCommand -
12-01-2004
nonono, if you're using your own registered server command, DON'T use your own Cmd_Argv(), Cmd_Argc() and Cmd_Args(). Use the MACROS which call the direct engine functions, CMD_ARGV(), CMD_ARGC() and CMD_ARGS(). If you don't, your code will work, but NOT if a bot is issuing a Client Command at the same time. You will have unpredictable results if this happens, and it will.
RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
|