@@ -16,7 +16,7 @@ public class Main : Script
1616 bool hazards ;
1717
1818 Keys sirenToggleKey , beamToggleKey , interiorLightToggleKey , leftIndicatorKey , rightIndicatorKey , hazardsKey ;
19- GTA . Control sirenToggleButton , beamToggleButton , leftIndicatorButton , rightIndicatorButton , hazardsButton , modifierButton ;
19+ GTA . Control sirenToggleButton , beamToggleButton , interiorLightToggleButton , leftIndicatorButton , rightIndicatorButton , hazardsButton , modifierButton ;
2020
2121 public Main ( )
2222 {
@@ -41,6 +41,7 @@ public Main()
4141 rightIndicatorButton = config . GetValue < GTA . Control > ( "Indicators" , "Right_Indicator_Button" , GTA . Control . ScriptPadRight ) ;
4242 hazardsButton = config . GetValue < GTA . Control > ( "Indicators" , "Hazard_Lights_Button" , GTA . Control . ScriptRB ) ;
4343 modifierButton = config . GetValue < GTA . Control > ( "Mod Settings" , "Modifier_Button" , GTA . Control . ScriptLB ) ;
44+ interiorLightToggleButton = config . GetValue < GTA . Control > ( "Interior" , "Interior_Light_Toggle_Button" , GTA . Control . ScriptRUp ) ;
4445 #endregion
4546 }
4647
@@ -102,6 +103,9 @@ private void GamePad()
102103 if ( Game . IsControlJustReleased ( beamToggleButton ) )
103104 ToggleFullBeams ( ) ;
104105
106+ if ( Game . IsControlJustPressed ( interiorLightToggleButton ) )
107+ ToggleInteriorLights ( ) ;
108+
105109 if ( Game . IsControlJustPressed ( leftIndicatorButton ) )
106110 ToggleLeftIndicator ( ) ;
107111
0 commit comments