Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private bool findSimsComplete()
- {
- Process[] p = Process.GetProcessesByName("Sims");
- if (p.Length != 0)
- {
- ProcessHandle = (int)OpenProcess(0x1F0FFF, false, p[0].Id);
- BaseAddress = (int)p[0].MainModule.BaseAddress;
- return true;
- }
- else return false;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement