No more paused settings

This commit is contained in:
EntenKoeniq
2022-03-28 22:34:59 +02:00
parent 9f13a1099a
commit 98a593daae
2 changed files with 5 additions and 0 deletions

View File

@ -170,6 +170,9 @@ namespace CoopClient
switch (e.KeyCode)
{
case Keys.Escape:
Function.Call(Hash.ACTIVATE_FRONTEND_MENU, Function.Call<int>(Hash.GET_HASH_KEY, "FE_MENU_VERSION_SP_PAUSE"), false, 0);
break;
case Keys.F9:
if (MainMenu.MenuPool.AreAnyVisible)
{

View File

@ -35,6 +35,8 @@ namespace CoopClient
return;
}
Game.DisableControlThisFrame(Control.FrontendPause);
Function.Call((Hash)0xB96B00E976BE977F, 0.0f); // _SET_WAVES_INTENSITY
Function.Call(Hash.SET_CAN_ATTACK_FRIENDLY, Game.Player.Character.Handle, true, false);