View Single Post
Re: pfnAddServerCommand
Old
  (#2)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: pfnAddServerCommand - 24-12-2003

Do NOT use your own (hooked) versions of pfnCmd_Argv and pfnCmd_Argc, instead use the CMD_ARGV and CMD_ARGC macros to the direct engine functions... also notice that if your sv_bot CVAR is called "rbcm", registering a rbcm server command may not work...

Other than that what you have here should work



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote