I used this function but I didn't work ;(
I forgot the \n ;)
 
Thanks Botman :-}
 
--------------------------------------------------------
Cortex
HL Albator coder & mapper
www.hlalbator.fr.st
--------------------------------------------------------
 
 
----- Original Message -----
From: botman
Sent: Wednesday, December 05, 2001 8:33 PM
Subject: Re: [hlcoders] console command

> What is the function ( server side ) to reproduce a
> console command ? I mean this function would act like
> ClientCmd client side.

There's a SERVER_COMMAND() macro that calls pfnServerCommand().  You can do
something like this...

SERVER_COMMAND("map stalkyard\n");

...don't forget the \n at the end.  :)

Jeffrey "botman" Broome

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

Reply via email to