private void StopGrinder(ref int FrameCounter, bool IsIngame) { Memory.GetHack("Ctm").Remove(); if (IsIngame) { // disable all current ingame movements if we are ingame ObjectManager.Player.CtmStopMovement(); } HookWardenMemScan.GetHack("Collision3").Remove(); HookWardenMemScan.GetHack("Collision").Remove(); // we arent running anymore Access = null; ErrorEnumHook.OnNewError -= ErrorEnum_OnNewError; DirectX.StopRunning(); }
internal Grinder() { Access = this; ErrorEnumHook.OnNewError += ErrorEnum_OnNewError; }