DOH!
That stinking \n got me :)

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of botman
Sent: Monday, March 04, 2002 11:42 AM
To: [EMAIL PROTECTED]
Subject: Re: [hlcoders] Client command


> Lost my mind here, trying to run a client command from the server side

> for the client. Thought it was CLIENT_COMMAND( the edict, the command
> );
>
> But that just sends the command to pfnClientCommand() which is handled

> server side

Yes, pfnClientCommand() will send the command from the server to the
client and the client will execute that command, for example...

pfnClientCommand("speak \"you,talk,the,talk,do,you,walk,the,walk\"\n");

...don't forget the "\n" at the end of the command.

Jeffrey "botman" Broome

_______________________________________________
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

Reply via email to