
A lightweight C# script for Grand Theft Auto V that prevents aircraft engines from shutting off unintentionally during flight.
📝 Description
Every pilot in GTA V knows the problem: you hold the “Brake” key (“S” key) a little too long while flying or perform a steep maneuver, and suddenly the engine cuts out. This script fixes this annoying game mechanic. It ensures that your aircraft’s engine always stays active – ideal for precision landings, dive flights, and risky aerial maneuvers.
🚀 Features
Persistent Power: The engine no longer shuts off in mid-air when pressing the “S” key for an extended period.
No Interruptions: No menus or key combinations required; the script works fully automatically and silently in the background.
🛠 Installation
Requirements:
ScriptHookV by Alexander Blade.
ScriptHookVDotNet v3.
Setup:
Copy the file “AntiStall.dll” into the “scripts” folder within your GTA V main directory.
Note: If the “scripts” folder does not exist, simply create it manually.
📖 How it Works
The script utilizes the ScriptHookVDotNet framework to monitor the player’s status:
It checks if the player is in a vehicle and if that vehicle is a Plane.
It prevents the engines from shutting down during flight when the “S” key is pressed for too long.
⚠️ Important Notes
Singleplayer only: Never use this script in GTA Online, as it can lead to a ban.
Compatibility: Works with all standard aircraft as well as “Add-on” planes.
Changelog:
v1.2: There is now also a FiveM version! Many thanks to @YourFriendKermit for converting it for FiveM! If you notice any bugs, please report them to me on my Discord Server
v1.1: Engines could not be switched off using a trainer because the script blocked this. This bug has now been fixed in version 1.1.
Credits:
Hessen-Community
![LSPD POLICE / Mission Row PD Full Mapping Exterior - Anti VDM, Anti Racing, Closed Parking [MAP] [YMAP] [LSPD] [FiveM] [AltV] [RAGE:MP] 1.0 LSPD POLICE / Mission Row PD Full Mapping Exterior - Anti VDM, Anti Racing, Closed Parking [MAP] [YMAP] [LSPD] [FiveM] [AltV] [RAGE:MP] 1.0](https://gta5mod.net/wp-content/uploads/2020/06/LSPD-POLICE-150x150.jpg)
![Custom Aircraft Engine Sounds [OIV Add-On + Replace / FiveM | Sounds] 1.4 Custom Aircraft Engine Sounds [OIV + Add-On + Replace SP / FiveM Resource | Sounds] 1.3SP DLC](https://gta5mod.net/wp-content/uploads/2021/03/Custom-Aircraft-Engine-Sounds-150x150.png)

![[Chainsaw man Script] MK1 Baraka SFX for Chainsaw man script V1.2 [Chainsaw man Script] MK1 Baraka SFX for Chainsaw man script 1.0](https://gta5mod.net/wp-content/uploads/2024/05/MK1-Baraka-SFX-for-Chainsaw-man-script-1.0-150x150.jpg)
![Aircraft Carrier Clear [FiveM / SP] V1.1 Aircraft Carrier Clear [FiveM / SP] 1.0](https://gta5mod.net/wp-content/uploads/2022/10/Aircraft-Carrier-Clear-150x150.png)