Skip to content

tryid06/fivem-helmet-fix-qbcore

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🪖 FiveM Helmet Control Script (QB-Core Compatible)

A lightweight and optimized client-side script that disables GTA V’s automatic motorcycle helmet system and replaces it with a fully manual, roleplay-friendly alternative.


🚀 Features

  • Disables automatic helmet behavior
    Prevents GTA from automatically equipping or removing helmets when mounting or dismounting motorcycles.

  • /helmet command
    Allows players to manually equip or remove a helmet. When removed, the current helmet is saved for later reuse.

  • /helmetfix command
    Restores the last-used helmet in case the automatic restore fails (due to movement or animation conflicts).

  • Auto-restore on motorcycle stop
    When the player stops after mounting a motorcycle, the script automatically restores their previous helmet if applicable.

  • Real-time helmet detection
    Continuously checks whether a helmet is equipped or not, ensuring proper command behavior.

  • Motorcycle-specific system
    This script only runs for bikes and quads — it won't interfere with car usage or other vehicle types.

  • 0.00ms resmon performance
    Fully optimized for performance; ideal for use on high-population servers.


🎮 Player Commands

Command Description
/helmet Toggles helmet on/off manually.
/helmetfix Manually restores your last saved helmet.

Chat suggestions are also registered for both commands.


🔧 Technical Info

  • 🧱 Built for QB-Core frameworks
  • 🔁 Only client-side (no server-side code required)
  • 👕 Fully compatible with other clothing/appearance systems
  • 🔒 Avoids conflicts with default GTA helmet logic
  • ⚙️ Easy to configure and extend

📂 Installation

  1. Download or clone this repository into your resources folder.
  2. Add the following line to your server.cfg:
    ensure masterfix
    
  3. Restart your server.

📜 Credits

Script byMaster_Class
Inspired by realistic RP standards and built for performance.


📃 License

This resource is open-source for educational and server use only. Please do not resell or redistribute without permission.

About

This FiveM script disables GTA V’s automatic motorcycle helmet system and replaces it with a fully manual, roleplay-friendly solution. Players can equip or remove helmets using commands, and the system intelligently restores saved helmets when riding. Fully optimized with 0.00ms resmon and QB-Core compatible.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Lua 100.0%