change register_cvar
Hello
Code:
public plugin_init() in a public(), i'm having to change it to 0 by " server_cmd( "st_match 0"); ". if i write " enable = 0; ", it crashes the server. How do i change it to 0 without going through server_cmd? Thanks |
Re: change register_cvar
set_pcvar_num(enable, 0)
|
Re: change register_cvar
Code:
You cannot use amx_rcon to change the cvar, because the command is not being registered at server_cmd panel.(register_concmd is for server console) |
Re: change register_cvar
Quote:
|
| All times are GMT -4. The time now is 17:52. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.