Plugins are server side only, putting them in convar is wrong and won't work. You need to register them in serverplugin_empty.cpp.
- Alfred ----Original Message---- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Manip Sent: Saturday, December 04, 2004 12:23 PM To: [EMAIL PROTECTED] Subject: [hlcoders] Console command for clients? > 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