Code:
new pCvarMaxRate
public plugin_init( )
{
register_clcmd( "say /test" , "cmdTest" )
pCvarMaxRate = get_cvar_pointer( "sv_maxrate" )
}
public cmdTest( id )
{
client_print( id , print_chat , "sv_maxrate --> %.0f" , get_pcvar_float( pCvarMaxRate ) )
}
In your code, you show the pointer of cvar sv_maxrate (in RAM Memory) so, the value can be 2, or 598746, or 1475...
Look at this picture :
http://**************/photo/my-images/69/5158.png/
You should understand with that. Each cvar has his pointer in RAM Memory. So, you have to get the value of the cvar with get_pcvar_num|float|string.