Advertisement
Guest User

Untitled

a guest
Nov 22nd, 2014
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Data;
  5. using System.Drawing;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. using System.Windows.Forms;
  10. using ReadWriteMemory;
  11.  
  12. namespace WindowsFormsApplication11
  13. {
  14. public partial class Form1 : Form
  15. {
  16. public Form1()
  17. {
  18. InitializeComponent();
  19. }
  20.  
  21. private void button1_Click(object sender, EventArgs e)
  22. {
  23. ProcessMemory mem = new ProcessMemory("AssaultCube");
  24. if (mem.CheckProcess())
  25. {
  26. mem.StartProcess();
  27. int AmmoPointer = 0x0222E668;
  28. int AmmoOffset = 0x0;
  29. int AmmoToFill = 100;
  30. mem.WriteInt(AmmoPointer + AmmoOffset, AmmoToFill);
  31. }
  32. }
  33. }
  34. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement