View difference between Paste ID: PWj4enZJ and iW6sds70
SHOW: | | - or go back to the newest paste.
1-
-- remake lua by zel
1+
UI.AddSliderInt( "Aspect ratio", 0, 10 );
2-
local engine_client 	= csgo.interface_handler:get_engine_client()
2+
3-
local menu 				= fatality.menu
3+
function fsn( ) {
4-
local render            = fatality.render
4+
    ui_arat_val = UI.GetValue( "Aspect ratio" );
5-
local input             = fatality.input
5+
6-
local config = fatality.config
6+
    switch ( Global.FrameStage( ) ) {
7-
local entity_list = csgo.interface_handler:get_entity_list()
7+
        case 5: {
8-
local global_vars = csgo.interface_handler:get_global_vars()
8+
            Global.ExecuteCommand( "r_aspectratio " + ui_arat_val.toString( ) );
9
10-
local stand_add_ref22 	= menu:get_reference("RAGE", "ANTI-AIM", "Standing", "Add")
10+
            break;
11-
local stand_add_ref 	= menu:get_reference("RAGE", "ANTI-AIM", "Standing", "Fake type", "Real around fake")
11+
        }
12-
local stand_dir_ref 	= menu:get_reference("RAGE", "ANTI-AIM", "Standing", "Fake amount")
12+
        default: break;
13-
local move_add_ref22 	= menu:get_reference("RAGE", "ANTI-AIM", "Moving", "Add")
13+
    }
14-
local move_add_ref 	    = menu:get_reference("RAGE", "ANTI-AIM", "Moving", "Add")
14+
}
15-
local move_dir_ref 	    = menu:get_reference("RAGE", "ANTI-AIM", "Moving", "Fake amount")
15+
16
17-
-- added side for air
17+
Global.RegisterCallback( "FrameStageNotify", "fsn" );