Set server cvar via plugin
I need to set sv_allowupload 0, how to do with pcvars or other fast way?
|
Re: Set server cvar via plugin
If you need to set one time, like in plugin_init, use set_cvar_num().
If you need to set more than on time, retrieve cvar pointer using get_cvar_ponter() and use set_pcvar_num(). |
| All times are GMT -4. The time now is 06:27. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.