예제 #1
0
        private void BUTTON_Refresh_Click(object sender, EventArgs e)
        {
            BUTTON_Godmode.BackgroundImage         = GTA5Process.Get_Godmode() ? Properties.Resources.switch_on : Properties.Resources.switch_off;
            BUTTON_Vehicle_Godmode.BackgroundImage = GTA5Process.Get_Vehicle_Godmode() ? Properties.Resources.switch_on : Properties.Resources.switch_off;
            BUTTON_infinite_ammo.BackgroundImage   = GTA5Process.Get_Infinite_Ammo() ? Properties.Resources.switch_on : Properties.Resources.switch_off;
            BUTTON_Ragdoll.BackgroundImage         = GTA5Process.Get_Ragdoll() ? Properties.Resources.switch_on : Properties.Resources.switch_off;
            BUTTON_weather_snow.BackgroundImage    = GTA5Process.Weather_GetSnow() ? Properties.Resources.switch_on : Properties.Resources.switch_off;

            //////////////////////
            BulletType_ListBox.Items.Clear();
            foreach (string typeName in GameAddress.Button_Impact.Keys)
            {
                BulletType_ListBox.Items.Add(typeName);
            }
        }