hi, is there any event (or whatever) which is called when any cvar is changed?
i know one (really) bad solutions: with
PHP Code:
public plugin_init()
{
...
set_task( time, "cvar_checker", 0 )
}
public cvar_checker()
{
if( get_pcvar_num( cvar ) <= cvar_num )
message( "warning cvar is too small" ) //or what ever..
}
thanks in advance