Doing it clientside would be highly recommended (the latency introduced by bouncing the command via the server is very undesirable).
- Alfred ----Original Message---- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of NuclearFriend Sent: Sunday, May 22, 2005 12:31 AM To: [email protected] Subject: Re: [hlcoders] catching the OK click on the MOTD? > -- > [ Picked text/plain from multipart/alternative ] > http://list.valvesoftware.com/mailman/private/hlcoders/2005-April/013241 .html > > Simply send a ClientCommand call in the OnCommand or do it all > client-side and make the teammenu visible in OnCommand. > > On 5/22/05, r00t 3:16 <[EMAIL PROTECTED]> wrote: > > > > > > Sorry if this was asked before... > > I am not quite sure how to catch this to see if the button is > > clicked so I can bring up the team menu. > > > > Would I do it in the ConCommand() where the okay is specified then > > use something like m_pViewPort->ShowPanel( ???, true ); Or should I > > add this in the ClientCommand of CHL2MP_Player ? > > > > I actually tried catching the okay in the ClientCommand of > > CHL2MP_Player::ClientCommand() but it did not work. > > > > > > > > r00t 3:16 > > CQC Gaming > > www.cqc-gaming.com <http://www.cqc-gaming.com> > > > > > > _______________________________________________ > > To unsubscribe, edit your list preferences, or view the list > > archives, please visit: > > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > > > > -- > Programmer for RnL > www.resistanceandliberation.com > <http://www.resistanceandliberation.com> _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

