Faster Quit - Crash Game on Demand - ICan'tTakeItAnymore 1.0
344
26
344
26
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.
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);
}
}
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);
}
}
First Uploaded: August 12, 2023
Last Updated: August 13, 2023
Last Downloaded: 4 days ago
10 Comments
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.
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);
}
}
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);
}
}
First Uploaded: August 12, 2023
Last Updated: August 13, 2023
Last Downloaded: 4 days ago
What's wrong with Alt-F4?
@meimeiriver Nothing, I mostly made this for fun 🙂 If you think it's not needed or wouldn't do any good you can reject it no worries. Although it's a safe script and source code is included as well, if you wish I can take the screenshot from ChatGPT page too to clear any doubts.
We only changed it to kill gta5.exe process instead.
I will leave the decision to you, it's all good from my end 😊
@MissySnowie I will allow it, as the ChatGPT factor is kinda fun. But we normally prefer mods with a wee more utility. :)
@meimeiriver Thank you so much 😊 Hope it brings some smile on people and maybe they might improve the code to create something a bit more interesting 😊😊
And sure, I don't normally upload random stuff actually, just thought this would be a bit fun to have 😅
Nothing major but it can also make it easier for quitting hanged game on loading screen. It might have been related I turned off VSync but when my game hangs it's taking a some time to respond to keyboard buttons. Can still Ctrl+Alt+Del to Task Manager but this one would be more practical in those rare situations.
@meimeiriver By the by sorry to bother you, not sure is it bug but the file not visible for downloading.
I though it is a way to go to the game by 1 second , no loading screen no music just one click u r in the game ,
@R4GN4R0K Yeah couldn't take a proper pic for it, so I used something that make the script most useful (at least for the people who turned off VSycn).
But the name is accurate 😊
Unfortunately launching game that fast can't be done 🥺🥺 Can be improved to some extend with ultra expensive hardware but then the game engine itself will cause a bottleneck. I wish though it was as fast as Skyrim 😅
W thumbnail
You are a saviour
@TylerLuvs_Razer @Daddynnoob Thank you so much guys 😊😊