Hide activity and servercmd.
Is it possible to hide activity [cvars] that I'm sending through server_cmd? While still keeping the show activity on for any cvar changes not executed by the plugin?
|
Re: Hide activity and servercmd.
server_cmd is for commands, use cvar natives to change cvar values
|
Re: Hide activity and servercmd.
Oh wow, thanks. I just started learning how to code, and using server_cmd seemed like the best way to do it. But now I see that it would be much better using the set_cvar natives. Thanks.
|
Re: Hide activity and servercmd.
Use only [g|s]et_pcvar_*, don't use [g|s]et_cvar_*
The pointer is the return of register_cvar native, or if the cvar already exist (game or other plugins cvars), use get_cvar_pointer native. |
| All times are GMT -4. The time now is 10:49. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.