Esempio n. 1
0
 private void timer1_Tick(object sender, EventArgs e)
 {
     team      = ReadMem.TeamID(PlayerBase, handle);
     AllValues = ReadMem.DataValues(PlayerBase, handle); // Read all values (0 = hp, 1 = ammo, 2 = gadget)
     LightingCtrl.HpLighting(AllValues[0]);              // Change the effects accordingly to the read values
     LightingCtrl.ReloadLighting(AllValues[1], AllValues[0], team);
     LightingCtrl.GadgetLighting(AllValues[2], team);
     LightingCtrl.TeamLighting(team);
 }