--
[ Picked text/plain from multipart/alternative ]
look at usercmd.
how weapon selection and impulse commands are sent down.


On Dec 16, 2007 2:34 PM, Chad Lehman <[EMAIL PROTECTED]> wrote:

> --
> [ Picked text/plain from multipart/alternative ]
>
> Mark,
>
> The only way I know of (and I'm by no means an expert) is to use
>
> engine->ClientCmd()
>
> and receive the message in the Server-side player object (ClientCommand())
>
> There might be a better way than this; but if you use this, you can keep
> all the decision making code in the server, so that people can't cheat
> through Convars. Basically, all you're doing is sending a keypress to the
> server (or something)... and it wouldn't be terrible to let someone send a
> keypress message as a convar.
>
> Chad
>
> > From: [EMAIL PROTECTED]
> > To: [email protected]
> > Subject: [hlcoders] bestway to get data from client to server for sp
> maps
> > Date: Mon, 17 Dec 2007 03:56:21 +0900
> >
> > Hey,
> >
> > Im working on a new map selection screen for pdark and need to pass some
> > information from the client to the server once the map has started. I
> was
> > going to use convars but theses can be changed and seen by the user. Is
> > there a better way to transfer this information on server spawn?
> >
> > Mark
> >
> > _______________________________________________
> > To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> > http://list.valvesoftware.com/mailman/listinfo/hlcoders
> >
>
> _________________________________________________________________
> Share life as it happens with the new Windows Live.
>
> http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_122007
> --
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>


--
-omega
--

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

Reply via email to