[Release] Modern Seatbelt




A modern realisation on seatbelt scripts, for additional roleplay and realism to your server.
Hover over anything underlined or a question mark ? for extra info.


$ git clone https://github.com/TFNRP/seatbelt.git
  • Add the following to your server.cfg:
    • ensure seatbelt


Modern Seatbelt does the following:

  • Buckle up with /seatbelt or K.
  • Keybinds can be changed in FiveM keybind settings.
  • Quick unbuckle by pressing ShiftF.
  • Heftier consequences for MVAs.?
  • Law enforcement notified of traffic violation
    when driving behind (or crossing infront).?
  • Out-of-the-way notifications whilst driving
    without seatbelt.?
  • Lightweight, out of the box.
  • Supports the TFNRP framework.

Coming Soon

Features that are planned for Modern Seatbelt:

  • Complimentary scripts for compatible UI support.
  • Audible realistic beeping tone whilst driving without SB.


Check config.lua for better details.

Name Info Default
PlayerIdentifierType What type of LEO notifications should be shown?
Can be player’s ID, player’s seat (i.e. Driver or rear passenger) or player’s username.
Distance The amount of distance LEOs have to be to detect people not weaing a seatbelt. 20
DefaultKeybind The default seatbelt keybind. K
Excluded A list of excluded vehicles and vehicle seats.


Report issues and create suggestions.
Improve code, fix issues and add suggestions.

Credits & Copyright

Thanks to @TehRamsus for their Seatbelt script, which inspired me to create Modern Seatbelt.
Licensed under MIT License. No code or assets of the inspiring work has been used.
The original author stated they would rework their original work but has not done so since Oct 25th, '21, hence my release.
I messaged @TehRamsus regarding my script on Oct 11th, '21 and yet to receive a response. I’m happy to take down this release upon request.



Not a whole lot to preview. Everything is as said in OP (hover over the question marks).

Please disregard the choppy imgur compression.

I’ve loaded the script but it not really working. Its starting in the log but when i enter a vehicle it doens’t work for some reason.Screenshot_2

Edit: I found this error in F8

1 Like

Error is due to some dependency with their framework GitHub - TFNRP/framework: TFNRP's own framework can just edit the code to remove their job checks and framework dependency.

This issue has been fixed in the latest commit e7572b7.
Please refrain from reporting bugs on this thread, create an issue on GitHub.


Added a config.lua to allow customisation of the default keybind, distance and LEO alert.
Added custom vehicle config, remove seatbelts from seats or even make the script pretend they’re always wearing one for specific vehicles.

There’s now a more varied selection of LEO alerts (previews soon™️):

  • Player ID. Rough example: Player 7 is not wearing a seatbelt in AXZB893.
  • Seat name. Rough example: Rear left passenger is not wearing a seatbelt in DTY178X.
  • Player username. Rough example: 1K-37 Hagen H. is not wearing a seatbelt in BVYIFFX.

Update Now

Simply do git pull if you cloned the repository using Git.
If you did it the manual way, download from here.



  • 62446d3 LEO alert customisation
  • 9fb24a6 customisable vehicle and seat seatbelt exclusions
  • fa43c34 configurable default keybind


  • 23164c9 seatbelts not existing on non-excluded vehicles


  • cc15466 prefer “rear” over “back” for seat names


How does it notify LEO? Is it based on the emergency category, custom vehicles, a command? Specifics would be appreciated.

Please read the OP. Hover over the ? for further information.

sorry I legit just saw that, apparently I didn’t catch it the first time, thanks!

Is there anyway to adjust the sensitivity of the ejection from the car? For example right now I feel as if very light crashes cause the player to fly out of their vehicle, would there be a way to make it so that it would need to be a more intense crash in order for them to be ejected from the car?

If you like unrealism, you can change the hardcoded minimum speed for ejection (which is 50kmh) on this line, by changing the integer 50 to your desired speed.
Note: This does not change the force of inertia or velocity required for an ejection to occur, but only the minimum speed of when it can occur.

Hi @Griefs, good script I like it, one thing im struggling with though is how to change the notification at the top left to say the key I just changed the seatbelt too? Are you able to help with where that would be?