๋กœ๋”ฉ์ค‘...

Faster Quit - Crash Game on Demand - ICan'tTakeItAnymore 1.0

50ca0e ctd

272

Been made for half fun and half fast quit ๐Ÿ˜…๐Ÿ˜… or if you simply just too bored or can't take it anymore ๐Ÿ˜…

Made with the help of ChatGPT, Google and a very nicey friend of mine.

First we tried it to make the game exit but unfortunately it wasn't working as intended and causing unintended midplay crashes, so decided to have it kill game process instead. This approach also helped with isolating it from any conflictions with any other scripts or causing an unintended issue.

How to Use?
When you are bored, or when you are annoyed, or when you are raged, just press Alt Q and the game will crash to desktop without any error message.
This way you can ensure your poor keyboard is spared of any happy little accidents or sad major incidents ๐Ÿ˜…

Requires ScripthookVDotNet installed. Place inside the scripts folder in your root GTA folder.

    Here is the source code for curios ones;

using System;
using System.Diagnostics;
using System.Windows.Forms;
using GTA;
using GTA.Native;

public class QuitGameScript : Script
{
private bool quitting = false;

public QuitGameScript()
{
KeyDown += OnKeyDown;
Tick += OnTick;
}

private void OnKeyDown(object sender, KeyEventArgs e)
{
if (e.Alt && e.KeyCode == Keys.Q && !quitting)
{
quitting = true;
foreach (Process p in Process.GetProcessesByName("GTA5.exe"))
{
p.Kill();
}

foreach (Process p in Process.GetProcessesByName("gta5.exe"))
{
p.Kill();
}

foreach (Process p in Process.GetProcessesByName("Gta5.exe"))
{
p.Kill();
}


foreach (Process p in Process.GetProcessesByName("GTA5"))
{
p.Kill();
}

foreach (Process p in Process.GetProcessesByName("gta5"))
{
p.Kill();
}

foreach (Process p in Process.GetProcessesByName("Gta5"))
{
p.Kill();
}


}
}

private void OnTick(object sender, EventArgs e)
{
// Your regular script logic here
}

static void Main(string[] args)
{
// Display the number of command line arguments.
Console.WriteLine(args.Length);
}

}
Show Full Description

์ตœ์ดˆ ์—…๋กœ๋“œ: 2023๋…„ 08์›” 12์ผ (ํ† )
๋งˆ์ง€๋ง‰ ์—…๋กœ๋“œ: 2023๋…„ 08์›” 13์ผ (์ผ)
๋งˆ์ง€๋ง‰ ๋‹ค์šด๋กœ๋“œ: 6์ผ ์ „

All Versions

 1.0 (current)

๋‹ค์šด๋กœ๋“œ 272 , 1ํ‚ฌ๋กœ๋ฐ”์ดํŠธ
2023๋…„ 08์›” 12์ผ (ํ† )

๋Œ“๊ธ€ 8