hook_cvar_change and RH_Cvar_DirectSet not working
Hi everyone!
I searched a lot before doing this Thread. The problem is forward hook_cvar_change() not working. I used RH_Cvar_DirectSet from ReAPI, It doesn't work either. hook_cvar_change(): I changed the value in cvar, I don't see any message: This message appears when a server is activated: PHP Code:
PHP Code:
PHP Code:
OS: Windows AMX Mod X v1.10.0.5461 ReAPI v5.21.0.252-dev MetaMod-R v1.3.0.86 ReHLDS v3.10.0.759 Please help!! Thanks in advance |
Re: hook_cvar_change and RH_Cvar_DirectSet not working
I think the logs are as clear as possible.
Code:
client_disconnected and client_remove forwards have been disabled - check your gamedata files.Code:
RegisterHookChain: function (Cvar_DirectSet) is not available, ReHLDS required. |
Re: hook_cvar_change and RH_Cvar_DirectSet not working
Quote:
The latest version of ReHLDS no longer supports Windows! I have reviewed the gamedata, it exists HTML Code:
"SV_DropClient" // void SV_DropClient(client_t *cl, qboolean crash, const char *fmt, ...); |
Re: hook_cvar_change and RH_Cvar_DirectSet not working
You can grab the latest version of rehlds for windows from github under the Actions tab (not recommended, but definitely possible) and I would redo the entire installation process to eliminate any corrupted files.
|
Re: hook_cvar_change and RH_Cvar_DirectSet not working
* Solved! *
Solution: These hooks do not work in listenserver or in old HLDS version <= 6xxx |
| All times are GMT -4. The time now is 10:32. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.