CUserCmd sounds to be what I was looking for.

Thank you very much for your help :-)

2008/12/6 Andrew Ritchie <[EMAIL PROTECTED]>

> You could mod the CUserCMD class I believe so that it is capable of holding
> extra data, like at the very end have a bit to indicate whether there is
> more data to be read or not.  The issue you could have with that is the
> chance of the information never arrive or being discarded for being too
> late
> to be of use.  But that command packet is the most flexible way you could
> attach data, otherwise pulling it out of the ClientCmd string.  If you
> spend
> time rooting around in the SDK code yourself and understanding how sources
> networking functions you'll know immediately what the best approach is for
> your needs.
>
> On Fri, Dec 5, 2008 at 10:54 PM, Jorge Rodriguez <[EMAIL PROTECTED]>
> wrote:
>
> > engine->ClientCmd() is equivalent to typing something into your console.
> A
> > faster way to type something into your console is to bind a key to it.
> > There's really nothing that ClientCmd() can send that can't be sent by
> > binding it to a key somehow.
> >
> > --
> > Jorge "Vino" Rodriguez
> > _______________________________________________
> > To unsubscribe, edit your list preferences, or view the list archives,
> > please visit:
> > http://list.valvesoftware.com/mailman/listinfo/hlcoders
> >
> >
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>


-- 
-------------------
[EMAIL PROTECTED]
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to