View Single Post
Re: Bot Won't Join Team
Old
  (#4)
The Storm
Council Member / E[POD]bot developer
 
The Storm's Avatar
 
Status: Offline
Posts: 1,620
Join Date: Jul 2004
Location: Bulgaria
Default Re: Bot Won't Join Team - 29-05-2008

Just add it in to the bot creation function after the bot is created. It seems that HPB bot use the SET_CLIENT_KEYVALUE() function, so find this lines of code
Code:
if (mod_id == CSTRIKE_DLL)
      {
         SET_CLIENT_KEYVALUE( clientIndex, infobuffer, "rate", "3500.000000");
         SET_CLIENT_KEYVALUE( clientIndex, infobuffer, "cl_updaterate", "20");
         SET_CLIENT_KEYVALUE( clientIndex, infobuffer, "cl_lw", "1");
         SET_CLIENT_KEYVALUE( clientIndex, infobuffer, "cl_lc", "1");
         SET_CLIENT_KEYVALUE( clientIndex, infobuffer, "tracker", "0");
         SET_CLIENT_KEYVALUE( clientIndex, infobuffer, "cl_dlmax", "128");
         SET_CLIENT_KEYVALUE( clientIndex, infobuffer, "lefthand", "1");
         SET_CLIENT_KEYVALUE( clientIndex, infobuffer, "friends", "0");
         SET_CLIENT_KEYVALUE( clientIndex, infobuffer, "dm", "0");
         SET_CLIENT_KEYVALUE( clientIndex, infobuffer, "ah", "1");
      }
and add this line of code
Code:
SET_CLIENT_KEYVALUE( clientIndex, infobuffer, "_vgui_menus", "0");
That's all.
  
Reply With Quote