For a plugin you should use FCVAR_PLUGIN. - Alfred
----Original Message---- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ronny Schedel Sent: Saturday, December 04, 2004 12:52 PM To: [EMAIL PROTECTED] Subject: Re: [hlcoders] Console command for clients? > CON_COMMAND_F with flags FCVAR_GAMEDLL should fit your needs. > > Greets > Ronny > > > > In the default plugin project if I register a console command within > > 'convar.cpp' the clients can "see" and use the command as well as > > the server console. If however I register a command within > > 'serverplugin_empty.cpp' the > > client can not see the console command but the server can. > > > > I would just register them all within convar.cpp (obviously) but > > then I don't get access to any engine calls etc. How is convar.cpp > > set to register the console commands on the client AND server? > > > > > > > > > > > > _______________________________________________ > > 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 _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders