[how to] hook client settings commands
I would like to "grab" the moment when a client types developer, for example, in console, also with a argument. I've tried this:
Code:
I know about query_client_cvar & how to use it but this requires a repetitive task to check it constantly. Thank you. |
Re: [how to] hook client settings commands
It is a cvar so you will need to use query_client_cvar().
|
Re: [how to] hook client settings commands
So no matter what clcmd I register it won't work if it's already a client cvar?
|
Re: [how to] hook client settings commands
developer is a cvar not a client command; there's no way to hook it with register_clcmd.
|
All times are GMT -4. The time now is 10:16. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.