Advertisement
Guest User

Untitled

a guest
Jan 23rd, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.46 KB | None | 0 0
  1. do {
  2.  
  3. //Local Player
  4. theADRS = aNumber + setOffs.off_l_Player;
  5. int p = theVAM.ReadInt32((IntPtr)theADRS);
  6.  
  7. //Local Player Team
  8. theADRS = p + setOffs.off_team;
  9. int t = theVAM.ReadInt32((IntPtr)theADRS);
  10.  
  11. //Entities
  12. theADRS = aNumber + setOffs.off_entity + (index - 1) * 0x10;
  13. int e = theVAM.ReadInt32((IntPtr)theADRS);
  14.  
  15. //Another User Team
  16. theADRS = e + setOffs.off_team;
  17. int et = theVAM.ReadInt32((IntPtr)theADRS);
  18.  
  19. //Glow Index
  20. theADRS = e + setOffs.off_g_index;
  21. int g = theVAM.ReadInt32((IntPtr)theADRS);
  22.  
  23. if (t != et){
  24.  
  25. //Glow OBJ
  26. theADRS = aNumber + setOffs.off_g_object;
  27. int go = theVAM.ReadInt32((IntPtr)theADRS);
  28.  
  29. //Glow Calc
  30. int g_calc = g * 0x38 + 0x4;
  31. int c = go + g_calc;
  32. theVAM.WriteFloat((IntPtr)c, colEnemy.red);
  33.  
  34. g_calc = g * 0x38 + 0x8;
  35. c = go + g_calc;
  36. theVAM.WriteFloat((IntPtr)c, colEnemy.green);
  37.  
  38. g_calc = g * 0x38 + 0xC;
  39. c = go + g_calc;
  40. theVAM.WriteFloat((IntPtr)c, colEnemy.blue);
  41.  
  42. g_calc = g * 0x38 + 0x10;
  43. c = go + g_calc;
  44. theVAM.WriteFloat((IntPtr)c, colEnemy.alpha);
  45.  
  46. g_calc = g * 0x38 + 0x24;
  47. c = go + g_calc;
  48. theVAM.WriteBoolean((IntPtr)c, colEnemy.enableBool);
  49.  
  50. g_calc = g * 0x38 + 0x25;
  51. c = go + g_calc;
  52. theVAM.WriteBoolean((IntPtr)c, colEnemy.enableBoo2);
  53.  
  54. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement