1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
SLASH_COMMANDS [ GetString ( SI_SLASH_QUIT ) ] = function ( txt )
end
SLASH_COMMANDS [ GetString ( SI_SLASH_FPS ) ] = function ( txt )
SetSetting ( SETTING_TYPE_UI , UI_SETTING_SHOW_FRAMERATE , "false" )
else
SetSetting ( SETTING_TYPE_UI , UI_SETTING_SHOW_FRAMERATE , "true" )
end
end
SLASH_COMMANDS [ GetString ( SI_SLASH_LATENCY ) ] = function ( txt )
SetSetting ( SETTING_TYPE_UI , UI_SETTING_SHOW_LATENCY , "false" )
else
SetSetting ( SETTING_TYPE_UI , UI_SETTING_SHOW_LATENCY , "true" )
end
end
|