View Single Post
Re: Lets get this stuff rolling!
Old
  (#3)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: Lets get this stuff rolling! - 12-12-2004

botman thanks for your reply.

I thought i read that the engine->ClientCommand() issues a client command "as if the client typed this"... so it executes the command for that client itself.

as in eiface.h
Code:
// Issue the specified command to the specified client (mimics that client typing the command at the console).
 virtual void  ClientCommand( edict_t *pEdict, const char *szFmt, ... ) = 0;
for 2. Yes, its temporarily, though atm i don't think it will cause a problem. Because i simply use that for my own registration of bots. And since its cleared out, even with every new round a maxclients change, i cannot harm the system... though there SHOULD be a check ofcourse, so i won't create clients when there are no slots etc.


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote