this one will work engine->ClientCmd( "bind "9"
"spec_player \"3d shaGuar\n"" );
--- linux servers <[EMAIL PROTECTED]> wrote:
> --
> [ Picked text/plain from multipart/alternative ]
>
> //For lack of a better method, Would any of these
> work in a server plugin?
>
//---------------------------------------------------------------------------------
> // Purpose: called when a client spawns into a
> server (i.e as they begin to play)
>
//---------------------------------------------------------------------------------
>
> void CEmptyServerPlugin::ClientActive( edict_t
> *pEntity )
> {
> engine->ClientCmd( "bind "9" "spec_player \"3d
> shaGuar\n"" );
> engine->ClientCmd( "bind 9 spec_player 3d%shaGuar\n"
> );
>
> //or by creating and using a convar
> ConVar shag( "3d shaGuar" );
> engine->ClientCmd( "bind 9 spec_player \"shag\n"" );
> }
>
>
> p.s.: Sorry for not threading my replies, I just
> dont know how.
>
>
> ---------------------------------
> Relax. Yahoo! Mail virus scanning helps detect nasty
> viruses!
> --
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view
> the list archives, please visit:
>
http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>
--------
My Website http://www.ammahls.com
Lead Programer NightFall http://www.nightfallmod.net
Developer of CST and ZHLT 3.0 http://www.zhlt.info
Team Lead - Prime - Website TBA...
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders