Re: [hlcoders] Console command for clients?
Nope, you are wrong, that does not work. Greets Ronny 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 ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] Console command for clients?
I thought I tried that, clearly I didn't, THANK YOU! :-) Ignore my previous reply I was still downloading mail at the time. - Original Message - From: "Ronny Schedel" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, December 04, 2004 8:52 PM 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
RE: [hlcoders] Console command for clients?
It's a server command, so a client needs to use "rcon" to execute server commands. You should use ClientCommand() for client commands :-) - Alfred Original Message From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Manip Sent: Saturday, December 04, 2004 1:14 PM To: [EMAIL PROTECTED] Subject: Re: [hlcoders] Console command for clients? > Fine but then how do I register a command so the clients can call it? > > And don't tell me it can't be done because I have done it and so have > AMX/AM/etc on 1.6. > > If I use CON_COMMAND in the serverplugin_empty.cpp it does not work > on a client. It gives you an unknown commaand error, works on the > server console though > > - Original Message - > From: "Alfred Reynolds" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Saturday, December 04, 2004 8:35 PM > Subject: RE: [hlcoders] Console command for clients? > > > > 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 > > > > > > > > > > ___ > 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
Re: [hlcoders] Console command for clients?
Fine but then how do I register a command so the clients can call it? And don't tell me it can't be done because I have done it and so have AMX/AM/etc on 1.6. If I use CON_COMMAND in the serverplugin_empty.cpp it does not work on a client. It gives you an unknown commaand error, works on the server console though - Original Message - From: "Alfred Reynolds" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, December 04, 2004 8:35 PM Subject: RE: [hlcoders] Console command for clients? 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 ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
RE: [hlcoders] Console command for clients?
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
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
RE: [hlcoders] Console command for clients?
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
[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