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
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
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
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
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
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
] 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
7 matches
Mail list logo