Originally Posted by Arkshine
Use pcvar. It's a requirement.
What exactly do you mean with use pcvar
When you wrote this message, my plugin didn't have any console variable. It just used iMyNum = get_cvar_num( "csdm_enabled" )
So, what exactly should I understand? I don't have to use get_cvar_num( "" )
and I should use hMyHandle = get_cvar_pointer( "" )
then iMyNum = get_pcvar_num( hMyHandle )
Now I added a few console variables if this was required. But I'm still confused about this.
Now I'm using:
new hMyHandle = get_cvar_pointer( "" );
if( hMyHandle )
new iMyNum = get_pcvar_num( hMyHandle );
But I really want to use this instead:
new iMyNum = get_cvar_num( "csdm_enabled" );