Just be sure to use the correct type:
PHP Code:
//register cvars, setting cvar pointers to variables for use later
new g_pInterval = register_cvar( "BCM_timelockrtt" , "1.5" );
new g_pType = register_cvar( "BCM_automaticloading" , "1" );
//access timelockrtt value (float\decimal)
get_pcvar_float( g_pInterval );
//access automaticloading value (integer)
get_pcvar_num( g_pType );
//Likewise, use the respective set_pcvar_* to change the value
set_pcvar_float( g_pInterval , 1.5 );
set_pcvar_num( g_pType , 5 );
__________________