Save as rifle.cfg and execute with exec rifle.cfg in console.
// FPS & graphics fps_max "101" gl_vsync "0" gl_wateramp "0" gl_max_size "256" brightness "3" gamma "3" cl_shadows "0" cl_weather "0" cl_radartype "1" cl_minimap_zoom "2" Cs 1.6 Best Cfg For Ak47 And M4a1