private void BUTTON_Ragdoll_Click(object sender, EventArgs e) { if (GTA5Process.Get_Ragdoll()) { BUTTON_Ragdoll.BackgroundImage = Properties.Resources.switch_off; GTA5Process.Set_Ragdoll(false); return; } BUTTON_Ragdoll.BackgroundImage = Properties.Resources.switch_on; GTA5Process.Set_Ragdoll(true); }
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); } }