--
[ 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

Reply via email to