So one quick question.
Code:
#include <amxmodx>
new
p_cvar_inum,
p_cvar_float,
p_cvar_string;
public plugin_init()
{
p_cvar_inum = register_cvar( "my_cvar1", "1" );
p_cvar_float = register_cvar( "my_cvar1", "2.0" );
p_cvar_string = register_cvar( "my_cvar1", "hello" );
}
MyFunc()
{
//exec a config file that changes teh value of CVARS HERE
new iNum = get_pcvar_num( p_cvar_inum );
new Float:fValue = get_pcvar_float( p_cvar_float );
new sArg[16];
get_pcvar_string( p_cvar_string, sArg, charsmax( sArg ) );
}
Is that still going to work?