Bug 3754 - CVar Forward
CVar Forward
Status: RESOLVED FIXED
Product: AMX Mod X
Classification: Unclassified
Component: Core
trunk
All All
: P3 normal
Assigned To: amxmodx-bugs@alliedmods.net
:
: 5974 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-03-23 10:35 PDT by X-olent
Modified: 2015-02-02 01:38 PST (History)
3 users (show)

See Also:


Attachments

Description X-olent 2009-03-23 10:35:42 PDT
This isn't a bug but I think it will be a useful feature. I think there should be a forward for when any cvar's value changes.
Comment 1 Vincent Herbet [:Arkshine] 2013-07-04 06:02:07 PDT
This is something useful. I've actually made a module Cvar Utilites : https://forums.alliedmods.net/showthread.php?t=154642 which does the job. Though it requires we hook an engine function Cvar_DirectSet, and even if we don't need signatures/symbols, we still need to use some lib to hook this and I'm not sure it's a good idea to include this in the core. As module, why not. I think I will review my module, asking David's thoughts on the matter and will see what happens.
Comment 2 Vincent Herbet [:Arkshine] 2013-11-17 13:38:47 PST
*** Bug 5974 has been marked as a duplicate of this bug. ***
Comment 3 Vincent Herbet [:Arkshine] 2015-02-02 01:38:01 PST
This has been implemented in latest build. Forgot to link on the github pull request.

Note You need to log in before you can comment on or make changes to this bug.